[zfs-discuss] Resizing lun.

Eric Schrock
2007-01-10T16:26:47Z

Tan -

ZFS is designed to grow devices, but due to a bug in ZFS as well as a
larger design flaw when dealing with labelled disks, this will not
happen.  The changes required to make this work were recently approved
as part of:

PSARC/2006/373  Dynamic LUN Expansion

This involves the driver catches the expansion, generating a sysevent,
relabelling the disk, and then having ZFS grow the device.  I would
expect the fixes to be in Nevada in the not too distant future.

- Eric

On Wed, Jan 03, 2007 at 06:06:28PM +0800, Tan Shao Yi
wrote:
> Hi,
>
> There was an old thread on whether ZFS can handle resized LUNs
> (specifically from a NetApp filer), but somehow I can''t seem to be
able to
> access the newly made-available space.
>
> In my setup, I have created a zpool from a single Netapp-exported LUN, and
> a single zfs in this zpool.
>
> After resizing the LUN on the Netapp, "format" reveals the new
size of the
> LUN. However, I can''t seem to be able to get zfs to be able to
detect this
> new space.
>
> May I know if there is something I missed? I had the impression that zfs
> was able to adapt to a resize.
>
> Thanking in advance.
>
> Cheers,
> Tan Shao Yi
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org