[linux-lvm] telling LVM it's not hda8 anymore but now it's hda7

Heinz J . Mauelshagen mauelshagen at sistina.com
Tue Jul 8 05:48:01 UTC 2003

On Tue, Jul 08, 2003 at 10:46:21AM +0200, Martin Milner wrote:
> I am such a noob. I deleted a partition. I had /dev/hda8 in an lvm volume
> but i deleted a lower partition then rebooted. Now i got a kernel panic
> because my /dev/hda9 (my / ) had gone. Running fdisk and fixing the
> partition table nicely made my old /dev/hda9 to /dev/hda8 (and my hda8 was now hda7). After some
> fumbling around with grub i got it to boot again and most of my installation
> is running again. Except for my LVM stuff
> I need to tell LVM that there no longer is a /dev/hda8, that it is now
> /dev/hda7. Without losing my data.

Running vgscan before "vgchange -ay" should do it.

> Anyone?ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿåŠ{±þ[晨¥Šx%ŠËeŠ{±þ[æþȬ¶)ÚýÊ&†ÛiÿÿåŠËlþȬ¶)ÚýÊ&þf¢–f§þX¬¶)ߣùbžìÿ–ù«y§m

Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***


Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446

More information about the linux-lvm mailing list