ZFS ZFS can't destroy snapshot

Greetings, I'm using FreeBSD 13.5. I need to snapshot my /home/beastie directory but I made a bad mistake. I created datasets for directories. After that, I decided to create a snapshot for testing but I saw snapshot having "USED 0B". I mounted it and no file is seen. After all, I wanted to delete this snapshot but it gave an error saying "dataset is busy". I even tried "-f" argument but nothing changed. "mount" command doesn't show any mounted snapshot.

Here is my zfs-list:
Code:
NAME                    USED    AVAIL    REFER    MOUNTPOINT
root                    3.69G    2.60G    3.69G    none
root/home                48K        2.60G    24K        /home
root/home/beastie        24K        2.60G    24K        /home/beastie
root/home/beastie@s0    0B        -        24K        -
 
Maybe you mounted your newly created home dataset onto your home containing some files? Like your root/home/beastie dataset is sitting on your actual home? Be careful to not delete your home files accidentally, since destroying the dataset may delete the folder too.
 
Maybe you mounted your newly created home dataset onto your home containing some files? Like your root/home/beastie dataset is sitting on your actual home? Be careful to not delete your home files accidentally, since destroying the dataset may delete the folder too.
Thanks. I found the solution. It looks like I added a hold to snapshot. I need to release it before destroying the snapshot.
 
Back
Top