[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] reuses an existing LV number



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]