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
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" <[email protected]>
To: <[email protected]>
Sent: Monday, January 27, 2003 11:50 AM
Subject: [linux-lvm] reuses an existing LV number
Quoted 7 lines
I have a situation here where I have to Volume groups
VolumeMailData
and
vg0I just created 2 more Logical Volumes(LV) on VolumeMailData to make a
total
Quoted 6 lines
of 4.
I then rebooted and got this errorvgscan - found an inactive volume group "VolumeMailData" vgscan - found an inactive volume group "vg0"
vgscan - volume group "vg0" reuses an existing logical volume number;
please
Quoted 10 lines
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.
Quoted 1 line
This way it doesnt find the inactive volume group VolumeMailData and vgo
is
Quoted 14 lines
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
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 --
Quoted 32 lines · Joseph Kezar
I have a situation here where I have to Volume groups
VolumeMailData
and
vg0I just created 2 more Logical Volumes(LV) on VolumeMailData to make a total of 4.
I then rebooted and got this errorvgscan - 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
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-