From owner-freebsd-questions@freebsd.org Tue Sep 26 21:11:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9CEFE21D3A for ; Tue, 26 Sep 2017 21:11:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2ECD976A5A for ; Tue, 26 Sep 2017 21:11:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Tue, 26 Sep 2017 23:10:46 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3F8F63CC42; Tue, 26 Sep 2017 23:10:45 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8QLAjvB002729; Tue, 26 Sep 2017 23:10:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Sep 2017 23:10:45 +0200 From: Polytropon To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" 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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with BA89A6834B4 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1371 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 21:11:04 -0000 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 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, ...