Re: Possible md bug in 2.4.16-pre1

Anton Altaparmakov (aia21@cam.ac.uk)
Mon, 26 Nov 2001 20:42:47 +0000


At 19:29 26/11/01, Peter T. Breuer wrote:
>"Alok K. Dhir 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
>
>Raid has been in quite a shocking state for a long while and
>often there seems nor rhyme nor reason to its behaviour. If you want
>to stick your machine in an endless loop, just try initialising a
>mirror raid device with only one of its two components currently
>working.

Define "long while"... Here RAID-0 is working fine. Admittedly the file
server is still on kernel 2.4.10-pre14 (+ some patches) but I can't be
bothered to reboot it to install a new kernel (uptime is growing nicely...).

When you simulate not working component of RAID-0 by marking it as such in
/etc/raidtab it works fine for me. I know because I used it when installing
the second disk and creating several RAID-0 arrays on my file server on the
new disk then copying the data accross, marking the old disk partitions as
the other working half of the raid arrays and letting md driver synchronize
them without any problems at all... I did a lot of raidstart/stops at that
time too without problems.

> > are rejected with "/dev/md0: Device or resource busy". Even shutting
>
>ya, ya. Try raidhotsetfaulty for good luck and then try raidhotremove.
>(curse, splutter. Will the authors ever write some docs that make
>sense. And also document the interactions with lvm).

Hm, I should try 2.4.16 some time to see if it breaks here...

Anton

-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

- 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/