* [linux-lvm] kernel reports vg twice
@ 2001-10-08 14:00 Wichert Akkerman
2001-10-09 9:23 ` Heinz J . Mauelshagen
2001-10-10 3:58 ` Andreas Dilger
0 siblings, 2 replies; 4+ messages in thread
From: Wichert Akkerman @ 2001-10-08 14:00 UTC (permalink / raw)
To: linux-lvm
Since I got exactly no response to this I'll report it with a
different subject.
LVM still does not work for me on one of my machines work:
cloud:/dev/discs/disc1# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vg_user"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group
cloud:/dev/discs/disc1# vgchange -a y
vgchange -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
I did a bit of looking around and it seems the confusement is in the
kernel: when lvm_check_kernel_lvmtab_consistency() compares the kernel
and the lvmtab entries the list from the kernel mentions the vg_user
volume group twice, while the lvmtab only mentions it once. This
results in an immediate abort and as a result I can't do anything
with the LVM tools.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
----- End forwarded message -----
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] kernel reports vg twice
2001-10-08 14:00 [linux-lvm] kernel reports vg twice Wichert Akkerman
@ 2001-10-09 9:23 ` Heinz J . Mauelshagen
2001-10-09 9:30 ` Wichert Akkerman
2001-10-10 3:58 ` Andreas Dilger
1 sibling, 1 reply; 4+ messages in thread
From: Heinz J . Mauelshagen @ 2001-10-09 9:23 UTC (permalink / raw)
To: linux-lvm
Wichert,
which LVM version are you using? 1.0.1 rc4 is recommended.
Regards,
Heinz -- The LVM Guy --
On Mon, Oct 08, 2001 at 04:00:13PM +0200, Wichert Akkerman wrote:
>
> Since I got exactly no response to this I'll report it with a
> different subject.
>
> LVM still does not work for me on one of my machines work:
>
> cloud:/dev/discs/disc1# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found active volume group "vg_user"
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume group
>
> cloud:/dev/discs/disc1# vgchange -a y
> vgchange -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
>
> I did a bit of looking around and it seems the confusement is in the
> kernel: when lvm_check_kernel_lvmtab_consistency() compares the kernel
> and the lvmtab entries the list from the kernel mentions the vg_user
> volume group twice, while the lvmtab only mentions it once. This
> results in an immediate abort and as a result I can't do anything
> with the LVM tools.
>
> Wichert.
>
> --
> _________________________________________________________________
> / Nothing is fool-proof to a sufficiently talented fool \
> | wichert@wiggy.net http://www.liacs.nl/~wichert/ |
> | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>
> ----- End forwarded message -----
>
> --
> _________________________________________________________________
> / Nothing is fool-proof to a sufficiently talented fool \
> | wichert@wiggy.net http://www.liacs.nl/~wichert/ |
> | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** 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] 4+ messages in thread
* Re: [linux-lvm] kernel reports vg twice
2001-10-09 9:23 ` Heinz J . Mauelshagen
@ 2001-10-09 9:30 ` Wichert Akkerman
0 siblings, 0 replies; 4+ messages in thread
From: Wichert Akkerman @ 2001-10-09 9:30 UTC (permalink / raw)
To: linux-lvm
Previously Heinz J . Mauelshagen wrote:
> which LVM version are you using? 1.0.1 rc4 is recommended.
kernel or userland? kernel is whatever is in 2.4.10-acRecent
currently, none of the released patches applied to 2.4.10 or
an ac variant and I couldn't easily find a fix for that.
userland is 1.0.1rc3
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] kernel reports vg twice
2001-10-08 14:00 [linux-lvm] kernel reports vg twice Wichert Akkerman
2001-10-09 9:23 ` Heinz J . Mauelshagen
@ 2001-10-10 3:58 ` Andreas Dilger
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2001-10-10 3:58 UTC (permalink / raw)
To: linux-lvm
On Oct 08, 2001 16:00 +0200, Wichert Akkerman wrote:
> LVM still does not work for me on one of my machines work:
>
> cloud:/dev/discs/disc1# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found active volume group "vg_user"
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume group
>
> cloud:/dev/discs/disc1# vgchange -a y
> vgchange -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan
>
> I did a bit of looking around and it seems the confusement is in the
> kernel: when lvm_check_kernel_lvmtab_consistency() compares the kernel
> and the lvmtab entries the list from the kernel mentions the vg_user
> volume group twice, while the lvmtab only mentions it once. This
> results in an immediate abort and as a result I can't do anything
> with the LVM tools.
I take it that this is after a reboot?
Does "vgscan -d -v" process vg_user twice, or does "vgchange -a y -v -d"
send vg_user to the kernel twice? Don't know what else to say.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-10-10 3:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-08 14:00 [linux-lvm] kernel reports vg twice Wichert Akkerman
2001-10-09 9:23 ` Heinz J . Mauelshagen
2001-10-09 9:30 ` Wichert Akkerman
2001-10-10 3:58 ` Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).