Red Hat Bugzilla – Bug 141781
Installation with LVM on RAID1 fails
Last modified: 2007-11-30 17:10:56 EST
Installing LVM on top of RAID1 arrays makes anaconda dies because of a
failed lvcreate. This seems caused by "/etc/lvm/lvm.conf" setting
"md_component_detection" to 0. Having it set to 1 solves the problem.
The comment in lvm.py seems to indicate that the filtering breaks
things . Not filtering breaks LVM on RAID1.
This doesn't cause failures here. What are the messages in
/tmp/lvmout for when the lvcreate fails?
Created attachment 107971 [details]
Created attachment 107972 [details]
Kickstart file used when problem was experienced
I attached as well a kickstart file that shows what I was trying to
do. A manual installation exhibits the same problem. At the moment I
solved it by editing lvm.py and respining a new set of .img files. I
hope this helps.
Just to let you know I've reproduced here, and am investigating further.
I may have a problem related to this. I was installing from CD, I
received the following Exception error during the installation:
Traceback (most recent call last:)
line 1074, in handleRenderCallBack self.currentWindow.renderCallback()
line 242, in renderCallBack self.intf.icw.nextClicked()
line 789, in nextClicked self.dispach.gotoNext()
line 171, in gotoNext self.moveStep()
line 239, in moveStep rc=apply(func, self.bindArgs(args))
line 554, in turnOnFilesystems thefsset.createLogicalVolumes(instPath))
1432, in createLogicalVolumes entry.device.setupDevice(chroot)
2051, in setupDevice raise SystemError, "lvcreate failed for %s"
SystemError: lvcreate failed for system
Here is my drive setup using Disk Druid:
Drive /dev/hda 238473 MB
Drive /dev/hdc 238473 MB
LBVM Volume Groups:
filesystem size: 238336
system mp:/ type:ext3 size:237312
swap type:swap 1024
/dev/md1 mp:/boot type:ext3 size: 101.944
/dev/md2 mp:filesystem type:LVM PV size:238371
/dev/hda1 mp:/dev/md1 type:softwareRAID size:102 start:1 end:13
/dev/hda2 mp:/dev/md2 type:softwareRAID size:238371 start:14 end:30401
/dev/hdc1 mp:/dev/md1 type:softwareRAID size:102 start:1 end:13
/dev/hdc2 mp:/dev/md2 type:softwareRAID size:238371 start:14 end:30401
The install terminates and unmounts file systems before I can get to
any of the logs.
*** Bug 145948 has been marked as a duplicate of this bug. ***