A few months ago, I rolled back to a previous btrfs snapshot using Snapper. Now I am constantly running out of space, no matter how many packages I delete and I’m wondering if that is the reason. The snapshot list looks like this:

$ sudo snapper -c root list
    # | Type   | Pre # | Date                             | User | Cleanup | Description            | Userdata
------+--------+-------+----------------------------------+------+---------+------------------------+---------
   0  | single |       |                                  | root |         | current                |         
1137+ | single |       | Thu 31 Aug 2023 07:55:47 PM CEST | root |         | writable copy of #1115 |         

Does snapshot 1137 contain all the changes made since August? I so, can I somehow delete it?

EDIT Changed “snapshot 0” to “snapshot 1137”

  • federalreverse-old@feddit.de
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    10 months ago

    You can find out:

    snapper --iso list should include a column “Used space” in its output.

    snapper delete --sync *ID* deletes a snapshot and frees up space.

    Nb: I am not a Snapper user personally. The link above takes you to the official docs.

    • navordar@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      I don’t have the “Used space” column, probably because I have quota disabled. I managed to find out using btdu, that the snapshot 1137 takes ~8.3 GiB.

      I cannot delete it using that command, because it is marked with “+” which means it is the “btrfs default subvolume”, according to snapper manual. I wonder if there is still a way to get rid of it.