SMB.CONF reload stops SMB Client-Server I/O
activities(File Copying) in Linux
abartlet at samba.org
Sat Dec 27 11:31:02 GMT 2003
On Sat, 2003-12-27 at 22:00, nandkumar l mane wrote:
> On Sat, 27 Dec 2003 Andrew Bartlett wrote :
> >On Sat, 2003-12-27 at 02:57, nandkumar l mane wrote:
> > > Hi,
> > >
> > > I was trying to create a CIFS share in Linux because of which I
> > > ended up modifying the SMB.CONF file.I noticed that while
> > > reloading SMB.CONF file the I/O activities of SMB Server get
> > > stopped(File copying in this case) for other clients.
> >I assume you mean they are paused, while it reloads, resuming shortly
> > > Currently I am using samba-3.0.1 on my Linux-2.4.20-8.
> > > Here's the command which I'm trying to reload SMB.CONF:
> > > smbcontrol smbd reload-config
> >Samba is single-threaded, and you asked every samba process to reload
> >it's configuration. This looks perfectly normal.
> >What in your smb.conf is so big that reading and processing this file
> >causes a noticeable delay?
> >Andrew Bartlett
> >Andrew Bartlett abartlet at pcug.org.au
> >Manager, Authentication Subsystems, Samba Team abartlet at samba.org
> >Student Network Administrator, Hawker College abartlet at hawkerc.net
> >http://samba.org http://build.samba.org http://hawkerc.net
> I am copying one file from my client to smb server.But when I reload SMB.CONF using 'service smb restart' ,copying process get stopped and it gives error as
> cannot copy : the specified network is not available.
> I want to reload my SMB.CONF file without stopping that copying process.plz give me another way to load SMB.CONF.
Simply send all the processes a kill -HUP. This is what the smbcontrol
message effectively does. If you kill off the daemons (service smb
restart) then naturally, the clients will be upset.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20031227/9f74f1bc/attachment.bin
More information about the samba-technical