Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42658 - LVM should be started after Software RAID
Summary: LVM should be started after Software RAID
Status: RESOLVED DUPLICATE of bug 37418
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 15:01 UTC by Thomas Weidner
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***