As an additional note, you could have done all the work you did from a normal shell with no reboot (other than to add the disc) or rescue mode.
Kevin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Trevor Hemsley Sent: Wednesday, September 22, 2010 1:20 PM To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list Subject: Re: [rhelv5-list] LVM problem Most likely you have the disk attached to a different disk controller than the existing one and there is no driver in the initrd that currently exists. You could try this Boot your rescue CD and have it mount your existing Linux partitions under /mnt/sysimage mount --bind /proc /mnt/sysimage/proc mount --bind /dev /mnt/sysimage/dev chroot /mnt/sysimage mkinitrd /boot/initrd-$(uname -r).new $(uname -r) mv /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r).old mv /boot/initrd-$(uname -r).new /boot/initrd-$(uname -r).img exit reboot 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 > > _______________________________________________ > rhelv5-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhelv5-list > -- Trevor Hemsley Infrastructure Engineer ................................................. * C A L Y P S O * 4th Floor, Tower Point, 44 North Road, Brighton, BN1 1YR, UK OFFICE +44 (0) 1273 666 350 FAX +44 (0) 1273 666 351 ................................................. www.calypso.com This electronic-mail might contain confidential information intended only for the use by the entity named. If the reader of this message is not the intended recipient, the reader is hereby notified that any dissemination, distribution or copying is strictly prohibited. * P * /*/ Please consider the environment before printing this e-mail /*/ _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
