D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Rsync Failure

 

On 05/07/15 20:37, Gordon Henderson wrote:
On Sun, 5 Jul 2015, Julian Hall wrote:

Hi All,

I do a weekly backup of my system to a USB drive, which recently died so now I backup to my NAS. However my mail folder (Thunderbird) is giving me problems which I never had with the USB drive. Some files copy properly but I also get a huge chunk of these lines:

rsync: rsync_xal_set: lsetxattr(""/media/julian/HERA/SYSTEM_BACKUP/MINT_HOME/home/julian/.thunderbird/30xnxm79.default/Mail/Local Folders/Friends.sbd/Offline.sbd/UK.sbd/Local.sbd/Guys.sbd/BrianA.mozmsgs/20070404225213.GA20082%40bloobird.co.uk.wdseml"","user.OECustomProperty") failed: Operation not supported (95)

It then hangs and refuses to carry on until I Ctrl+C and repeat the rsync command.

The key element I assume is 'Operation not supported (95)'. My question is why not when a lot of other files in the Thunderbird mail folder, and everything outside it, are copied OK?

The error message is telling you that rsync is unable to set an attribute on the source file on the target file.

So... it could be a symbolic link and the NAS filesystem doesn't support them, or it could be an attribute set on the file which again, the NAS doesn't support.

If you're using CIFS to mount the NAS then you'll lose a lot more than just stuff like this - use NFS if possible.

Check the file:

  lsattr /home/julian/.thunderbird/30xnx...etc.

and of-course ls -l ...

Gordon

Hi All,

Thanks for the replies. The NAS is mounted NFS, as per this fstab entry: 192.168.0.3:/volume1/Hera /media/HERA nfs nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0

The file system is ext3. What I don't understand is why it backs up a lot of files perfectly OK - as it did to the USB drive - but some of them baulk with this error on the NAS.

Julian

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq