Frequent errors copying to an SMB share

Greger Cronquist greger.cronquist at niradynamics.se
Mon Aug 13 06:28:46 GMT 2007


Thanks for your reply, Matt!

Unfortunately I already do that.  The errors typically occur after a few files have been successfully updated or copied, as if the share (constructed with a "net use" command) suddenly disappears (which it doesn't).

Greger

> -----Original Message-----
> From: hashproduct at gmail.com [mailto:hashproduct at gmail.com] On Behalf Of
> Matt McCutchen
> Sent: den 10 augusti 2007 18:36
> To: Greger Cronquist
> Cc: rsync at lists.samba.org
> Subject: Re: Frequent errors copying to an SMB share
> 
> On 8/10/07, Greger Cronquist <greger.cronquist at niradynamics.se> wrote:
> > I have a setup that rsyncs (using the rsync protocol without rsh/ssh
> logins)
> > from one windows server (A) to a NAS (B) via a second windows server
> (C) (A
> > is on a separate location from B & C, and the NAS doesn't support
> rsync
> > directly), where C stores data on an SMB share on B. My problem is
> that I
> > often get "No such host or network path (136)" from rsync (robocopy
> or
> > similar works without a glitch) when storing on the SMB share. Is
> this a
> > common problem, and if so can anyone help me solve it? I'm using
> > rsync/cygwin compiled from cvs (sometime in July).
> 
> I Googled for `rsync "No such host or network path"' and found a
> report of a similar problem:
> 
> http://lists.samba.org/archive/rsync/2005-October/013866.html
> 
> It's not clear to me exactly what is going on, but it appears that the
> two initial slashes on the destination (or possibly the removal of one
> of them by rsync) may be causing the problem.  If you are using a
> destination path of the form //server/share/foo/bar , it might help to
> map a Windows drive letter to the NAS or set up a Cygwin mount point
> (see http://www.cygwin.com/cygwin-ug-net/using.html#using-pathnames )
> so you can give a destination path that doesn't begin with the two
> slashes.
> 
> Matt
> 
> __________ NOD32 2450 (20070810) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com




More information about the rsync mailing list