Possible md bug in 2.4.16-pre1

Alok K. Dhir (alok@dhir.net)
Mon, 26 Nov 2001 12:02:13 -0500


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.

Testing the throughput of Linux's software raid in levels raid1 and
raid0 with various chunksizes was somewhat more tedious because of this
problem...

Here is my (current) raidtab:

Raiddev /dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda2
raid-disk 0
device /dev/sdb1
raid-disk 1

Thanks...

Al

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