So in a ZFS boot disk configuration (rpool) in a running environment, it's
not possible?

On Fri, Feb 19, 2010 at 9:25 AM, <casper....@sun.com> wrote:

>
>
> >Is it possible to grow a ZFS volume on a SPARC system with a SMI/VTOC
> label
> >without losing data as the OS is built on this volume?
>
>
> Sure as long as the new partition starts on the same block and is longer.
>
> It was a bit more difficult with UFS but for zfs it is very simple.
>
> I had a few systems with two ufs root slices using live upgrade:
>
>        <slice 1><slice 2><swap>
>
> First I booted from <slice 2>
> ludelete "slice1"
> zpool create rpool "slice1"
> lucreate -p rpool
> luactivate slice1
> init 6
> from the zfs root:
> ludelete slice2
> format:
>         remove slice2;
>         grow slice1 to incorporate slice2
>         label
>
> At that time I needed to reboot to get the new device size reflected in
> zpool list; today that is no longer needed
>
> Casper
>
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to