All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] telling LVM it's not hda8 anymore but now it's hda7
@ 2003-07-08  3:45 Martin Milner
  2003-07-08  5:48 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Milner @ 2003-07-08  3:45 UTC (permalink / raw)
  To: linux-lvm

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.

Anyone?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] telling LVM it's not hda8 anymore but now it's hda7
  2003-07-08  3:45 [linux-lvm] telling LVM it's not hda8 anymore but now it's hda7 Martin Milner
@ 2003-07-08  5:48 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2003-07-08  5:48 UTC (permalink / raw)
  To: linux-lvm

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…âÕ0s–ý3š¶^[mÿÿÿ¶WiþŠàüs–LïËTÿÇ9dÎ
-- 

Regards,
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
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] telling LVM it's not hda8 anymore but now it's hda7
@ 2003-07-08  8:06 lvm
  0 siblings, 0 replies; 3+ messages in thread
From: lvm @ 2003-07-08  8:06 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

I am not sure I understand excactly what your problem is, but wouldn't scanning with the lvm tools solve your problem ?

vgscan and pvscan should find your lvm volumes, and you can activate them once you've found them right ?

best regards
Mark

"Martin Milner" <martin@newdomain.nl> 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.
> 
> Anyone?ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿåŠ{±þ[晨¥Šx%ŠËeŠ{±þ[æþȬ¶)ÚýÊ&†ÛiÿÿåŠËlþȬ¶)ÚýÊ&þf¢–f§þX¬¶)ߣùbžìÿ–ù«y§m…âÕ0s–ý3š¶^[m§ÿÿ¶WiþŠàüs–LïËTÏÇ9dÎ

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-08  8:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-08  3:45 [linux-lvm] telling LVM it's not hda8 anymore but now it's hda7 Martin Milner
2003-07-08  5:48 ` Heinz J . Mauelshagen
  -- strict thread matches above, loose matches on Subject: below --
2003-07-08  8:06 lvm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.