-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete snappshot : Illegal Snapshot. #24
Comments
Looks like the directory /home1/.snapshots/1772 exists but the info.xml file inside not. You can delete the filesystem snapshot with "btrfs subvolume delete /home1/.snapshots/1772/snapshot" (as root). |
Thanks it worked |
Worked perfectly. Tx! Drive was full with no space left, could not write anything on disk. |
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have deleted many snapshots yesterday from non-root btrfs volume using Yast. One was left with number 1772. There are new snapshots created starting with 1,2,3, numbers it looks like snapper lost track about that one snapshot. It is not listed in snapshots anymore and could not be deleted. The directory in .snapshots cannot be deleted too.
Is there any way I can get rid of this snapshot? Using kernel 3.10.4
Here is part of the log file when it happened:
2013-08-24 00:27:27 MIL libsnapper(5146) snapperd.cc(main):270 - Requesting DBus name
2013-08-24 00:27:27 MIL libsnapper(5146) snapperd.cc(main):274 - Loading snapper configs
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(getConfigs):202 - Snapper get-configs
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(getConfigs):203 - libsnapper version 0.1.2
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(reload):114 - loading file /etc/sysconfig/snapper
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:SNAPPER_CONFIGS value:root
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 00:27:27 MIL libsnapper(5146) snapperd.cc(main):278 - Listening for method calls and signals
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(Snapper):54 - Snapper constructor
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(Snapper):55 - libsnapper version 0.1.2
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(Snapper):56 - config_name:root disable_filters:false
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 00:27:27 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:FSTYPE value:btrfs
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(Snapper):74 - subvolume:/home1 filesystem:btrfs
2013-08-24 00:27:27 MIL libsnapper(5146) Snapper.cc(loadIgnorePatterns):124 - number of ignore patterns:8
2013-08-24 00:27:27 ERR libsnapper(5146) Snapshot.cc(read):251 - loading 1772 failed
2013-08-24 00:27:27 MIL libsnapper(5146) Snapshot.cc(read):257 - found 4 snapshots
2013-08-24 00:27:27 ERR libsnapper(5146) FileUtils.cc(SDir):75 - open failed path:/home1/.snapshots/3416 (No such file or directory)
2013-08-24 00:27:58 MIL libsnapper(5146) Snapper.cc(~Snapper):85 - Snapper destructor
2013-08-24 00:28:04 MIL libsnapper(5146) Snapper.cc(Snapper):54 - Snapper constructor
2013-08-24 00:28:04 MIL libsnapper(5146) Snapper.cc(Snapper):55 - libsnapper version 0.1.2
2013-08-24 00:28:04 MIL libsnapper(5146) Snapper.cc(Snapper):56 - config_name:root disable_filters:false
2013-08-24 00:28:04 MIL libsnapper(5146) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 00:28:04 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 00:28:04 MIL libsnapper(5146) AsciiFile.cc(getValue):208 - key:FSTYPE value:btrfs
2013-08-24 00:28:04 MIL libsnapper(5146) Snapper.cc(Snapper):74 - subvolume:/home1 filesystem:btrfs
2013-08-24 00:28:04 MIL libsnapper(5146) Snapper.cc(loadIgnorePatterns):124 - number of ignore patterns:8
2013-08-24 00:28:04 ERR libsnapper(5146) Snapshot.cc(read):251 - loading 1772 failed
2013-08-24 00:28:04 MIL libsnapper(5146) Snapshot.cc(read):257 - found 1 snapshots
2013-08-24 00:28:35 MIL libsnapper(5146) Snapper.cc(~Snapper):85 - Snapper destructor
2013-08-24 00:29:04 MIL libsnapper(5146) snapperd.cc(main):282 - Exiting
2013-08-24 01:15:06 MIL libsnapper(8342) snapperd.cc(main):270 - Requesting DBus name
2013-08-24 01:15:06 MIL libsnapper(8342) snapperd.cc(main):274 - Loading snapper configs
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(getConfigs):202 - Snapper get-configs
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(getConfigs):203 - libsnapper version 0.1.2
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(reload):114 - loading file /etc/sysconfig/snapper
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(getValue):208 - key:SNAPPER_CONFIGS value:root
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 01:15:06 MIL libsnapper(8342) snapperd.cc(main):278 - Listening for method calls and signals
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(Snapper):54 - Snapper constructor
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(Snapper):55 - libsnapper version 0.1.2
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(Snapper):56 - config_name:root disable_filters:false
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 01:15:06 MIL libsnapper(8342) AsciiFile.cc(getValue):208 - key:FSTYPE value:btrfs
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(Snapper):74 - subvolume:/home1 filesystem:btrfs
2013-08-24 01:15:06 MIL libsnapper(8342) Snapper.cc(loadIgnorePatterns):124 - number of ignore patterns:8
2013-08-24 01:15:06 ERR libsnapper(8342) Snapshot.cc(read):251 - loading 1772 failed
2013-08-24 01:15:06 MIL libsnapper(8342) Snapshot.cc(read):257 - found 1 snapshots
2013-08-24 01:15:06 ERR libsnapper(8342) FileUtils.cc(SDir):75 - open failed path:/home1/.snapshots/1 (No such file or directory)
2013-08-24 01:15:37 MIL libsnapper(8342) Snapper.cc(~Snapper):85 - Snapper destructor
2013-08-24 01:16:09 MIL libsnapper(8342) snapperd.cc(main):282 - Exiting
2013-08-24 01:47:15 MIL libsnapper(9087) snapperd.cc(main):270 - Requesting DBus name
2013-08-24 01:47:15 MIL libsnapper(9087) snapperd.cc(main):274 - Loading snapper configs
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(getConfigs):202 - Snapper get-configs
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(getConfigs):203 - libsnapper version 0.1.2
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(reload):114 - loading file /etc/sysconfig/snapper
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(getValue):208 - key:SNAPPER_CONFIGS value:root
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 01:47:15 MIL libsnapper(9087) snapperd.cc(main):278 - Listening for method calls and signals
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(Snapper):54 - Snapper constructor
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(Snapper):55 - libsnapper version 0.1.2
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(Snapper):56 - config_name:root disable_filters:false
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
2013-08-24 01:47:15 MIL libsnapper(9087) AsciiFile.cc(getValue):208 - key:FSTYPE value:btrfs
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(Snapper):74 - subvolume:/home1 filesystem:btrfs
2013-08-24 01:47:15 MIL libsnapper(9087) Snapper.cc(loadIgnorePatterns):124 - number of ignore patterns:8
2013-08-24 01:47:15 ERR libsnapper(9087) Snapshot.cc(read):251 - loading 1772 failed
2013-08-24 01:47:16 MIL libsnapper(9087) Snapshot.cc(read):257 - found 2 snapshots
2013-08-24 01:47:16 ERR libsnapper(9087) FileUtils.cc(SDir):75 - open failed path:/home1/.snapshots/2 (No such file or directory)
2013-08-24 01:47:47 MIL libsnapper(9087) Snapper.cc(~Snapper):85 - Snapper destructor
2013-08-24 01:47:55 MIL libsnapper(9087) Snapper.cc(Snapper):54 - Snapper constructor
2013-08-24 01:47:55 MIL libsnapper(9087) Snapper.cc(Snapper):55 - libsnapper version 0.1.2
2013-08-24 01:47:55 MIL libsnapper(9087) Snapper.cc(Snapper):56 - config_name:root disable_filters:false
2013-08-24 01:47:55 MIL libsnapper(9087) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root
2013-08-24 01:47:55 MIL libsnapper(9087) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/home1
The text was updated successfully, but these errors were encountered: