I'm using FreeNAS 9.3 under VMware ESXi 5.5.
In FreeNAS I have a single ZFS pool (created via the WEB GUI) on a single 5TB VMware virtual disk (/dev/da1).
Now the vmware disk has been expanded to 7TB, but I cannot find the right way to tell FreeNAS to use the extra 2TB.
I have found an old post, but they are not really speaking about FreeNAS.
I tried with the two suggested command (gpart recover + gpart resize), but I'm unable to complete the resize:
[root@sxgraf] /mnt/vol1/dati2# gpart show da1
=> 34 10737438653 da1 GPT (7.0T) [CORRUPT]
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 10733244255 2 freebsd-zfs (5T)
[root@sxgraf] /mnt/vol1/dati2# gpart recover /dev/da1
da1 recovered
[root@sxgraf] /mnt/vol1/dati2# gpart show da1
=> 34 15032401853 da1 GPT (7.0T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 10733244255 2 freebsd-zfs (5T)
10737438687 4294963200 - free - (2T)
Recover seems to be completed correctly. Now the resize part:
[root@sxgraf] /mnt/vol1/dati2# gpart resize -i 2 /dev/da1
gpart: Device busy
What should I do now ?
Thank you in advance.
In FreeNAS I have a single ZFS pool (created via the WEB GUI) on a single 5TB VMware virtual disk (/dev/da1).
Now the vmware disk has been expanded to 7TB, but I cannot find the right way to tell FreeNAS to use the extra 2TB.
I have found an old post, but they are not really speaking about FreeNAS.
I tried with the two suggested command (gpart recover + gpart resize), but I'm unable to complete the resize:
[root@sxgraf] /mnt/vol1/dati2# gpart show da1
=> 34 10737438653 da1 GPT (7.0T) [CORRUPT]
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 10733244255 2 freebsd-zfs (5T)
[root@sxgraf] /mnt/vol1/dati2# gpart recover /dev/da1
da1 recovered
[root@sxgraf] /mnt/vol1/dati2# gpart show da1
=> 34 15032401853 da1 GPT (7.0T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 10733244255 2 freebsd-zfs (5T)
10737438687 4294963200 - free - (2T)
Recover seems to be completed correctly. Now the resize part:
[root@sxgraf] /mnt/vol1/dati2# gpart resize -i 2 /dev/da1
gpart: Device busy
What should I do now ?
Thank you in advance.