translator
1,021
edits
(BoxWarning) |
(how to delet them) |
||
Line 180: | Line 180: | ||
<!--T:41--> | <!--T:41--> | ||
Deleting a snapshot does not delete any files that are actually in use by other snapshots or the subvolume they where taken from. To free some space, Btrfs has to test for every file in the snapshot, whether it is in use, or it is not. If it is not, the space of this file/version will become free.(This is greatly simplified) Therefore it is '''costly to remove snapshots'''. And Btrfs will do this work in the background. You may notice this, because when you delete a snapshot there will be '''no immediate gain in free space'''. After a while you will notice that some space has become free. | Deleting a snapshot does not delete any files that are actually in use by other snapshots or the subvolume they where taken from. To free some space, Btrfs has to test for every file in the snapshot, whether it is in use, or it is not. If it is not, the space of this file/version will become free.(This is greatly simplified) Therefore it is '''costly to remove snapshots'''. And Btrfs will do this work in the background. You may notice this, because when you delete a snapshot there will be '''no immediate gain in free space'''. After a while you will notice that some space has become free. | ||
It's best to delete snapshots using the tool that created them. | |||
* If you used Snapper to create them, delete them using Snapper. | |||
* If you used Timeshift to create them, delete them using Timeshift. | |||
* If you created them manually, delete them manually. | |||
<!--T:42--> | <!--T:42--> |