With FreeBSD as a guest OS in VMware, where the installation of FreeBSD is done on ZFS (also booting from ZFS), increasing the size of the zpool is possible in 2 ways:
- Add a new disk in VMware, and add the new drive with
But I 'd rather not add a disk, but increase the size of the disk in VMware, and then let ZFS do the magic. But, I can't get it to work..
There is the zpool autoexpand property (that defaults to 'off', but I've set it to 'on'), but ZFS is not 'autoexpand-ing' at all.
How does this work? I can't find any clues in the man pages.
- Add a new disk in VMware, and add the new drive with
zpool add zroot da1
for example.But I 'd rather not add a disk, but increase the size of the disk in VMware, and then let ZFS do the magic. But, I can't get it to work..
There is the zpool autoexpand property (that defaults to 'off', but I've set it to 'on'), but ZFS is not 'autoexpand-ing' at all.
How does this work? I can't find any clues in the man pages.