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. - 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. Perhaps I should be using an rysnc server or some other method. Any help would be appreciated. _________________________________________________________________ online games and music with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.)
On Sun, 23 Nov 2003 22:32 , John K. <brack102@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
>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 fileThanks 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@prupref.com> >Reply-To: tech-mail@prupref.com >To: samba@lists.samba.org, "John K." <brack102@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@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
On Tue, 25 Nov 2003 02:19 , John K. <brack102@hotmail.com> sent:> >>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?Yes, I run rsync on the linux side and the windows side as a daemon [lets call this the remote side ie where the daemon is run). On the local side I launch rsync through a cron or windows scheduler/.bat file (we will call this the local side) So if I want to rsync files from the linux box to the windows box, I have the daemon running on the remote windows box, in the .conf file you define where the mount point is (not sure if that is the correct terminology): [prupref-1165] path = e:/prupref-1165/ comment = prupref-1165 mirror read only = false use chroot = false (this can be applied to the linux remote side as well if you are going from windows->linux) I can see how going the rsync->smb would be a bit easier, but I had some issues with it.> > >>From: McKeever Chris tech-mail@prupref.com> >>Reply-To: tech-mail@prupref.com >>To: samba@lists.samba.org, "John K." brack102@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@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 > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >---- Prudential Preferred Properties www.prupref.com
I see. I didn't even think about running rsync on windows. This may work for us. Thanks for the tip. J.>Yes, I run rsync on the linux side and the windows side as a daemon [lets >call this the remote side ie where the daemon is run). On the local >side I launch rsync through a cron or windows scheduler/.bat file (we will >call this the local side) > >So if I want to rsync files from the linux box to the windows box, I have >the daemon running on the remote windows box, in the .conf file you >define where the mount point is (not sure if that is the correct >terminology): > >[prupref-1165] >path = e:/prupref-1165/ >comment = prupref-1165 mirror >read only = false >use chroot = false > > >(this can be applied to the linux remote side as well if you are going from >windows->linux) > >I can see how going the rsync->smb would be a bit easier, but I had some >issues with it. > >>From: McKeever Chris <tech-mail@prupref.com> >Reply-To: tech-mail@prupref.com >To: tech-mail@prupref.com, samba@lists.samba.org, "John K." ><brack102@hotmail.com> >Subject: Re: [Samba] samba & rsync >Date: Tue, 25 Nov 2003 10:01:50 -0600 > >On Tue, 25 Nov 2003 02:19 , John K. <brack102@hotmail.com> sent: > > > > >>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? > > >Yes, I run rsync on the linux side and the windows side as a daemon [lets >call this the remote side ie where the daemon is run). On the local >side I launch rsync through a cron or windows scheduler/.bat file (we will >call this the local side) > >So if I want to rsync files from the linux box to the windows box, I have >the daemon running on the remote windows box, in the .conf file you >define where the mount point is (not sure if that is the correct >terminology): > >[prupref-1165] >path = e:/prupref-1165/ >comment = prupref-1165 mirror >read only = false >use chroot = false > > >(this can be applied to the linux remote side as well if you are going from >windows->linux) > >I can see how going the rsync->smb would be a bit easier, but I had some >issues with it. > > > > > > > > > >>From: McKeever Chris tech-mail@prupref.com> > >>Reply-To: tech-mail@prupref.com > >>To: samba@lists.samba.org, "John K." brack102@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@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 > > > >-- > >To unsubscribe from this list go to the following URL and read the > >instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > >---- Prudential Preferred Properties www.prupref.com >_________________________________________________________________>From the hottest toys to tips on keeping fit this winter, you’ll find arange of helpful holiday info here. http://special.msn.com/network/happyholidays.armx
On Tue, 25 Nov 2003 02:19 , John K. <brack102@hotmail.com> sent:> >>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?Yes, I run rsync on the linux side and the windows side as a daemon [lets call this the remote side ie where the daemon is run). On the local side I launch rsync through a cron or windows scheduler/.bat file (we will call this the local side) So if I want to rsync files from the linux box to the windows box, I have the daemon running on the remote windows box, in the .conf file you define where the mount point is (not sure if that is the correct terminology): [prupref-1165] path = e:/prupref-1165/ comment = prupref-1165 mirror read only = false use chroot = false (this can be applied to the linux remote side as well if you are going from windows->linux) I can see how going the rsync->smb would be a bit easier, but I had some issues with it.> > >>From: McKeever Chris tech-mail@prupref.com> >>Reply-To: tech-mail@prupref.com >>To: samba@lists.samba.org, "John K." brack102@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@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 > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >---- Prudential Preferred Properties www.prupref.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba