[linux-lvm] undocumented strange LVM behaviour

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Nov 27 16:10:02 UTC 2002


On Wed, Nov 27, 2002 at 07:43:46PM +0100, Daniel Zeiss wrote:
> vgcfgrestore be an option to restore my lvm?

No, this looks like a strange /proc/partitions problem (LVM tries to retrieve
device pathes from there and obviously fails on that).

Does "cat /proc/partitions" show any strangenesses ?

Regards,
Heinz    -- The LVM Guy --

> 
> 
> Daniel Zeiss wrote:
> 
>  > Hello,
>  >
>  > my lvm (2 partitions on 2 discs /dev/hde4 /devhdg2) on a Debian Woody
>  > Linux (2.4.18-686) shows some strange behaviour:
>  >
>  > After rebooting my computer, vgscan found an inactive "vg01" to be my
>  > volume group but vgchange -a y said:
>  >
>  > vgchange -- ERROR: can't get name(s) of physical volumes
>  > vgchange -- Please check, if /proc is mounted
>  >
>  > my /proc is mounted and in /proc/lvm /global is says:
>  >
>  > Total:  0 VGs   0 PVs   0 LVs  (LVs open)
>  > Global: 152 bytes malloced  IOP version 10   0:05:06 active
>  >
>  > I do _not_ use devfs, /dev is complete and working.
>  >
>  > My lvm are just my home dirs, so uncomming them in /etc/fstabs and
>  > rebooting brings my system up with kde now problem and root can log in
>  > and work (which it shouldnt do with kde, just testing).
>  >
>  > My / is on /dev/hde3, so it isnt a disc failure.
>  >
>  > the output of
>  >
>  > vgchange -a y -d
>  >
>  > is attached.
>  >
>  > What can I do to get my LVM up running _without_ dataloss?
>  >
>  > Thank you
>  >
>  > Daniel
>  >
>  >
> 
> 
> _______________________________________________
> 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