On 03/06/2017 04:17 AM, Olivier Swinkels wrote: >> That sounds promising, as /etc was not on the array. >> I found a backup in /etc/lvm/backup/lvm-raid (contents shown below). Yay! That's exactly what you need. >> Unfortunatelly when I try to use it to restore the LVM I get the >> following error: >> vgcfgrestore -f /etc/lvm/backup/lvm-raid lvm-raid >> Aborting vg_write: No metadata areas to write to! >> Restore failed. You're command doesn't specify the device name of your reconstructed array. >> So I guess I also need to recreate the physical volume using: > > Correction: (Put the wrong ID in the pvcreate example): > pvcreate --uuid "DWv51O-lg9s-Dl4w-EBp9-QeIF-Vv60-8wt2uS" --restorefile > /etc/lvm/backup/lvm-raid > >> Is this correct? (I'm a bit hesitant with another 'create' command as >> you might understand.) I haven't actually had to do this operation but once, and I don't recall if the vgcfgrestore was sufficient. But either way, you simply didn't tell LVM where you are restoring TO. Phil -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html