[Samba] samba & rsync
John K.
brack102 at hotmail.com
Tue Nov 25 02:19:32 GMT 2003
>I apologize if you already resolved this..I am a bit confused as to why you
>need to connect via samba for rsync. I do something very similar and rsync
>handles
>it all if I have the correct rsync mount points defined in the .conf file
Thanks for replying chris,
I don't need samba for rsync per se. We use samba for other reasons. It
would be just convinient. However what is an rync mount point? I should go
read about this. Do you run an rsync deamon?
>From: McKeever Chris <tech-mail at prupref.com>
>Reply-To: tech-mail at prupref.com
>To: samba at lists.samba.org, "John K." <brack102 at hotmail.com>
>Subject: Re: [Samba] samba & rsync
>Date: Mon, 24 Nov 2003 20:01:13 -0600
>
>
>
>On Sun, 23 Nov 2003 22:32 , John K. <brack102 at hotmail.com> sent:
>
> >If anyone has time to look at this problem I would appreciate it.
> >
> >I think I am looking for a way to increase the "timeout" in samba (in the
> >smb.conf file)
> >for reporting a "down" link or "can't read xyz file".
> >
> >However I am writing to you folks because this problem has come up while
> >using rsync
> >
> >
> >
> >my problem
> >==========
> >
> >We have a wan in which links from a central linux machine to a nodes
>which
> >are xp machines
> >from 1 to 5 minutes a night. not very common, but it happens.
> >
> >we are using samba to mount directories on the remote linux machines to
>the
> >local
> >linux server. (we use samba because we also have xp machines in our
>network
> >it is just easier to use this for now).
> >
> >We use rsync nightly to backup remote directories to the local linux
> >server.
> >
> >When one of the outages happes during a backup (rsync operation) either
> >- if I have not set the --timout value in rsync the operation just
> >continues. Rysnc seems
> > not to notice that samba is reporting errors and just copies over I
>assume
> >a bunch of 0000.
> > Of course the file is corrupted.
>
>I apologize if you already resolved this..I am a bit confused as to why you
>need
>to connect via samba for rsync. I do something very similar and rsync
>handles it
>all if I have the correct rsync mount points defined in the .conf file
>
>
> >
> >- if I have set the --timeout value in rsync, in the case of failure
>rsync
> >just drops out. Of course if
> > i set the --timeout value to something like 2 minutes rsync seems to
> >ignore the samba errors and continues.
> >
> >What I would like to do is set a timeout value in samba for reporting
>errors
> >from what seems
> >to be about 30 seconds to something like 6 minutes. Then I could set the
> >--timeout value in rsync to
> >something like 5 minutes.
> >
> >I can't find in man smb.conf anywhere were you can set something like "if
> >you can't connect in 30 seconds" then report an error.
> >
>
>
>
>-------------------------------------------
>Chris McKeever
>If you want to reply directly to me, please use
>cgmckeever--at--prupref---dot---com
>http://www.prupref.com
>
>
>---- Prudential Preferred Properties www.prupref.com
>
_________________________________________________________________
Share holiday photos without swamping your Inbox. Get MSN Extra Storage
now! http://join.msn.com/?PAGE=features/es
More information about the samba
mailing list