[linux-lvm] vgcfgrestore and bootstrap
Heinz J . Mauelshagen
mauelshagen at sistina.com
Wed Sep 24 03:49:02 UTC 2003
Gingia,
the normal procedure is "vgscan ; vgchange -ay ; mount -a"
rather than vgcfgrestore before vgchange.
vgscan recognizes changes in the IO configuration (e.g. devices moved
to different addresses causing device nodes t change).
Have you tried "vgscan ; vgchange -ay ; mount -a" before ?
(keep in mind, that vgscan needs space below /etc/ to store metadata copies)
Regards,
Heinz -- The LVM Guy --
On Tue, Sep 23, 2003 at 05:54:20PM +0200, Gingia wrote:
> Hi all.
> I write in this list to explain the problem with the meta data and the
> inconsistence.
>
> Thank to Heinz J . Mauelshagen i solve the principal problem.
>
> Now i have another problem caused by the same root.
>
> When i start the devlopment server (debian woody), it remain in the runlevel
> 1 e ask me the pass to root access for device-filesystem problem.
> It said that it had problem with the lvm.
>
> To start the sewrver i must to :
> 1) vgcfgrestore -n volume1 -f /etc/lvmconf/volume1.conf /dev/i2o/hda3
> 2) vgchange -a y
> 3) mount -a
> and only now i can go to runlevel 2 for normal start.
>
> So i understand that 1) the "restoring" metadata is a routine operation at
> boostrap instead of a propely restoring 2) for some reason this does not
> happen more.
>
> So my question is: Why ?
> How i can restabilished this at boot time? I can move to solve this other
> problem?
> Can you help me?
>
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at 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 at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list