Can't delete snapshots that left after full recovery, need advice
Dear all.
The story is here: http://talk.maemo.org/showthread.php?t=92709 My post is number 8.
Our problem is we can not delete snapshots as it was suggested: https://together.jolla.com/question/14633/bug-factory-reset-no-storage-left/
What we did:
[root@localhost nemo]#
mount -o subvolid=0 /dev/mmcblk0p28 /mnt/
[root@localhost nemo]# ls -la /mnt/
total 4
drwxr-xr-x 1 root root 260 Feb 9 13:40 .
drwxr-xr-x 1 root root 718 Feb 14 11:03 ..
drwxr-xr-x 1 root root 718 Feb 14 11:03 @
drwxr-xr-x 1 root root 768 Feb 8 13:42 @_old
drwxr-xr-x 1 root root 8 Nov 20 04:55 @home
drwxr-xr-x 1 root root 0 Nov 20 04:49 @swap
drwxr-xr-x 1 root root 610 Nov 20 04:55 factory-@
drwxr-xr-x 1 root root 8 Nov 20 04:55 factory-@home
drwxr-xr-x 1 root root 766 Feb 8 21:50 rec-20140209_093232_@
drwxr-xr-x 1 root root 8 Nov 20 04:55 rec-20140209_093232_@home
drwxr-xr-x 1 root root 754 Feb 9 13:36 rec-20140209_094009_@
drwxr-xr-x 1 root root 8 Nov 20 04:55 rec-20140209_094009_@home
[root@localhost nemo]#
[root@localhost nemo]# btrfs subvolume delete /mnt/rec-20140209_093232_@
Delete subvolume '/mnt/rec-20140209_093232_@'
ERROR: cannot delete '/mnt/rec-20140209_093232_@' - Directory not empty
[root@localhost nemo]#
As you can see we tried to delete snapshot but got error. We also found that that inside of the "rec-20140209_093232_@" directory there is another one and it is called "factory-@". That is why "btrfs subvolume delete" refused to delete it and we were also advised do not delete "factory-@".
What should we do? Is "factory-@" inside of the "rec-20140209_093232_@" the same as "drwxr-xr-x 1 root root 610 Nov 20 04:55 factory-@"?
Thanks in advance.