lkml.org 
[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Possible md bug in 2.4.16-pre1

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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.088 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site