All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] reuses an existing LV number
@ 2003-01-27 10:51 Joseph Kezar
  2003-01-27 12:00 ` Joseph Kezar
  2003-01-28  5:01 ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Kezar @ 2003-01-27 10:51 UTC (permalink / raw)
  To: linux-lvm

I have a situation here where I have to Volume groups

VolumeMailData
and
vg0

I just created 2 more Logical Volumes(LV) on VolumeMailData to make a total
of 4.
I then rebooted and got this error

vgscan - found an inactive volume group "VolumeMailData"
vgscan - found an inactive volume group "vg0"
vgscan - volume group "vg0" reuses an existing logical volume number; please
vgexport/vgimport that VG or use option -f

....

kernel panic: no init found; try passing init=

VolumeMailData gets activated.  But my root (/) is on vg0 which doesnt get
activated and I am dead in the water.

I can detach my JBOD/RAID Array which makes up VolumeMailData so I can boot.
This way it doesnt find the inactive volume group VolumeMailData and vgo is
able to come up normaly

How can I fix this problem, as it is I kinda need both volume groups
functioning simantaniously :)
Thanks,
Joe Kezar

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

* Re: [linux-lvm] reuses an existing LV number
  2003-01-27 10:51 [linux-lvm] reuses an existing LV number Joseph Kezar
@ 2003-01-27 12:00 ` Joseph Kezar
  2003-01-28  5:01 ` Heinz J . Mauelshagen
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph Kezar @ 2003-01-27 12:00 UTC (permalink / raw)
  To: linux-lvm

Another thing to add:
Can I change how vgscan is called during bootup?  or is it locked in initrd?
It says to vgexport/vgimport or use -f
So if it boots with -f I should be able to then at least mount my root
partition?

How can I change the manner in which LVM starts so that I can get it to
vgscan with a -f?

Thanks,
A very desperate Joe Kezar

----- Original Message -----
From: "Joseph Kezar" <jkezar@doc.state.vt.us>
To: <linux-lvm@sistina.com>
Sent: Monday, January 27, 2003 11:50 AM
Subject: [linux-lvm] reuses an existing LV number


> I have a situation here where I have to Volume groups
>
> VolumeMailData
> and
> vg0
>
> I just created 2 more Logical Volumes(LV) on VolumeMailData to make a
total
> of 4.
> I then rebooted and got this error
>
> vgscan - found an inactive volume group "VolumeMailData"
> vgscan - found an inactive volume group "vg0"
> vgscan - volume group "vg0" reuses an existing logical volume number;
please
> vgexport/vgimport that VG or use option -f
>
> ....
>
> kernel panic: no init found; try passing init=
>
> VolumeMailData gets activated.  But my root (/) is on vg0 which doesnt get
> activated and I am dead in the water.
>
> I can detach my JBOD/RAID Array which makes up VolumeMailData so I can
boot.
> This way it doesnt find the inactive volume group VolumeMailData and vgo
is
> able to come up normaly
>
> How can I fix this problem, as it is I kinda need both volume groups
> functioning simantaniously :)
> Thanks,
> Joe Kezar
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

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

* Re: [linux-lvm] reuses an existing LV number
  2003-01-27 10:51 [linux-lvm] reuses an existing LV number Joseph Kezar
  2003-01-27 12:00 ` Joseph Kezar
@ 2003-01-28  5:01 ` Heinz J . Mauelshagen
  1 sibling, 0 replies; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2003-01-28  5:01 UTC (permalink / raw)
  To: linux-lvm

Joseph,

there's 2 options you've got (2nd one looks a bit hacky ;):

a. boot a rescue media with LVM installed on it and run "vgscan -f"

b. presuming you don't have devfs, detach the JBOD, boot from HD, move all /dev
   entries belonging to the JBOD to a different directory (i.e. /dev/.SAV),
   shutdown and reattach the JBOD, boot, move /dev/.SAV/* back to /dev and
   run "vgscan -f"

Regards,
Heinz    -- The LVM Guy --


On Mon, Jan 27, 2003 at 11:50:24AM -0500, Joseph Kezar wrote:
> I have a situation here where I have to Volume groups
> 
> VolumeMailData
> and
> vg0
> 
> I just created 2 more Logical Volumes(LV) on VolumeMailData to make a total
> of 4.
> I then rebooted and got this error
> 
> vgscan - found an inactive volume group "VolumeMailData"
> vgscan - found an inactive volume group "vg0"
> vgscan - volume group "vg0" reuses an existing logical volume number; please
> vgexport/vgimport that VG or use option -f
> 
> ....
> 
> kernel panic: no init found; try passing init=
> 
> VolumeMailData gets activated.  But my root (/) is on vg0 which doesnt get
> activated and I am dead in the water.
> 
> I can detach my JBOD/RAID Array which makes up VolumeMailData so I can boot.
> This way it doesnt find the inactive volume group VolumeMailData and vgo is
> able to come up normaly
> 
> How can I fix this problem, as it is I kinda need both volume groups
> functioning simantaniously :)
> Thanks,
> Joe Kezar
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** 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

end of thread, other threads:[~2003-01-28  5:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 10:51 [linux-lvm] reuses an existing LV number Joseph Kezar
2003-01-27 12:00 ` Joseph Kezar
2003-01-28  5:01 ` Heinz J . Mauelshagen

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.