inverse
1
Trying to delete a timeshift snapshot and getting the following output
malachi@puslar-work ~ $ sudo timeshift --delete --snapshot '2022-11-07_07-57-20'
Mounted '/dev/dm-0 (nvme0n1p2)' at '/run/timeshift/36397/backup'
------------------------------------------------------------------------------
Removing snapshot: 2022-11-07_07-57-20
Deleting subvolume: @ (Id:4816)
E: ERROR: Could not destroy subvolume/snapshot: Directory not empty
E: Failed to delete snapshot subvolume: '/run/timeshift/36397/backup/timeshift-btrfs/snapshots/2022-11-07_07-57-20/@'
E: Failed to remove snapshot: 2022-11-07_07-57-20
------------------------------------------------------------------------------
I’ve seen other posts explaining removing the subvolumes manually but not having any luck with that either.
sudo btrfs subvolume delete /run/timeshift/36397/backup/timeshift-btrfs/snapshots/2022-11-07_07-57-20/@
But getting ERROR: Could not statfs: No such file or directory
2000
2
Just delete with a regular sudo rm
…
sudo rm -r /run/timeshift/36397/backup/timeshift-btrfs/snapshots/2022-11-07_07-57-20
The snapshot you’re trying to delete is probably missing some data (the @ dir) and btrfs subvolume delete
doesn’t work in this situation.
2 Likes
inverse
3
Thanks
What’s interesting is when I try rm
that directory it says there is no such file or directory.
I’m guessing I need to mount something first 
Update
Okays = I ran the timeshift --delete
command and it mounted it and I could remove.
1 Like
system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.