This post is more than 5 years old

181 Posts

1206

January 5th, 2009 20:00

Need to take a backup of SYS/Kernel

Hi,
I have All int he save set and i need to take a full machine backup . And most of the save ses have been taken where as getting a problem in /sys/kernel/debug . The error is
1 retry attempted
(interrupted), exiting
aborted due to inactivity
: Warning - `/sys/kernel/debug/usbmon/6s' size grew during save
: Expected 0 bytes for `/sys/kernel/debug/usbmon/6s', got 32 bytes


Anyone just let me know how to overcome this problem , I have given in the directive itself for skipping , but still it is not skipping the /sys folder . Kindly let me know the syntax for skipping the entire /sys folder . Let me check whether i give given a correct syntax or not .



Rajesh

2 Intern

 • 

724 Posts

January 6th, 2009 04:00

I think you can try both:

<< /sys >>
skip: *.*

and

<< / >>
skip: sys

Are you sure you won't need this folder to do a full restore?

181 Posts

January 6th, 2009 20:00

Got it , but it is just typing mistake i entered as <> in the directives . Anyhow thanks a lot .
But
<>
+skip:"*" , also doesnt work , I tried in all the ways . And the another syntax works
<>
+skip:sys .
This syntax works but getting warning not the error . The warning i attached in my previous post .



Rajesh

181 Posts

January 6th, 2009 20:00

I tried the
<
+skip:*.* , option, but not working .
But the second one works , thanks , but still getting warning not the error , It says Sucessfull save sets but getting warning . The warning is
: Warning - `/sys/kernel/kexec_crash_loaded' size shrunk during save
: Expected 4096 bytes for `/sys/kernel/kexec_crash_loaded', got 2 bytes
: Warning - `/sys/kernel/kexec_loaded' size shrunk during save
: Expected 4096 bytes for `/sys/kernel/kexec_loaded', got 2 bytes
: Warning - `/sys/kernel/uevent_helper' size shrunk during save
: Expected 4096 bytes for `/sys/kernel/uevent_helper', got 1 bytes
: Warning - `/sys/kernel/uevent_seqnum' size shrunk during save
: Expected 4096 bytes for `/sys/kernel/uevent_seqnum', got 5 bytes




Rajesh

443 Posts

January 6th, 2009 20:00

Just noticed that you mentioned the skip directive as < whereas it should be <> Also, you might want to try

<>
+skip: "*"

Putting the pattern in double quotes helps at times.

443 Posts

January 7th, 2009 17:00

Well ... if your second syntax worked, you wouldn't be getting the warnings :)

Have you tried to create a .nsr file inside the /sys directory and setting +skip: * inside the file instead of setting a directive on the server side configuration? I have always found it easier to work with .nsr files rather than setting up directives on the server side config.

181 Posts

January 8th, 2009 01:00

Thanks .



Rajesh
No Events found!

Top