Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2017 23:10:45 +0200
From:      Polytropon <freebsd@edvax.de>
To:        byrnejb@harte-lyne.ca
Cc:        "James B. Byrne via freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: Rsync woes
Message-ID:  <20170926231045.6253e3d9.freebsd@edvax.de>
In-Reply-To: <674aa8d7c7c74263bb11c00e5ab41279.squirrel@webmail.harte-lyne.ca>
References:  <674aa8d7c7c74263bb11c00e5ab41279.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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/HLL_TDG_Air_2014_Blue_Form.ott"
> 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
suspended?



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170926231045.6253e3d9.freebsd>