Re: md/raid devices don't show up in /proc/partitions in 2.6 :-(

From: Lincoln Dale
Date: Wed Nov 26 2003 - 23:12:01 EST


At 11:15 AM 27/11/2003, Neil Brown wrote:
I just noticed that md devices do not show up in /proc/partitions in
2.6.
[..]

this also caused no end of badness trying to migrate from LVM2 (Linux 2.4) to DM+LVM2 (Linux 2.6) where the major/minor numbers changed.

while the real fix is to educate lvmcreate_initrd to be more intelligent (i had to create a new one which includes mknod/devmap_mknod.sh/mkdir/sed/rm/cat/lvdisplay binaries), it is certainly a big trap for the unwary that happen to use LVM1/LVM2 as a root volume.


cheers,

lincoln.

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