Hi, I'm really hoping that someone can help.
For a decade I've had my entire life stored on two 5TB disks in a raid1 configuration. Each disk is partitioned into three corresponding partitions:
-
50GB /
-
4GB swap
-
4.94TB LVM
/dev/md2 is / and /dev/md3 is the physical volume for the LVM. (They used to be md0 and md1, but last time a disk died and I replaced it, the md devices renumbered themselves - I never understood why but it worked so I didn't complain.)
The LVM has one VG, which has four LVs (/home, /srv, /usr/local and /var).
Yesterday sdb died. So I ordered a new one, unplugged it and rebooted. (They are USB disks btw - those Seagate Expansion Desk thingies.)
This time the md devices didn't renumber themselves, they're still md2 and md3. md2 is fine (albeit degraded, having only one drive present). But the system is working fine - a few services didn't start because various bits of /var were missing but after recreating them all is ok.
The problem is that all the LVM info has vanished. /dev/mapper is empty, pvscan and vgscan and lvscan all return nothing at all. /dev/sda3 is alive and well and still an active part of /dev/md3 (which, like md2, is clean and degraded).
/etc/lvm/backup contains a 2535-byte file called fatboy-VG1 (fatboy is the name of the machine), dated 7th December last year.
Can anyone tell me how to go about extracting the LVM info - either from that backup file or from /dev/sda3 itself - to recreate my volumes?
Otherwise I have lost everything - photos, correspondence, absolutely everything.
Thanks. Apologies if I have failed to provide obvious info - I don't know where to start.