[linux-lvm] vgchange -ay --partial fails

chris cspot at gmx.at
Fri Jun 16 22:07:57 UTC 2006


hi!

i still have a broken volume and i still have the wish to get at least  
some data back before dropping the whole configuration.

the very promising way "partial" failed, i could not mount the broken  
volume.

what else can be done?
can I fake the missing device (i.e. write the uuid)?

thx, chris

the comlete shell output:
kistl:/etc/lvm# pvscan
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   PV /dev/hde1        VG media_volgrp   lvm2 [232,88 GB / 0    free]
   PV /dev/hdg1        VG media_volgrp   lvm2 [232,88 GB / 0    free]
   PV /dev/hdd1        VG media_volgrp   lvm2 [232,88 GB / 0    free]
   PV unknown device   VG media_volgrp   lvm2 [232,88 GB / 0    free]
   PV /dev/hda3        VG media_volgrp   lvm2 [224,91 GB / 456,00 MB free]
   PV /dev/hdb1                          lvm2 [232,88 GB]
   Total: 6 [1,36 TB] / in use: 5 [1,13 TB] / in no VG: 1 [232,88 GB]
kistl:/etc/lvm# vgchange -ay --partial
   Partial mode. Incomplete volume groups will be activated read-only.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   1 logical volume(s) in volume group "media_volgrp" now active
kistl:/etc/lvm# lvscan
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find all physical volumes for volume group media_volgrp.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find all physical volumes for volume group media_volgrp.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find all physical volumes for volume group media_volgrp.
   Couldn't find device with uuid 'A57CS6-SFlw-1ROR-uIvO-cX2o-OE2g-N3SVZN'.
   Couldn't find all physical volumes for volume group media_volgrp.
   Volume group "media_volgrp" not found
kistl:/etc/lvm# mount /dev/mapper/media_volgrp-media_vol
mount: wrong fs type, bad option, bad superblock on  
/dev/mapper/media_volgrp-media_vol,
        or too many mounted file systems
        (could this be the IDE device where you in fact use
        ide-scsi so that sr0 or sda or so is needed?)




More information about the linux-lvm mailing list