Re: init scripts problems ?

denis bonnenfant <[email protected]> Tue, 06 Dec 2005 22:39:08 +0100
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Peter T. Breuer a écrit :
> "Also sprach Peter T. Breuer:"
> 
>>It does work - it's just that there's another similar deadlock that
> 
> 
> I should add - are you running the client with "-e"? that should help.
> I certainly haven't been able to get any deadlock on a dual-client
> startup race for at least two hours, but I think there is one possible.
> 
> Peter
> _______________________________________________
> ENBD mailing list
> [email protected]
> http://lists.community.tummy.com/mailman/listinfo/enbd

without -e ,


stopping client involved  in a raid array fails :

here is my ps output ( I use ps axf opid,wchan:20,cmd  which specify the WCHAN 
width )

  2967 -                    [enbd-client]
  2970 -                     \_ [enbd-client]
  2971 sync_page             \_ enbd-client se3-croise 12355 -i A-2 -n 2 -m -b 
512 /dev/nda

so it's clearly the last child

nda has disappeared from cat /proc/mdstat, is it normal ?
echo 0 kill enbd-client, but something remains locked somewhere, as md can't be 
stopped now !

with -e, no more problems stopping client, but raid can't be stopped too.