* [linux-lvm] vgcfgrestore and bootstrap
@ 2003-09-23 11:03 Gingia
2003-09-24 3:49 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 5+ messages in thread
From: Gingia @ 2003-09-23 11:03 UTC (permalink / raw)
To: linux-lvm
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] vgcfgrestore and bootstrap
2003-09-23 11:03 [linux-lvm] vgcfgrestore and bootstrap Gingia
@ 2003-09-24 3:49 ` Heinz J . Mauelshagen
2003-09-24 7:23 ` Gingia
0 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-09-24 3:49 UTC (permalink / raw)
To: linux-lvm
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@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] 5+ messages in thread
* Re: [linux-lvm] vgcfgrestore and bootstrap
2003-09-24 3:49 ` Heinz J . Mauelshagen
@ 2003-09-24 7:23 ` Gingia
2003-09-24 7:59 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 5+ messages in thread
From: Gingia @ 2003-09-24 7:23 UTC (permalink / raw)
To: linux-lvm
Alle 10:37, mercoledì 24 settembre 2003, Heinz J . Mauelshagen ha scritto:
> Gingia,
>
> the normal procedure is "vgscan ; vgchange -ay ; mount -a"
> rather than vgcfgrestore before vgchange.
...
> Have you tried "vgscan ; vgchange -ay ; mount -a" before ?
> (keep in mind, that vgscan needs space below /etc/ to store metadata
> copies)
I controlled the script of bootstrap to see if there is the apropiated entry,
and it seems is ok, i also re-started the server .
I tried "vgscan" and i have the output:
invalidate :dirty buffer
invalidate :busy buffer
(any time)
vgscan -- "/etc/lvmtab" and "7etc/lvmtab.d" successfully created
vgscan -- WARNING: this programm doe not do a VGDA backup of your group
after i do :
vgchange -ay
and the output was:
vgchange -- no volume group found
so i made the restore:
vgcfgrestore .........
the ouptput was
vgcfgrestore -- VGDA for "Volume1" successfully restored to phisical volume
"/dev/i2o/hda3"
vgcfgrestore -- you may not have an actual backup of restored group "volume1"
then i can do vgchange -ay and go on
This is all , was it the matter?
Thank you
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] vgcfgrestore and bootstrap
2003-09-24 7:23 ` Gingia
@ 2003-09-24 7:59 ` Heinz J . Mauelshagen
2003-09-25 4:36 ` Gingia
0 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-09-24 7:59 UTC (permalink / raw)
To: linux-lvm
On Wed, Sep 24, 2003 at 02:14:47PM +0200, Gingia wrote:
> Alle 10:37, mercoledì 24 settembre 2003, Heinz J . Mauelshagen ha scritto:
> > Gingia,
> >
> > the normal procedure is "vgscan ; vgchange -ay ; mount -a"
> > rather than vgcfgrestore before vgchange.
> ...
> > Have you tried "vgscan ; vgchange -ay ; mount -a" before ?
> > (keep in mind, that vgscan needs space below /etc/ to store metadata
> > copies)
>
> I controlled the script of bootstrap to see if there is the apropiated entry,
> and it seems is ok, i also re-started the server .
> I tried "vgscan" and i have the output:
> invalidate :dirty buffer
> invalidate :busy buffer
> (any time)
> vgscan -- "/etc/lvmtab" and "7etc/lvmtab.d" successfully created
> vgscan -- WARNING: this programm doe not do a VGDA backup of your group
Can you send the "vgscan -d" output of this case to me directly, please
(mge@sistina.com) ?
Probably some i2o devices scanning flaw.
>
> after i do :
> vgchange -ay
> and the output was:
> vgchange -- no volume group found
>
> so i made the restore:
> vgcfgrestore .........
> the ouptput was
> vgcfgrestore -- VGDA for "Volume1" successfully restored to phisical volume
> "/dev/i2o/hda3"
> vgcfgrestore -- you may not have an actual backup of restored group "volume1"
>
> then i can do vgchange -ay and go on
>
> This is all , was it the matter?
>
> Thank you
>
>
>
>
>
>
> _______________________________________________
> 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/
--
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] 5+ messages in thread
* Re: [linux-lvm] vgcfgrestore and bootstrap
2003-09-24 7:59 ` Heinz J . Mauelshagen
@ 2003-09-25 4:36 ` Gingia
0 siblings, 0 replies; 5+ messages in thread
From: Gingia @ 2003-09-25 4:36 UTC (permalink / raw)
To: linux-lvm
Alle 14:48, mercoledì 24 settembre 2003, Heinz J . Mauelshagen ha scritto:
> > vgscan -- "/etc/lvmtab" and "7etc/lvmtab.d" successfully created
> > vgscan -- WARNING: this programm doe not do a VGDA backup of your group
>
> Can you send the "vgscan -d" output of this case to me directly, please
> (mge@sistina.com) ?
> Probably some i2o devices scanning flaw.
I tried to make a backup with
vgcfgbackup command but it failed and the output was :
vgcfgbackup -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run
vgscan
Can i solve this?
How i can solve the problem of bootstrap? If possible?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-25 4:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-23 11:03 [linux-lvm] vgcfgrestore and bootstrap Gingia
2003-09-24 3:49 ` Heinz J . Mauelshagen
2003-09-24 7:23 ` Gingia
2003-09-24 7:59 ` Heinz J . Mauelshagen
2003-09-25 4:36 ` Gingia
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.