Obsolete Releases > SME 8.x Contribs
affa makes no hardlinks
Stefano:
I would start from here
HTH
adlaw:
Hi,
Thanks for your help, Stephano !
Seems that the solution was to add no_root_squash option in /etc/exports on the station. I also added the sync option. I followed this tuto.
Before that, anything created in /var/affadevice had (seen from SME) the nfsnobody:nfsnogroup owner, and chown was impossible (operation not permitted).
After, a new file or directory has root:root owner :-)
Now, I'll see what will happen with affa. SHould I do something to the already created archives, or just let affa do and replace them when it will be time (I have one scheduled and one daily archive) ?
adlaw:
Hi,
Now, affa runs for 25 minutes, and stops with an error. Here is a part of the log :
--- Code: ---Sun Jul 21 20:30:07[21999]: Running rsync...
Sun Jul 21 20:30:07[21999]: Exec Cmd: /usr/bin/rsync --archive --stats --delete-during --ignore-errors --delete-excluded --relative --partial --modify-window=3600 --inplace --timeout=900 --numeric-ids --rsync-path='/usr/bin/rsync' --link-dest='/var/affadevice/svgsme/daily.0' "/home/e-smith" "/etc/e-smith/templates-custom" "/etc/e-smith/templates-user-custom" "/etc/ssh" "/root" "/etc/sudoers" "/etc/passwd" "/etc/shadow" "/etc/group" "/etc/gshadow" "/etc/samba/secrets.tdb" "/etc/samba/smbpasswd" /var/affadevice/svgsme/scheduled.running/
Sun Jul 21 20:55:01[21999]: Exec Out: rsync: writefd_unbuffered failed to write 7 bytes to socket [sender]: Broken pipe (32)
Sun Jul 21 20:55:01[21999]: Exec Out: [sender] io timeout after 30 seconds -- exiting
Sun Jul 21 20:55:01[21999]: Exec Out: rsync error: timeout in data send/receive (code 30) at io.c(140) [sender=3.0.9]
Sun Jul 21 20:55:01[21999]: Exec Out: 30
Sun Jul 21 20:55:01[21999]: Exec Out: rsync: writefd_unbuffered failed to write 316 bytes to socket [generator]: Broken pipe (32)
Sun Jul 21 20:55:01[21999]: Exec Out: exitstatus=rsync error: received SIGUSR1 (code 19) at main.c(1298) [generator=3.0.9]
Sun Jul 21 20:55:01[21999]: signaling post-backup event on localhost
--- End code ---
Looks like a problem with the connection, but
- When I make other tests, the SME and the station communicate very well,
- Affa was not stopping on an error before I made the change in /etc/exports, and nothing else changed in the network
- Affa stops always at the same time, 25 mn after the begining
Did I do something wrong or missed something ? What can I do to solve that ?
Thanks.
adlaw:
Hi,
I tried to add also the no_subtree_check option in /etc/exports, but the result is the same... The timeout occurs after a variable time, between 20 to 65 minutes, and seems not to depend on what is to be backed up.
Any idea on how I could solve that, or at least what I could do or try to locate the origin of the problem ?
Thanks.
Brave Dave:
I don't think you can create hard links on an NFS share
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version