shaulliv
Cadet
- Joined
- Jun 5, 2011
- Messages
- 6
Hi, I'm trying to "prototype" an an FreeNAS system on virtual box before I actually make the switch on my production server. One of the things I want to be able to do is expand an raidz2, by replacing smaller drives with bigger ones.
My FreeNAS virtual box setup is an 64 bit VM with 6 GB RAM and 4 8GB virtual drives and an 16GB virtual drive for replacement.
I found this post concerning this issue: http://forums.freenas.org/showthread.php?194-Grow-ZFS-Pool.
One of the posts say:
My pool was named storage.
I did these steps:
1.
after the pool resilvered successfully I did:
2.
the device detached successfully.
3. I could not find how or where to enable auto resize
4.
5.
At this point the pool should be bigger but it's not, or at least the GUI doesn't shows it.
Not sure how to proceed.
any help will be appreciated.
My FreeNAS virtual box setup is an 64 bit VM with 6 GB RAM and 4 8GB virtual drives and an 16GB virtual drive for replacement.
I found this post concerning this issue: http://forums.freenas.org/showthread.php?194-Grow-ZFS-Pool.
One of the posts say:
I tried to follow these instructions the best I can but without success.your other option is to swap out the disks, one by one in the pool. say you have a pool of 4 1TB drives and want to move to 4 2TB drives. use zpool replace <pool> <deviceOld> <deviceNew>, let the pool resilver, then do it for the next and the next until they are all done. then enable auto-resize attribute, export and import the array and you'll have all your new space.
My pool was named storage.
I did these steps:
1.
Code:
zpool replace storage <old device 1 8GB> <new device 16GB>
after the pool resilvered successfully I did:
2.
Code:
zpool detach storage <old device 1 8GB>
the device detached successfully.
3. I could not find how or where to enable auto resize
4.
Code:
zpool export storage
5.
Code:
zpool import storage
At this point the pool should be bigger but it's not, or at least the GUI doesn't shows it.
Not sure how to proceed.
any help will be appreciated.