Discussion:
ZFS RAIDZ Auto Resize?
Nick
2010-03-27 22:14:19 UTC
Permalink
I thought I had read somewhere that zpools in ZFS will automatically resize (expand) when larger disks are detected to a point where it is feasible to expand. To this end, I have a four-drive zpool using RAIDZ(1). I upgraded all four of the drives from 500GB to 1TB, but haven't seen any expansion of the pool Perhaps I misread, or is there something I need to do to get the zpool to recognize the growth? If I go into the format command and look at the drives, they seem to be showing up to Solaris under the new size, so I don't think the issue is with the new space not being recognized.

Thanks!
-Nick
--
This message posted from opensolaris.org
Richard Elling
2010-03-28 01:11:38 UTC
Permalink
Post by Nick
I thought I had read somewhere that zpools in ZFS will automatically resize (expand) when larger disks are detected to a point where it is feasible to expand. To this end, I have a four-drive zpool using RAIDZ(1). I upgraded all four of the drives from 500GB to 1TB, but haven't seen any expansion of the pool Perhaps I misread, or is there something I need to do to get the zpool to recognize the growth? If I go into the format command and look at the drives, they seem to be showing up to Solaris under the new size, so I don't think the issue is with the new space not being recognized.
Depending on your OS release, the expand may work on next import
or you can set the "autoexpand" property to "on."
-- richard

ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
Las Vegas, April 29-30, 2010 http://nexenta-vegas.eventbrite.com
Nick
2010-03-28 03:36:53 UTC
Permalink
Awesome - thank you to all who responded with both the autoexpand and import/export suggestions! I will try it out!
--
This message posted from opensolaris.org
Loading...