08.03.2016 14:43, Vojtěch Zeisek пишет:
Dne úterý 8. března 2016 13:54:15 CET, Andrei Borzenkov napsal(a):
08.03.2016 12:29, Vojtěch Zeisek пишет:
I have installed / with Btrfs. It works well. I'm just confused about one snapshot. I can normally delete snapshots created by zypper, manually or so on, but there remains snapshot 1 which I can't delete:
This is your root where all your system lives.
OK it'd make sense then. ;-) But what is the difference between 0 and 1?
I do not really know, I did not study it in depth. But after installation it creates initial snapshot and sets as current root. When you use snapper to revert to previous snapshot, your current root is set to this snapshot.
# snapper list Type | # | Pre # | Date | User | Cleanup | Description | Userdata single | 0 | | | root | | current | single | 1 | | Mon Dec 21 14:08:36 2015 | root | | first root filesystem | # snapper delete 1 Deleting snapshot failed. # dmesg | grep BTRFS | tail BTRFS error (device sdc2): deleting default subvolume 259 is not allowed # btrfs filesystem show Label: 'system' uuid: b52578d1-f6c2-44b3-a0e3-af19016fb036 Total devices 1 FS bytes used 26.36GiB devid 1 size 439.00GiB used 29.07GiB path /dev/sdc2 btrfs-progs v4.1.2+20151002 System if Leap 42.1 (newly installed, no upgrade). Is this bug or feature? I thought I can delete any snapshot except 0.