This thread is a follow up to the thread here .
Anyone know why zap destroy || zfs destroy fails on some filesystems like docker, iocage, etc? I created backups with both the core zfs and zap and transported the zap backups [using zap] between PCs.
I later tried "zap destroy" & "zfs destroy (-r) SNAPSHOT", which are meant to destroy all expired snapshots and all existing snapshots/backups respectively but no luck . All [supposedly destroyed] snapshots are still available after restarting the PC.
I have deleted all files in the dirs & unmounted all the filesystems - iocage, docker - yet they all come back mounted after restarting the PC. I also changed the filesystem properties e.g. 'zfs set canmount=off' but no luck.
I need a lot of free space; so I want all those filesystems/mountpoints gone.
Anyone know why zap destroy || zfs destroy fails on some filesystems like docker, iocage, etc? I created backups with both the core zfs and zap and transported the zap backups [using zap] between PCs.
I later tried "zap destroy" & "zfs destroy (-r) SNAPSHOT", which are meant to destroy all expired snapshots and all existing snapshots/backups respectively but no luck . All [supposedly destroyed] snapshots are still available after restarting the PC.
Code:
#zfs list
zroot/docker 20.9G 8.27G 1.10G /usr/docker
zroot/docker/53e834dd0531caf69a79cb0552074b55c0b12d3281d9d176a04280d0678c76c4 346M 8.27G 346M legacy
zroot/iocage/base/11.0-RELEASE/root/lib 5.98M 8.27G 5.98M /iocage/base/11.0-RELEASE/root/lib
I have deleted all files in the dirs & unmounted all the filesystems - iocage, docker - yet they all come back mounted after restarting the PC. I also changed the filesystem properties e.g. 'zfs set canmount=off' but no luck.
I need a lot of free space; so I want all those filesystems/mountpoints gone.