All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
@ 2005-02-24 20:16 Heine Laursen
  2005-02-28  2:49 ` Heine Laursen
  2005-02-28  8:36 ` Patrick Caulfield
  0 siblings, 2 replies; 10+ messages in thread
From: Heine Laursen @ 2005-02-24 20:16 UTC (permalink / raw)
  To: linux-lvm

Hi.

One of my harddisks in my 2 harddisk LVM 1 setup, The bad harddisk is a 
120 GB Maxtor harddisk, who now identifies itself to the system as:
hde: Oaztor"6[120R0" " " " " " " " " " " " ", ATA DISK drive
The bios reports that the size of the harddisk is 80GB!

And of curse, I can't access any LVM volumes!

debian:~# pvscan -v
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- walking through all physical volumes found
pvscan -- inactive PV "/dev/hdf1"  is associated to unknown VG "vg" (run 
vgscan)
pvscan -- total: 1 [76.34 GB] / in use: 1 [76.34 GB] / in no VG: 0 [0]

debian:~# vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- reading data of volume group "vg" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of 
volume group "vg" 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

As I understand, I have to run vgcfgrestore to get access to the volume.
But what about the faulty hde, is it also possebill to get data off this 
disk?
debian:~# fdisk -l /dev/hde

Disk /dev/hde: 16 heads, 63 sectors, 16383 cylinders
Units = cylinders of 1008 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hde1         33289    271505 120060832+  8e  Linux LVM
/dev/hde2         33289     66578  16777472    0  Empty
Partition 2 does not end on cylinder boundary:
      phys=(2, 2, 0) should be (2, 15, 63)
/dev/hde3         33289     66578  16777472    0  Empty
Partition 3 does not end on cylinder boundary:
      phys=(2, 2, 0) should be (2, 15, 63)
/dev/hde4         33289     66578  16777472    0  Empty
Partition 4 does not end on cylinder boundary:
      phys=(2, 2, 0) should be (2, 15, 63)

How can I rescue as mutch data as possebill?
I do not have access to a spare harddisk to do a dd_rescue on.

I'm useinf debian woody, and LVM 1.
Please advice. I'm afraid i'll do more damage, than rescue!
Thanks.
-- 
Sincerley
Heine Laursen

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

end of thread, other threads:[~2005-03-01  0:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 20:16 [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume? Heine Laursen
2005-02-28  2:49 ` Heine Laursen
2005-02-28  2:55   ` David Mohr
2005-02-28 23:49   ` Dan Stromberg
2005-02-28  8:36 ` Patrick Caulfield
2005-02-28 11:19   ` go0ogl3
2005-02-28 17:16     ` Heine Laursen
2005-02-28 18:03       ` M. Matt Colgin
2005-03-01  0:02         ` langelino
2005-02-28 17:14   ` Heine Laursen

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.