[linux-lvm] Re: vgdisplay -D bug (?)

Heinz J. Mauelshagen Heinz.Mauelshagen at t-online.de
Mon Oct 2 10:29:45 UTC 2000


On Mon, Oct 02, 2000 at 04:52:22PM +0900, IIDA,MASANARI (HP-Japan,ex2) wrote:
> Hello 
> 
> I found something wrong with vgdisplay status output.
> If I put -D option, vgdisplay ALWAYS report the VG is "NOT available"

This is a known behaviour, because the "-D" options of several LVM commands
are ment to display the on disk metadata rather than the in core one.

On disk the metatdata contains the information that the volume group
is inactive.
That's why it is displayed as inactive.

-- 

Regards,
Heinz      -- The LVM guy --

> 
> Distribution RH7(beta)
> Linux Kernel 2.4.0-test6
> LVM commands  0.8 final
> 
> (problem detail)
> 
> (A)  VG is NOT active.
> use "vgdisplay -D" ===> VG status    NOT available / resizable
> 
> (B)  VG is active
> use "vgdisplay -D" ===> VG status    NOT available / resizable
> 
> (C)  VG is active 
> use "vgdisplay" ===>  VG status   available  /  resizable
> 
> (A) and (C) are OK.
> But I think the output of the case (B) should be 
> VG status available / resizable , or the vgdisplay command would
> like to add some messages like "The VG is active. you don't need to add -D"
> .
> 
> I am not sure if you can duplicate the problem.
> But this test should be very easy for you.
> 
> ==========
> And when I compile the LVM commands on the RH7, I need to change
> Man path in the Makefile. As you know, RH7 has been changed to FHS.
> 
> Regards,
> 
> MASA (masanari Iida at hp.com)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
Mauelshagen at Sistina.com                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list