[linux-lvm] LVM recovery
melinda at phys.unsw.edu.au
Wed Jul 16 19:39:02 UTC 2003
I haven't yet recieved any advice on how to recover any of the data on
my remaining 2 of 4 disks but i think I know what to do.....think.....
I originally setup the system with the following steps:
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
- pvcreate /dev/sda2 ; pvcreate /dev/sdb1; pvcreate /dev/sdc2; pvcreate
- vgcreate vg01 /dev/sda2 /dev/sdb1 /dev/sdc2 /dev/sdd2
- check no of LE pvdata -E /dev/sdc2 (5710 LE)
lvcreate -l 5711 -n lv03 vg01 /dev/sdc2
- Make ext3 fs on each LV
/dev/sda2 and /dev/sdb1 are kaput (both drives died within days of
I believe I had 4 logical volumes.
in my volume group.
So I presume this means each LV resided on a separate drive and probably
lv01 and lv02 were the 2 on the 2 dead disk drives.
* PVs on four SCSI devices
* A VG called "vg01" comprised of said PVs
If I reinstall lvm on my newly installed system can I recover lv03 and
I have had a search and see something called importvg which I think may
be what I need.
Had anyone ever had any experience recovering a volume group with
I have backups of my lvm config but it seems like lvmtab etc are all
binary files, are they of any use to me?
More information about the linux-lvm