D&C GLug - Home Page

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

Re: [LUG] Rsync Failure

 

On 19/07/15 23:04, Julian Hall wrote:
On 19/07/15 22:52, Dave Morgan wrote:
On 19/07/15 21:00, Julian Hall wrote:
On 05/07/15 21:00, Julian Hall wrote:
On 05/07/15 20:37, Gordon Henderson wrote:
On Sun, 5 Jul 2015, Julian Hall wrote:


[snip]

Julian

Hi All,

I'm still having the same problem, essentially some files on the same
drive with the same permissions refuse to copy via rsync to my NAS using
the exact same command I used backing up to my USB drive. I do not
understand why because if it was a permissions problem surely /none/ of
them would copy.  As it is some of my mail files copy fine and others
refuse.  Eventually the backup fails so none of the files after the mail
directory get backed up at all.

Julian


Synology NAS?

just tried here, and got 100% failure with the following sort of errors

rsync: chgrp "/home/pi/dp/pi-03/ntp/ntp-dev-4.3.61/util/timetrim.c"
failed: Invalid argument (22)


on the Pi:
-rw-r--r-- 1 pi pi 2710 Oct 29  2002 timetrim.c

on the NAS:
-rw-------    1 admin    users         2710 Oct 29  2002 timetrim.c

the NAS as seen from the Pi:
-rw------- 1 4294967294 4294967294  2710 Oct 29  2002 timetrim.c

after I bought it I found lots of complaints on the forum about the
broken NFS server. :(

best regards
Dave


Hi Dave,

Yes, a Synology DS212j.  Ordinarily I have no problems at all with it in
everyday use, and I still don't understand why it copies some files
quite happily and refuses to copy others.

Kind regards,

Julian


I just tried a
$rsync -a ntp root@NAS:/volume1/dp/pi-03/

instead of the NFS version
$rsync -a ntp dp/pi-03

and this worked without error (I still get permission errors for non-root @ NAS)

pi:
-rw-r--r--  1 pi pi  2710 Oct 29  2002 timetrim.c

NAS:
-rw-r--r--    1 pi       1000          2710 Oct 29  2002 timetrim.c

NAS from the Pi:
-rw-r--r-- 1 4294967294 4294967294  2710 Oct 29  2002 timetrim.c

best regards
DAve (DS414-slim)

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