Solved Shrinking a ZFS disk in VMware

Hello folks, we're using FreeBSD 12.0 and was just wondering what the procedure is to shrink the ZFS disk - do we simply shrink it in VMware then is it:

gpart recover
gpart resize -i 3 disk

Thanks for any help
 
Of course, I should've realised that but I think because I'm dealing with a virtual environment and I wouldn't be removing physical drives then it never occurred to me, thanks anyway.
 
I don't recommend shrinking any filesystem actually. Growing is usually not an issue. For this reason I typically set up my VMs with a really small disk. Growing them is easy (for both UFS and ZFS) and generally well supported.
 
Back
Top