On 09/22/2010 04:02 PM, Greg Cornell wrote: > Hello All, > > I'm having trouble after adding a new disk to an existing LVM group. I'll > summarize the steps I've been through so far. > > 1. Installed a new hard drive (sdb) > 2. Booted CD into rescue mode > 3. Used fdisk to create a new partition (/dev/sdb1) > 4. Used pvcreate to initialize the partition > 5. Used vgextend to add the new pv to the existing group > 6. Used lvextend to expand the volume > 7. Used resize2fs to expand the file system > > And that all seemed to go fine. I can mount the volume and use df to verify > that there's now the correct amount of free space. The trouble comes when I > try to boot the system normally. Here's what I get: > > Reading all physical volumes. This may take a while... > Couldn't find device with uuid DRjb77-WpC0-DQAJ-3gRv-998p-SB2L-zC4cRO > Found volume group "vg0" using metadata type lvm2 > Activating logical volumes > Couldn't find device with uuid DRjb77-WpC0-DQAJ-3gRv-998p-SB2L-zC4cRO > Refusing activation of partial LV root. Use --partial to override > > And then it kernel panics. There may be more above this output but I can get > it to stop sooner. Everything seemed normal up to that point. > > So, if I use the rescue CD I can mount the volume just fine, but I can't boot > the system normally. Any ideas? I'm happy to send more command output but I > thought this was getting long enough already. > > Thanks, > Greg
When you used fdisk to create the partition, did you use the "t" command to change the type of the partition to type "8e", Linux LVM. You can find out by running "fdisk -l" on the disk. The last two fields of output for the partition sdb1 should be "8e Linux LVM". Kelwin Wylie _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
