[opensuse-kernel] btrfs deleted subvolumes stay as deleted
Hi, I have some deleted subvolumes that don't go away for some months: # btrfs su li -pcuq / ID 256 gen 2116786 cgen 0 parent 5 top level 5 parent_uuid - uuid c4c27528-9e1c-1d42-a05a-edc7a94f220a path tmp ID 258 gen 2116764 cgen 0 parent 5 top level 5 parent_uuid - uuid a31de457-5d70-7947-8b3f-bc438fd2cf9d path opt ID 259 gen 2116736 cgen 0 parent 5 top level 5 parent_uuid - uuid 3a88a849-3eb5-0340-b3ba-97ad58c95f95 path srv ID 260 gen 2116646 cgen 0 parent 5 top level 5 parent_uuid - uuid 523d3778-b8c2-4c4c-bb75-8e8f365f2d94 path var/crash ID 261 gen 2116780 cgen 0 parent 5 top level 5 parent_uuid - uuid 6759643a-33f6-7e44-bfe9-4b854551a0a8 path var/spool ID 262 gen 2116786 cgen 0 parent 5 top level 5 parent_uuid - uuid 608b7fe8-4937-8b4c-80b8-d130f618ee0e path var/log ID 263 gen 2116776 cgen 0 parent 5 top level 5 parent_uuid - uuid 7fe6137d-9e72-c64d-96e7-827a3de6861a path var/tmp ID 268 gen 2116765 cgen 0 parent 5 top level 5 parent_uuid - uuid c12b919c-a322-084b-8a57-2d540b54c262 path .snapshots ID 299 gen 2116736 cgen 365 parent 0 top level 0 parent_uuid - uuid 81245c6c-f47c-a84b-a5f0-0c6f1040c944 path DELETED ID 301 gen 2116736 cgen 405 parent 0 top level 0 parent_uuid - uuid 7ba75712-067a-2041-be4f-13e54c83dcea path DELETED I'm talking about the last two subvolumes. I'm running openSUSE 13.1 (kernel-desktop-3.11.10-21.1.x86_64, btrfsprogs-3.12-4.18.1.x86_64). Disk space is fine and balanced. I guess they are leftover snapshots from a disk full situation with an older distribution, perhaps openSUSE 12.3. There is some leftover in /.snapshots: # ll -R /.snapshots/ /.snapshots/: total 0 drwxr-x--- 1 root root 16 Oct 25 2012 28 drwxr-x--- 1 root root 16 Oct 25 2012 29 /.snapshots/28: total 0 /.snapshots/29: total 0 But I can't remove those directories: # rm -rf /.snapshots/28 rm: cannot remove ?/.snapshots/28?: Directory not empty # rm -rf /.snapshots/29 rm: cannot remove ?/.snapshots/29?: Directory not empty As you can see from the ll -R above, there are no visible files in the directories. How can I get rid of the 2 deleted subvolumes, apart from the backup, delete complete filesystem, restore? Any ideas? TIA. -- Mit freundlichen Gruessen, Andreas Vetter -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
vetter@physik.uni-wuerzburg.de wrote on 27/01/2015 10:54:01:
Hi, I have some deleted subvolumes that don't go away for some months: # btrfs su li -pcuq / ID 256 gen 2116786 cgen 0 parent 5 top level 5 parent_uuid - uuid c4c27528-9e1c-1d42-a05a-edc7a94f220a path tmp ID 258 gen 2116764 cgen 0 parent 5 top level 5 parent_uuid - uuid a31de457-5d70-7947-8b3f-bc438fd2cf9d path opt ID 259 gen 2116736 cgen 0 parent 5 top level 5 parent_uuid - uuid 3a88a849-3eb5-0340-b3ba-97ad58c95f95 path srv ID 260 gen 2116646 cgen 0 parent 5 top level 5 parent_uuid - uuid 523d3778-b8c2-4c4c-bb75-8e8f365f2d94 path var/crash ID 261 gen 2116780 cgen 0 parent 5 top level 5 parent_uuid - uuid 6759643a-33f6-7e44-bfe9-4b854551a0a8 path var/spool ID 262 gen 2116786 cgen 0 parent 5 top level 5 parent_uuid - uuid 608b7fe8-4937-8b4c-80b8-d130f618ee0e path var/log ID 263 gen 2116776 cgen 0 parent 5 top level 5 parent_uuid - uuid 7fe6137d-9e72-c64d-96e7-827a3de6861a path var/tmp ID 268 gen 2116765 cgen 0 parent 5 top level 5 parent_uuid - uuid c12b919c-a322-084b-8a57-2d540b54c262 path .snapshots ID 299 gen 2116736 cgen 365 parent 0 top level 0 parent_uuid - uuid 81245c6c-f47c-a84b-a5f0-0c6f1040c944 path DELETED ID 301 gen 2116736 cgen 405 parent 0 top level 0 parent_uuid - uuid 7ba75712-067a-2041-be4f-13e54c83dcea path DELETED
I'm talking about the last two subvolumes. I'm running openSUSE 13.1 (kernel-desktop-3.11.10-21.1.x86_64, btrfsprogs-3.12-4.18.1.x86_64). Disk space is fine and balanced. I guess they are leftover snapshots from a disk full situation with an older distribution, perhaps openSUSE 12.3. There is some leftover in /.snapshots: # ll -R /.snapshots/ /.snapshots/: total 0 drwxr-x--- 1 root root 16 Oct 25 2012 28 drwxr-x--- 1 root root 16 Oct 25 2012 29
/.snapshots/28: total 0
/.snapshots/29: total 0
But I can't remove those directories: # rm -rf /.snapshots/28 rm: cannot remove ?/.snapshots/28?: Directory not empty # rm -rf /.snapshots/29 rm: cannot remove ?/.snapshots/29?: Directory not empty
As you can see from the ll -R above, there are no visible files in the directories.
How can I get rid of the 2 deleted subvolumes, apart from the backup, delete complete filesystem, restore?
Any ideas? TIA
I even deleted the /.snapshots subvolume, but the two deleted subvolumes still persist. Andreas -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (1)
-
vetter@physik.uni-wuerzburg.de