Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42658

Summary: LVM should be started after Software RAID
Product: Gentoo Linux Reporter: Thomas Weidner <3.14159>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---

Description Thomas Weidner 2004-02-23 15:01:50 UTC
OK,following szenario: /dev/md0 consists of 3 disks lets say hd{a,b,c}1. and /dev/md0 is part of an LVM volume group and is therefore a physical volume. LVM now scans all devices for LVM Metadata. and for some strange reasons (RAID0 here) it finds it on hda1. so it attaches hda1 to a volume group (activating the actual logical volumes fails of cause), but the device is marked as in-use. next mdadm tries to start the raid array,which fails because hda1 is in use. editing /etc/init.d/checkfs to first perform raid initialization and then activate lvm volumes fixed it nicely and the raid array and the lvm volume group on the raid array are both active. I think the proposed order is better as the current one,because raid devices can be physical volumes, but lvm logical volumes can't be part of raid devices (AFAIK).
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-03-17 21:17:20 UTC

*** This bug has been marked as a duplicate of 37418 ***