Rsync woes

Polytropon freebsd at
Tue Sep 26 21:11:04 UTC 2017

On Tue, 26 Sep 2017 17:05:00 -0400, James B. Byrne via freebsd-questions wrote:
> When transferring files via rsync I am receiving many, many errors of
> the following form:
> rsync: chown
> "/media/usbkey/vhost04/byrnejb_hll/Documents/HLL/Forwarding/DGR_Shipments/"
> failed: Invalid argument (22)
> The rsync command used is:
> rsync -acsvxHAX --append-verify --exclude '\.*' --exclude 'tmp'
> --exclude 'javahotpot' --exclude 'lost+found' --progress
> /home/byrnejb_hll  /media/usbkey/vhost04
> What is causing the errors?

Just to rule out the obvious: With which file system has the USB
key been initialized? Are the access permissions set accordingly?

As you can see from the error message, the file in question cannot
be chown'ed. You could try this manually (with one file) to verify.

> I am also encountering another problem with the same transfer in that
> rsync apparently just stops transferring and I must use <ctrl>C to
> exit the program and restart it to continue the transfer.  What causes
> this?

Monitor the program with top / htop when this happens. Is the rsync
program waiting for an I/O resource to become available? Has it been

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list