All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Hard disk failure, restore problem
@ 2004-03-12  5:18 Thomas Berton
  2004-03-15 12:47 ` Heinz Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Berton @ 2004-03-12  5:18 UTC (permalink / raw)
  To: linux-lvm

Hi,
I've recently encountered some problems with my LVM.

I had (and still have) a bad hd /dev/hda (used part. /dev/hda1)

I started:
    pvmove /dev/hda1 /dev/hdf1
yet the hd gave an error and I had to reboot.

I have a metadata backup made before I've started the move.

The volume group name is bigspace, yet the 'dir' /dev/bigspace/bigspace1 
is also gone...

now I got
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdg1" is in no VG  [74.53 GB]
pvscan -- inactive PV "/dev/hde1" is in no VG  [149.05 GB]
pvscan -- inactive PV "/dev/hdf1" is in no VG  [149.05 GB]
pvscan -- inactive PV "/dev/hdc1" is in no VG  [111.79 GB]
pvscan -- inactive PV "/dev/hdd1" is in no VG  [74.53 GB]
pvscan -- inactive PV "/dev/hda1" is in no VG  [74.53 GB]
pvscan -- inactive PV "/dev/hdb1" is in no VG  [74.53 GB]
pvscan -- total: 7 [708 GB] / in use: 0 [0] / in no VG: 7 [708 GB]

yet if I do the restore I get

I also did a pvcreate -ff /dev/hdx1 for every disk... I've read 
somewhere that should fix it. yet id did not.

pvscan -- inactive PV "/dev/hda1"  is associated to unknown VG 
"bigspace" (run vgscan)

vgscan gives
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of 
volume group "bigspace" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
group

there is a LOT of data on this array of disk (as you can imagine)

sometimes, hda is working good, so i hope it want to work long enough to 
restore the data.

My guess now is to make a new vg and add those disks... but I want to be 
sure, so I don't lose the data.

Any suggestions to recover the data or to replace the broken harddisk 
with a new one with as little data loss as possible.

Regards,
Thomas.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-17 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-12  5:18 [linux-lvm] Hard disk failure, restore problem Thomas Berton
2004-03-15 12:47 ` Heinz Mauelshagen
2004-03-15 20:52   ` Thomas Berton
2004-03-17 14:34     ` Heinz Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.