Re: Possible md bug in 2.4.16-pre1

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Mon Nov 26 2001 - 20:31:49 EST


On Monday November 26, alok@dhir.net wrote:
>
> On kernel 2.4.16-pre1 software RAID (tested with levels 0 and 1 on the
> same two drives), it is not possible to "raidstop /dev/md0" after
> mounting and using it, even though the partition is unmounted. Attempts
> are rejected with "/dev/md0: Device or resource busy". Even shutting
> down to single user mode does not release the device for stopping. I
> had to reboot to single user mode, then I was able to stop it,
> unconfigure it, etc.

I think this might be due to a buggy "raidstop". I seem to recall
someone having a similar problem some months ago. It turned out that
they we using a vendor supplied raidstop that did the wrong thing.

Could you try compiling raid-tools from
http://www.kernel.org/pub/linux/daemons/raid/alpha/raidtools-19990824-0.90.tar.bz2

and see if that works.

Alternaltely, get mdctl from

  http://www.cse.unsw.edu.au/~neilb/source/mdctl/

and use
   mdctl --stop /dev/md0

If this still doesn't work, please send me an "strace" of raidstop
running and failing.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:24 EST