LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsysnc (https://www.linuxquestions.org/questions/linux-software-2/rsysnc-4175586547/)

AbrahamJose 08-08-2016 12:43 AM

rsysnc
 
I used to use rsync to copy files after nfs mount.

When I tried it in a new RHEL server , I got the error message
rsysnc chown .... failed. Invalid argument (22)

Can anybody help me

JJJCR 08-08-2016 01:17 AM

Are you copying from RHEL to Windows?

Make sure both target and destination is using file system that supports chown, or ext# file system.

or just do an rsync -av <your parameters source - destination>

or post the rsync command you supplied.

AbrahamJose 08-18-2016 11:07 PM

Sorry for the delay in reply. I was not in station for few days.
I am copying files from Linux to Linux
Command is
rsync -azv --delete source destination

timl 08-18-2016 11:16 PM

works fine for me. Can you copy the actual command plus error message and paste here as a quote?

Regards

sundialsvcs 08-19-2016 08:11 AM

The invalid argument (22) message more-or-less happens with any connectivity issue. It is trying to set the ownership of the transferred file. Unfortunately, rsync is not the world's best at producing meaningful error messages. :rolleyes:

Provide us with the actual rsync command that you are trying to use, and tell us a little bit more about that share ... and your permissions to it.

Other possibly useful (external) links:
Remember that NFS is very peculiar with regards to owner-ids. Does this owner-id (uuid number ...) exist on both servers? Does the share allow you to change it, or does it "squash?"


All times are GMT -5. The time now is 08:41 PM.