On 07/10/2019 17:42, David Teigland wrote: > On Mon, Oct 07, 2019 at 05:25:15PM +0100, lejeczek wrote: >> hi guys >> >> I have a VG which I try to restore: >> >> $ vgcfgrestore --file /etc/lvm/archive/chenbro0.0_00308-2121179640.vg chenbro0.0 >> /dev/mapper/chenbro_a: Checksum error at offset 428544 >> Couldn't read volume group metadata from /dev/mapper/chenbro_a. >> Metadata location on /dev/mapper/chenbro_a at 428544 has invalid summary for VG. > The latest upstream version of lvm has some improvements to help recover > from problems like this. So, you could try building lvm 2.03.05, and > running 'vgck --updatemetadata'. Otherwise, the old approach has been to > use pvcreate with --restorefile and --uuid, followed by vgcfgrestore. > (I'd experiment with that using some test devices if possible.) > Dave > > _______________________________________________ > linux-lvm mailing list > linux-lvm@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ also, is it possible to stop monitoring, or stop whatever is responsible for flooding the logs with: ... lrmd[14636]: notice: chenbro0.1-raid5_monitor_20000:419255:stderr [ Couldn't read volume group metadata from /dev/mapper/chenbro_m. ] ... for a time being? many thanks, L.
Attachment:
pEpkey.asc
Description: application/pgp-keys
_______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/