Closed ghost closed 4 years ago
doas zpool create testpool `pwd`/disk0 dedup `pwd`/disk1
mmacy@beastie3 [~/devel/ZoF/module|0:27|20] doas zfs create -V 128m -o dedup=on testpool/testvol
mmacy@beastie3 [~/devel/ZoF/module|0:27|21] doas zpool destroy -f testpool
mmacy@beastie3 [~/devel/ZoF/module|0:27|22] df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p2 22G 13G 7.9G 61% /
devfs 1.0K 1.0K 0B 100% /dev
mmacy@beastie3 [~/devel/ZoF/module|0:27|23] zpool list
no pools available
allocation_class_013_pos fails on FreeBSD after creating a pool with a "dedup" allocation class vdev and a zvol with dedup=on. The vdev cannot be removed in the test, and in fact the pool is indestructible: