Re: init scripts problems ?

"Peter T. Breuer" <[email protected]> Sun, 4 Dec 2005 06:30:04 +0100 (MET)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
I meant to get back to you on this ...


"Also sprach denis bonnenfant:"
> > Maybe you can tell me how you get it wedged and I can try looking at it
> > with one of my debug consle kernels (shudder - the kernel debugger is
> > NOT a pretty thing).
> 
> rather simple :
> 
> 
> on client
> # modprobe enbd_ioctl
> 
> 
> use these enbd.conf :
> on server :
> 
> server A-1 12345 /dev/sda -b 512
> server B-1 12350 /dev/sdb -b 512
> 
> 
> on client :
> 
> client A-1 /dev/nda ldap-croise 12345 -n 2 -m  -b 512
> client B-1 /dev/ndb ldap-croise 12350 -n 2 -m  -b 512
> 
> then on server :
> 
> # /etc/init.d/enbd start server
> 
> and on client :
> 
> # /etc/init.d/enbd start client

You claim that just _starting_ two clients for two servers at the same
time, there is a problem - that may be so. I think I am more concerned
however that you say can also get stuck sometimes with just ONE client start.

If that is so, I would like to look at it first. I suspect it is a
client REstart, however, not just a start. A REstart would present some
of the characteristics of starting two at once - because I think
killing the client is the difficulty.

I am now running a 2.6 kernel (2.6.3 - and my laptop has frozen once
already, but 2.6 kernels do that to it) and can start looking atthe
problem.

Peter