[Bug 786422] New: .snapshots is not a btrfs snapshot in snapper log
https://bugzilla.novell.com/show_bug.cgi?id=786422 https://bugzilla.novell.com/show_bug.cgi?id=786422#c0 Summary: .snapshots is not a btrfs snapshot in snapper log Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: support@microtechniques.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 After a recent upgrade to snapper 0.1.0.4 I can no longer access any of my snapshots. I am getting .snapshots is not a btrfs snapshot error in the log. The snapshots had been working, and I did have 20+ snapshots in the directory. I am running kernel 3.6.2 snapper list gives an empty list and snapper create gives an IO error. I am not getting the error on another similarly configured system - the major difference being that the system that is failing has multiple drives in the btrfs filesystem. -- extract from log -- 2012-10-23 15:51:12 MIL libsnapper(4081) snapperd.cc(main):270 - Requesting DBus name 2012-10-23 15:51:12 MIL libsnapper(4081) snapperd.cc(main):274 - Loading snapper configs 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(getConfigs):192 - Snapper get-configs 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(getConfigs):193 - libsnapper version 0.1.0 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(reload):114 - loading file /etc/sysconfig/snapper 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(getValue):208 - key:SNAPPER_CONFIGS value:root 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/VMs 2012-10-23 15:51:12 MIL libsnapper(4081) snapperd.cc(main):278 - Listening for method calls and signals 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(Snapper):54 - Snapper constructor 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(Snapper):55 - libsnapper version 0.1.0 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(Snapper):56 - config_name:root disable_filters:false 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(reload):114 - loading file /etc/snapper/configs/root 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(getValue):208 - key:SUBVOLUME value:/VMs 2012-10-23 15:51:12 MIL libsnapper(4081) AsciiFile.cc(getValue):208 - key:FSTYPE value:btrfs 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(Snapper):74 - subvolume:/VMs filesystem:btrfs 2012-10-23 15:51:12 MIL libsnapper(4081) Snapper.cc(loadIgnorePatterns):114 - number of ignore patterns:6 2012-10-23 15:51:12 ERR libsnapper(4081) Filesystem.cc(openInfosDir):286 - .snapshots is not a btrfs snapshot 2012-10-23 15:51:12 ERR libsnapper(4081) Snapshot.cc(initialize):320 - reading failed 2012-10-23 15:51:43 MIL libsnapper(4081) Snapper.cc(~Snapper):85 - Snapper destructor 2012-10-23 15:52:12 MIL libsnapper(4081) snapperd.cc(main):282 - Exiting Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=786422 https://bugzilla.novell.com/show_bug.cgi?id=786422#c Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aschnell@suse.com AssignedTo|bnc-team-screening@forge.pr |aschnell@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=786422 https://bugzilla.novell.com/show_bug.cgi?id=786422#c1 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |support@microtechniques.com --- Comment #1 from Arvin Schnell <aschnell@suse.com> 2012-10-24 10:54:36 UTC --- snapper always created a subvolume .snapshots during setup. With the new version this is always checked. I suppose you have somehow setup the config manually and did not create a subvolume but simply a directory. You can check that with the btrfs command. You should be able to remedy with these steps: - rename .snapshots to .snapshots-tmp - create a subvolume (btrfs subvolume create /.snapshots) - move content from .snapshots-tmp to .snapshots -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=786422 https://bugzilla.novell.com/show_bug.cgi?id=786422#c2 Don Hughes <support@microtechniques.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|support@microtechniques.com | Resolution| |INVALID --- Comment #2 from Don Hughes <support@microtechniques.com> 2012-10-24 15:10:50 UTC --- No, everything was setup through snapper, and, as mentioned, has been working successfully for some time. However, I did notice that all of the info.xml files are missing from the .snapshots. I suspect that this may have happened during an unintended cfengine tidy operation while we were testing a cfengine V2->V3 upgrade. I am going to close this for now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com