[yast-devel] Snapper: Missing directory "/.snapshots" makes snapper fail
Hi, i just installed openSUSE 12.1 (x86_64). I tried to use Snapper but using the Yast2 plugin failed as well as "sudo snapper create". var/log/snapper.log told me: libsnapper(3529) Snapshot.cc(nextNumber):362 - mkdir failed errno:2 (No such file or directory) Using strace i found that snapper needs the directory "/.snapshots". After creating this directory, everything seems to be fine, i can now create snapshots, and Yast automatically creates them. Perhaps snapper could auto-magically create the directory if needed? Greetings, -- Marcel Treis E-Mail: marceltreis@gmail.com -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 03/27/2012 02:21 AM, Marcel Treis wrote:
Hi,
i just installed openSUSE 12.1 (x86_64). I tried to use Snapper but using the Yast2 plugin failed as well as "sudo snapper create". var/log/snapper.log told me: libsnapper(3529) Snapshot.cc(nextNumber):362 - mkdir failed errno:2 (No such file or directory) Using strace i found that snapper needs the directory "/.snapshots". After creating this directory, everything seems to be fine, i can now create snapshots, and Yast automatically creates them. Perhaps snapper could auto-magically create the directory if needed?
Hi Marcel, Would you mind reporting a bug in Bugzilla [#1]? It would be also nice to add there which version of snapper do you use and how to reproduce the bug. Thanks in advance Lukas #1 https://bugzilla.novell.com/enter_bug.cgi -- Lukas Ocilka, Appliances Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Tue, Mar 27, 2012 at 02:21:12AM +0200, Marcel Treis wrote:
Hi,
i just installed openSUSE 12.1 (x86_64). I tried to use Snapper but using the Yast2 plugin failed as well as "sudo snapper create". var/log/snapper.log told me: libsnapper(3529) Snapshot.cc(nextNumber):362 - mkdir failed errno:2 (No such file or directory) Using strace i found that snapper needs the directory "/.snapshots". After creating this directory, everything seems to be fine, i can now create snapshots, and Yast automatically creates them. Perhaps snapper could auto-magically create the directory if needed?
Snapper creates that directory (as a subvolume) when you call
"snapper create-config ..." as YaST does during
installation. Perhaps the complete snapper.log shows why that
failed.
Regards,
Arvin
--
Arvin Schnell,
participants (3)
-
Arvin Schnell
-
Lukas Ocilka
-
Marcel Treis