Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: smnirosh on October 03, 2016, 11:34:36 AM
-
I have configured the sme server 9 rsync backup monday to saturday at 3.00am. From 3 months, rsync stucks only on every saturday. I checked that the availability of Nas drive has no errors, enough space to run backup. No other crontab jobs are assigned to run on saturday. My rsync command consists only --delete option and --log-file option.
When I track the log, it says
"No space left on device (28)"
"rsync error: error in file IO (code 11) at receiver.c(397) [receiver=3.1.1]"
"rsync error: error in file IO (code 11) at io.c(1633) [sender=3.1.1]".
My problem is why this happens only on saturdays and if there any other thing that i can monitor this problem?
-
"No space left on device (28)"
that's all..
BTW, since you're not telling us how are you doing your backup and using a non standard procedure, is hard to help you
-
I am doing my backup by rsync to a Nas drive. using --delete options and --log-file options are using.
what is the thing that non standard way? you mean that rsync is not suitable to backup files to Nas drive ?
-
Have you setup rsync manually or are you using the.rsync contrib?
If you are using the contrib please add a bug.
If you are setting it up manually you need to show some configurations and how you run it etc.
Clearly rsync thinks there is no space. You need to look at why it thinks this is the case.
B. Rgds
John
-
Hi ReetP, I run rsync by manually with crontab job,
rsync -ar --delete --log-file "/var/log/rsync/rsync.log.$(date)" /source /destination
where destination is Nas drive connected by Cifs with local credentials of nas drive.
Why this happens only on saturdays is the mysterious thing to me, is it?
There are 150GB free on nas drive.
When it is stucked by the message there is no space, the most problem is all the files are syncronized to mounted location and if i unmount it, the files are remain in the mounted location. then the server is in dead position.
-
Why this happens only on saturdays is the mysterious thing to me, is it?
I suggest you check on Friday before the rsync runs to see if the connection is OK - try running manually on a Friday. Presumably you have something that happens weekly that upsets the sync job.
-
I am doing my backup by rsync to a Nas drive. using --delete options and --log-file options are using.
what is the thing that non standard way? you mean that rsync is not suitable to backup files to Nas drive ?
I meant that you're doing backups of your server in a custom way, not using any of the features available via server-manager or contrib.
IOW, you're using a custom script (which we ignore) so it's hard for us to help you..
I agree with reetp, check what happens on your server on friday/saturday
BTW, I use a rsync script on two servers of mine to keep files in sync from the "master" to the slave.. will the master fail, I can "rise" the slave in few minutes, just like affa does (we're talking about 4 TB..); it runs everyday, never had an issue
-
I suggest you check on Friday before the rsync runs to see if the connection is OK - try running manually on a Friday. Presumably you have something that happens weekly that upsets the sync job.
I would check the NAS device to see what it is doing on a Saturday during that specific time. Maybe it's busy...
-
I understand what stefano and RequestedDeletion suggest.
Yes i already run a backup from "workstation backup" to another Nas drive. (purchased 2month before) it has no problem. I use the same nas drive model for backup via the rsync (my boss suggested to do also a rsync). I, once, ran the friday backup manually and got no problem. Checked that what tasks are scheduled to run at the same time.
According to you i am admitted to believe that this not a fault of rsync or sme server, but am i possible to track this down to point out the problem.?
-
well, I'd start from telling us what do you want achieve..
you're telling us you're using rsync toward a nas.. what do you rsync? files? emails?
what's the aim? have a copy of your files on a second machine? keeping a good copy of last version of a file?
once we know what you what to achieve, we can help you (maybe rsync is not the right tool/approach)
BTW, if your boss is not a tech, you'd ask him "please explain me your proble, not your solution" before starting typing code on the keyboard :-)
-
Thanks stefano, i have answered to your questions below:
you're telling us you're using rsync toward a nas.. what do you rsync? Home folder
what's the aim? keeping a good copy of last version of a file
-
Thanks stefano, i have answered to your questions below:
you're telling us you're using rsync toward a nas.. what do you rsync? Home folder
what's the aim? keeping a good copy of last version of a file
Process of elimination, change the Sat cron job to Sunday & see what happens
-
thanks janet. I will do it and let you all know.
have a good day to all