On Wed, Jul 29, 2009 at 03:51:22AM -0700, Jan wrote:
> Hi all,
> I need to know if it is possible to expand the capacity of a zpool
> without loss of data by growing the LUN (2TB) presented from an HP EVA
> to a Solaris 10 host.

Yes.

> I know that there is a possible way in Solaris Express Community
> Edition, b117 with the autoexpand property. But I still work with
> Solaris 10 U7. Besides, when will this feature be integrated in
> Solaris 10?

Not sure.

> Is there a workaround? I have checked it out with format tool -
> without effects.

What did you try?  

Since you're larger than 1T, you certainly have an EFI label.  What you
have to do is destroy the existing EFI label, then have format create a
new one for the larger LUN.  Finally, create slice 0 as the size of the
entire (now larger) disk.

There are four ZFS labels inside the EFI data slice.  Two at front, two
at end.  After enlarging, it probably won't be able to find the end two,
but it should import just fine (and will then write new labels at the
end).

As always, if you haven't done this before, you'll want to test it and
make a backup before trying on live data.

-- 
Darren
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to