Re: init scripts problems ?

denis bonnenfant <[email protected]> Thu, 08 Dec 2005 14:47:26 +0100
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
denis bonnenfant wrote:
> 
>> OK. Not SIGTERM?? Why not?
>>
>>
>>> but module remains used, and raid locked...
>>
>>
>>
>> The module IS used - by raid. There is nothing wrong with that.
>> If you want to zero various counters on enbd (which you do NOT want to
>> do), you can always write "reset[a]=1" to nbdinfo. Maybe you will also
>> have to echo 1 to it (that downs the module in-use count), but I don't
>> think so. The reset command sets the openers count to zero - in fact it
>> sets most things internally to zero.
>>
>> As to raid being locked .. can you explain what you mean?
>>
> 
> mdadm -S /dev/md0 fails.


To be complete, I tested the same thing with an array of 2 real disks :

Of course, mdadm -S works,

mdadm --fail /dev/md1 /dev/sdb1; mdadm --remove /dev/md1 /dev/sdb1 is ok too.


on the nda-sda array, I can't do the same, even with sda !