[root@server /home/user]# gpart show
=> 34 125829046 vtbd0 GPT (60G)
34 512 1 freebsd-boot (256K)
546 2097152 2 freebsd-swap (1.0G)
2097698 92274109 3 freebsd-zfs (44G)
94371807 31457273 - free - (15G)
[root@server /home/user]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
pool0 43.8G 13.8G 30.0G - - 36% 31% 1.00x ONLINE -
[root@server /home/user]# zpool status
pool: pool0
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
pool0 ONLINE 0 0 0
gpt/disk0 ONLINE 0 0 0
errors: No known data errors
[root@server /home/user]# zpool online -e pool0 vtbd0
cannot expand vtbd0: no such device in pool
[root@server /home/user]# zpool online -e pool0 /dev/vtbd0
cannot expand /dev/vtbd0: no such device in pool
[root@server /home/user]# zpool online -e pool0 gpt/disk0
[root@server /home/user]# gpart show
=> 34 125829046 vtbd0 GPT (60G)
34 512 1 freebsd-boot (256K)
546 2097152 2 freebsd-swap (1.0G)
2097698 92274109 3 freebsd-zfs (44G)
94371807 31457273 - free - (15G)
[root@server /home/user]#