Hi, I rollbacked to older snapshot, so snapper ls output: hlknb:/.snapshots # snapper ls # | Type | Pre # | Date | User | Cleanup | Description | Userdata ------+--------+-------+---------------------------------+------+---------+------------------------+-------------- 0 | single | | | root | | current | 710 | single | | Št 28. september 2017, 21:58:34 | root | number | | 4785* | single | | Po 21. august 2023, 22:31:31 | root | | writable copy of #4778 | 4786 | pre | | Ut 22. august 2023, 16:47:51 | root | number | zypp(zypper) | important=yes 4787 | post | 4786 | Ut 22. august 2023, 16:52:34 | root | number | | important=yes $ btrfs sub get-default / ID 141069 gen 3721757 top level 258 path @/.snapshots/4785/snapshot So I would like to delete snapshot 710, but snapper delete 710 says: Deleting snapshot failed. Am I doing something wrong? thanks, m.
On Mon, Sep 4, 2023 at 11:48 AM Michal Hlavac <miso@hlavki.eu> wrote:
Hi,
I rollbacked to older snapshot, so snapper ls output:
hlknb:/.snapshots # snapper ls
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
------+--------+-------+---------------------------------+------+---------+------------------------+--------------
0 | single | | | root | | current |
710 | single | | Št 28. september 2017, 21:58:34 | root | number | |
4785* | single | | Po 21. august 2023, 22:31:31 | root | | writable copy of #4778 |
4786 | pre | | Ut 22. august 2023, 16:47:51 | root | number | zypp(zypper) | important=yes
4787 | post | 4786 | Ut 22. august 2023, 16:52:34 | root | number | | important=yes
$ btrfs sub get-default / ID 141069 gen 3721757 top level 258 path @/.snapshots/4785/snapshot
So I would like to delete snapshot 710, but snapper delete 710 says: Deleting snapshot failed.
Show full output of btrfs subvolume list / cat /etc/fstab ls -l /.snapshots/710
btrfs subvolume list / https://paste.opensuse.org/pastes/5953ca42c29d[1] cat /etc/fstab https://paste.opensuse.org/pastes/3acaa1c1fc0e[2] sudo ls -l /.snapshots/710 total 4 -rw------- 1 root root 147 aug 21 08:27 info.xml drwxr-xr-x 1 root root 174 máj 11 06:43 snapshot thanks, m. On pondelok 4. septembra 2023 10:51:59 CEST Andrei Borzenkov wrote:
On Mon, Sep 4, 2023 at 11:48 AM Michal Hlavac <miso@hlavki.eu> wrote:
Hi,
I rollbacked to older snapshot, so snapper ls output:
hlknb:/.snapshots # snapper ls
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
------+--------+-------+---------------------------------+------+---------+------------------------+--------------
0 | single | | | root | | current |
710 | single | | Št 28. september 2017, 21:58:34 | root | number | |
4785* | single | | Po 21. august 2023, 22:31:31 | root | | writable copy of #4778 |
4786 | pre | | Ut 22. august 2023, 16:47:51 | root | number | zypp(zypper) | important=yes
4787 | post | 4786 | Ut 22. august 2023, 16:52:34 | root | number | | important=yes
$ btrfs sub get-default / ID 141069 gen 3721757 top level 258 path @/.snapshots/4785/snapshot
So I would like to delete snapshot 710, but snapper delete 710 says: Deleting snapshot failed.
Show full output of
btrfs subvolume list / cat /etc/fstab ls -l /.snapshots/710
-------- [1] https://paste.opensuse.org/pastes/5953ca42c29d [2] https://paste.opensuse.org/pastes/3acaa1c1fc0e
On Mon, Sep 4, 2023 at 12:57 PM Michal Hlavac <miso@hlavki.eu> wrote:
btrfs subvolume list /
ID 140843 gen 3721755 top level 14320 path @/.snapshots/710/snapshot/var/lib/docker/btrfs/subvolumes/ef32388c964a86b6f5155b340cf5f25b3e3d6008f04ce51c22e6fd6c7e3dd931 You need to delete all nested subvolumes before you can delete the subvolume itself.
great, it works now, thank you very much m. On pondelok 4. septembra 2023 12:49:51 CEST Andrei Borzenkov wrote:
On Mon, Sep 4, 2023 at 12:57 PM Michal Hlavac <miso@hlavki.eu> wrote:
btrfs subvolume list /
ID 140843 gen 3721755 top level 14320 path @/.snapshots/710/snapshot/var/lib/docker/btrfs/subvolumes/ef32388c964a86b6f5155b340cf5f25b3e3d6008f04ce51c22e6fd6c7e3dd931
You need to delete all nested subvolumes before you can delete the subvolume itself.
-- [ michal hlavac ] [ miso@hlavki.eu ] [ tel: +420 773 205 794 ]
participants (2)
-
Andrei Borzenkov
-
Michal Hlavac