[linux-lvm] Remount a LVM Vol after a system crash

Heinz J . Mauelshagen mauelshagen at sistina.com
Tue Oct 16 21:40:34 UTC 2001


Christoph,

I assume that you are suffering from a PE missalignent flaw which was
in 0.9 Beta 7.

Please update to the recent LVM version available at www.sistina.com.
Follow the information in INSTALL and PATCHES/README to get your SuSE system
updated. You need to have the kernel source package and the gcc packages
installed in order to be able to do this.

Regards,
Heinz    -- The LVM Guy --


On Tue, Oct 16, 2001 at 06:19:38PM +0200, Christoph Berger wrote:
> Hello,
> A few days ago my system crashes and i’ve used LVM v 0.8 with one volume
> group(server), two physical volumes(hda6, hdb6) and one logical
> volume(dev/server/ftp)
> Now i’ve installed Suse 7.2 with LVM v 0.9 Beta7, but i can’t mount the
> logical volume.
> The error message is:
> # mount /dev/server/ftp /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/server/ftp,
>        or too many mounted file systems
>  
> I get the following outputs from my system:
>  
> # vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found active volume group "server"
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume
> group
>  
> # pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE   PV "/dev/hda6" of VG "server" [37.78 GB / 0 free]
> pvscan -- ACTIVE   PV "/dev/hdb5" of VG "server" [41.92 GB / 0 free]
> pvscan -- total: 2 [79.71 GB] / in use: 2 [79.71 GB] / in no VG: 0 [0]
>  
> # pvdisplay /dev/hda6
> --- Physical volume ---
> PV Name               /dev/hda6
> VG Name               server
> PV Size               37.78 GB / NOT usable 3.75 MB [LVM: 267 KB]
> PV#                   1
> PV Status             available
> Allocatable           yes (but full)
> Cur LV                1
> PE Size (KByte)       4096
> Total PE              9671
> Free PE               0
> Allocated PE          9671
> PV UUID               /dev/h-da6
>  
> # pvdisplay /dev/hdb5
> --- Physical volume ---
> PV Name               /dev/hdb5
> VG Name               server
> PV Size               41.93 GB / NOT usable 3.45 MB [LVM: 271 KB]
> PV#                   2
> PV Status             available
> Allocatable           yes (but full)
> Cur LV                1
> PE Size (KByte)       4096
> Total PE              10732
> Free PE               0
> Allocated PE          10732
> PV UUID               /dev/h-db5
>  
> # vgchange -ay
> vgchange -- volume group "server" already active
>  
> # lvchange -ay /dev/server/ftp
> lvchange -- logical volume "/dev/server/ftp" is already active
> lvchange -- availability of logical volume "/dev/server/ftp" doesn't
> have to be changed
> lvchange -- logical volume "/dev/server/ftp" didn't have to be changed
>  
>  
> I’ve tried to follow the instructions of the mailing list article, i’ve
> found at http://www.geocrawler.com/archives/3/3500/2001/4/0/5655568/
> But it doesn’t work, After vgchange –ay I get an error message, too,
> like
>  
> vgcfgrestore -- ERROR: different structure size stored in
> "/etc/lvmconf/export.conf"
> than expected in file vg_cfgrestore.c [line 
> > 120]
> > vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group
> "export"
>  
> I hope you can help me,
> Thanks 
> Christoph 

*** 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