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

Christoph Berger chberger at pool.informatik.rwth-aachen.de
Tue Oct 16 16:19:38 UTC 2001


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20011016/532c07bf/attachment.htm>


More information about the linux-lvm mailing list