On Thu, Aug 31, 2006 at 09:54:25AM -0700, Matthew Ahrens wrote: > Theo Bongers wrote: > >Please can anyone tell me how to handle with a LUN that is expanded (on a > >RAID array or SAN storage)? and grow the filesystem without data-loss? > >How does ZFS looks at the volume. In other words how can I grow the > >filesystem after LUN expansion. > >Do I need to format/type/autoconfigre/label on the specific device? > > I believe that if you have given ZFS the whole disk, then it will > automatically detect that the LUN has grown when it opens the device. > You can cause this to happen by rebooting the machine, or running 'zpool > export <poolname>; zpool import <poolname>'.
I think a 'zpool online <device>' should also work, since it triggers a vdev_reopen(). But this requires that the underlying driver correctly detects the LUN expansion and reflects this in the ldi_get_size() call. I'm not sure if all drivers properly handle this case. - Eric -- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss