Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@thinkpad:/mnt# zfs list -t all
- NAME USED AVAIL REFER MOUNTPOINT
- rpool 201K 97.9G 31K /mnt/rpool
- rpool/root 62K 97.9G 32K /mnt
- rpool/root/var 30K 97.9G 30K /mnt/var
- root@thinkpad:/mnt# zfs snapshot -r rpool/root@testsnap1
- root@thinkpad:/mnt# cd var/.zfs/snapshot/testsnap1/
- root@thinkpad:/mnt/var/.zfs/snapshot/testsnap1# cd -
- /mnt
- root@thinkpad:/mnt# zfs destroy -v -r rpool/root@testsnap1
- will destroy rpool/root@testsnap1
- will destroy rpool/root/var@testsnap1
- will reclaim 0
- root@thinkpad:/mnt# zfs list -t all
- NAME USED AVAIL REFER MOUNTPOINT
- rpool 207K 97.9G 31K /mnt/rpool
- rpool/root 62K 97.9G 32K /mnt
- rpool/root/var 30K 97.9G 30K /mnt/var
- rpool/root/var@testsnap1 0 - 30K -
- root@thinkpad:/mnt# zfs destroy -v -r rpool/root@testsnap1
- will destroy rpool/root/var@testsnap1
- will reclaim 0
Add Comment
Please, Sign In to add comment