delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/18/05:47:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer:x-gm-message-state; bh=Dj+WYFhXm00p0zCmi7p/Ylm9iHNpZiSkN/YMsLVXa6Y=; b=azSn64lLc4mHWCla51EYchhFOsxKQs3HtJHLT1wbtZrt+yIALXkjJi59+oeudsSr0W Z9Rq8pBWNiiUx55XIEIa3UjFFsIhCObb72U3HI/q72Pv1PhqQyZ8eDHxQT8VqHu0N9+T aEij2p1QfpG2fwShOhhKlVevL5wW0nt1DlPPuc5iYolZlhLXZqvXuCI3MCiXshPcjq+0 +LXqAmMd5E8oj2dkPBg4tva6Lg5sjq0/NfDFNj+P6AZlok5kz6e0XvLXzNSdha6+CExO jzEOIElTrqZZCDAVvTJetadjb7N8bx1Y/0IEM1PuF6XZfBZM4kja4+uDcZp8l/Cf6Ghw 3HRA==
From: Gareth Howell <gareth AT agdon DOT co DOT uk>
Subject: 'some files vanished' when using rsync over ssh
Date: Fri, 18 May 2012 10:47:03 +0100
Message-Id: <0B0719E2-4D08-4D5C-8E12-F5D7A916B0AD@agdon.co.uk>
To: cygwin AT cygwin DOT com
Mime-Version: 1.0 (Apple Message framework v1257)
X-Gm-Message-State: ALoCoQkfemv+eRZ0BcU+vd9/ksSU3GUIM6HHvdgSzxZ7c02MjUq3Ud1Q3AjOxvD545yTLE8NKOmW
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4I9lTB2023090

Hi
This is a follow on from the question I asked about accessing SMB filesystems via SSH.

The full scenario is that a client is using rsnapshot to back up a load of workstations to a QNAP. The QNAP has rsnapshot installed and most of the Windows targets have cygwin installed. Three very old machines don't have the capability to run cygwin (too little mem and disk space), so I configured another Windows machine to act as a proxy. RSnapshot backs up these machines as extra drives on the proxy, which has them mounted as SMB drives on /mnt

When I log in to the proxy using ssh, I can see all three mounted drives.

When I run rsync over ssh to the proxy and try to back up the drives I get the error

# /opt/bin/rsync -a --delete --numeric-ids --relative --delete-excluded --rsh="/usr/bin/ssh -o BatchMode=yes" login AT proxy:/mnt/win98/dir .                   
file has vanished: "/mnt"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1518) [Receiver=3.0.8]

According to the literature, this error indicates something changed during the rsync session, but I can't see what.

If I ssh into proxy I can see the drives OK

$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
//win98/c on /mnt/win98 type vfat (binary,user)
//win95/c on /mnt/win95 type vfat (binary,user)
//ano/c on /mnt/ano type vfat (binary,user)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type iso9660 (binary,posix=0,user,noumount,auto)

I can also rsync them to a local rep whilst logged into the proxy.

Gareth

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019