[linux-lvm] Volume damaged, help please...

Kjetil H. Paulsen kjetil.paulsen at bouvet.no
Wed Dec 3 02:23:01 UTC 2003


Hi

Still struggling with the disk loss. My logical volume is still mounted:
(df -h -> /dev/vol_grp/big      244G   93G  141G  40% /stuff/archive)

I can read the data in volume, however, I can't write to it, not so
strange I guess since the size isn't really 244G, but more like 180G
after the disk loss. When I run a 
pvscan I get:

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/hdh"  is associated to unknown VG "vol_grp"
(run vgscan)
pvscan -- ACTIVE   PV "/dev/hde"  is associated to unknown VG "vol_grp"
(run vgscan)
pvscan -- ACTIVE   PV "/dev/hdf"  is associated to unknown VG "vol_grp"
(run vgscan)
pvscan -- ACTIVE   PV "/dev/hda" of VG "vol_grp_small" [21.05 GB / 0
free]
pvscan -- ACTIVE   PV "/dev/hdb" of VG "vol_grp_small" [28.62 GB / 0
free]
pvscan -- total: 5 [258.43 GB] / in use: 5 [258.43 GB] / in no VG: 0 [0]

Trying to run vgscan:
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vol_grp"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume group "vol_grp" from physical volume(s)
vgscan -- found active volume group "vol_grp_small"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
groups

So, getting a new disk of same type isn't an option, is there anyway
else I can repair this and reduce the logical volume and the file system
size without losing my data???
Any help appreciated.....


/kjetilhp




More information about the linux-lvm mailing list