How to expand a ZFS pool properly after adding larger drives

Status
Not open for further replies.

Letni

Explorer
Joined
Jan 22, 2012
Messages
63
Experts,

Running 8.3.0-x64 (pool was built on 8.0.4) and have a RaidZ1 setup with 5 drives. Replaced the smallest drive (1 TB) with a larger one (2 TB) and did not see space expanded (the rest of the drives started out as a mix of 1.5 or 2 TB drives). After reading the forums, I realize that I should have had the autoexpand flag set to true before the drive swap, so after dropping in and resilvering the 2 TB drive, still do NOT see any expanded capacity.. I correctly have the flag set now, but what process should I use to properly recognize up to the 1.5 TB (since it is still a mixture of larger drives)?

Thanks,

LetnI
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
# zpool online -e poolname ada1p2
# zpool online -e poolname ada2p2
.. and so on...
# zpool export poolname
# zpool import -R /mnt poolname
 

Letni

Explorer
Joined
Jan 22, 2012
Messages
63
Thanks.. Will that work though if the Zpool identifies its members by GTP ID?

Celestial ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/f83df7eb-5855-11e1-8a48-001b21bb7f82 ONLINE 0 0 0
gptid/74fcb684-49d5-11e1-b11e-00241d2efdf8 ONLINE 0 0 0
gptid/77553fda-5419-11e1-adb3-001b21bb7f82 ONLINE 0 0 0
gptid/773e24d4-32aa-11e2-9caf-001b21bb7f82 ONLINE 0 0 0
gptid/f2e25b42-331c-11e2-b524-001b21bb7f82 ONLINE 0 0 0
 

mactsk

Dabbler
Joined
Sep 12, 2012
Messages
24
i found this guide and it worked for me..
but i coluld not export the zpool since one device was busy (uh..) so i rebooted and after that i gained my 2tb of free space :smile:
 
Status
Not open for further replies.
Top