* [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
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
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
1 sibling, 2 replies; 10+ messages in thread
From: Heine Laursen @ 2005-02-28 2:49 UTC (permalink / raw)
To: LVM general discussion and development
Heine Laursen wrote:
Is there no one who had similar experincence?
It's not like I'm going to hunt you down, if somthing goes wrong :-)
I would really apriceate any sugestion's. Granted that any is given,
else I have to hunt you down :-)
--
Sincerley
Heine Laursen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 2:49 ` Heine Laursen
@ 2005-02-28 2:55 ` David Mohr
2005-02-28 23:49 ` Dan Stromberg
1 sibling, 0 replies; 10+ messages in thread
From: David Mohr @ 2005-02-28 2:55 UTC (permalink / raw)
To: LVM general discussion and development
Hi Heine,
search the list archive, this topic comes up all the time. I haven't
had the trouble myself, but I've seen references to dd_rescue.
~David
On Mon, 28 Feb 2005 03:49:15 +0100, Heine Laursen
<maillist@gozar.dynu.com> wrote:
> Heine Laursen wrote:
>
> Is there no one who had similar experincence?
> It's not like I'm going to hunt you down, if somthing goes wrong :-)
> I would really apriceate any sugestion's. Granted that any is given,
>
> else I have to hunt you down :-)
>
> --
> Sincerley
> Heine Laursen
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
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 8:36 ` Patrick Caulfield
2005-02-28 11:19 ` go0ogl3
2005-02-28 17:14 ` Heine Laursen
1 sibling, 2 replies; 10+ messages in thread
From: Patrick Caulfield @ 2005-02-28 8:36 UTC (permalink / raw)
To: LVM general discussion and development
On Thu, Feb 24, 2005 at 09:16:20PM +0100, Heine Laursen wrote:
>
> How can I rescue as mutch data as possebill?
Restore from your backups ?
--
patrick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 8:36 ` Patrick Caulfield
@ 2005-02-28 11:19 ` go0ogl3
2005-02-28 17:16 ` Heine Laursen
2005-02-28 17:14 ` Heine Laursen
1 sibling, 1 reply; 10+ messages in thread
From: go0ogl3 @ 2005-02-28 11:19 UTC (permalink / raw)
To: LVM general discussion and development
Did you check the ATA/ide cable? Did you try to replace that cable or
to verify if the drive has one or more ide pins bent or shorted?
On Mon, 28 Feb 2005 08:36:36 +0000, Patrick Caulfield
<pcaulfie@redhat.com> wrote:
> On Thu, Feb 24, 2005 at 09:16:20PM +0100, Heine Laursen wrote:
> >
> > How can I rescue as mutch data as possebill?
>
> Restore from your backups ?
>
> --
>
> patrick
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 8:36 ` Patrick Caulfield
2005-02-28 11:19 ` go0ogl3
@ 2005-02-28 17:14 ` Heine Laursen
1 sibling, 0 replies; 10+ messages in thread
From: Heine Laursen @ 2005-02-28 17:14 UTC (permalink / raw)
To: LVM general discussion and development
Patrick Caulfield wrote:
> On Thu, Feb 24, 2005 at 09:16:20PM +0100, Heine Laursen wrote:
>
>>How can I rescue as mutch data as possebill?
>
>
> Restore from your backups ?
I don't have any backup!
--
Sincerley
Heine Laursen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 11:19 ` go0ogl3
@ 2005-02-28 17:16 ` Heine Laursen
2005-02-28 18:03 ` M. Matt Colgin
0 siblings, 1 reply; 10+ messages in thread
From: Heine Laursen @ 2005-02-28 17:16 UTC (permalink / raw)
To: go0ogl3, LVM general discussion and development
go0ogl3 wrote:
> Did you check the ATA/ide cable? Did you try to replace that cable or
> to verify if the drive has one or more ide pins bent or shorted?
Yes, I have tryed with 2 differnt controlers (onboard, and promse
controler) and 2 different ide cables. There are no pins who are bent.
Sincerley
Heine Laursen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 17:16 ` Heine Laursen
@ 2005-02-28 18:03 ` M. Matt Colgin
2005-03-01 0:02 ` langelino
0 siblings, 1 reply; 10+ messages in thread
From: M. Matt Colgin @ 2005-02-28 18:03 UTC (permalink / raw)
To: LVM general discussion and development
Hello Heine,
It sounds like you're in a bad spot. I've been having issues with
Maxtor drives as of late myself. In the past 2 months, I've had 4 die
and 2 WD. Be prepared. I haven't worked with LVM1, but you're probably
sounds independant of the LVM version at this point.
This bad spot... It's because the BIOS won't recognize the drive. The
only way to get anything off the disk is to get it recognized by the
computer, only then can you do some magical recovery stuff, like
dd_rescue.
Since you've already tried multiple controllers, the only thing I can
suggest is to try a different computer. The key is going to be
fiddling with the BIOS, only once you get the BIOS to recognize the
drive, will you be able to proceed. Pull everything out of of the
computer that isn't needed for running, that includes extra HD's,
controller cards, sounds cards, everything. Try the Auto-Detect in the
BIOS, if that doesn't work, try giving it the exact CHS parameters,
try different computers (some BIOS will detect it). Try the PowerMax
util from Maxtor, even if you can't get BIOS to quite recognize the
drive, just a quick test as you don't want to strain the drive much
more.
If you can get it to POST with the correct drive, use the dd_rescue
util and another drive. This will copy the old drive to a new one, at
a sector by sector level. It'll take a *very* long time, but you might
be able to get some data off the drive. But prepared for the worst and
you'll be excited if you get anything off.
As I said, I've had this happen quite a lot lately, with these crappy
Maxtor drives and their 1 year warranty. DD_rescue took 5 days on a
200 GB drive and was able to get 80% of the data off of the drive,
enough that I could bring up the VG in paritial mode and get a lot of
the data off, but alas a lot was lost too.
http://www.garloff.de/kurt/linux/ddrescue/
On Mon, 28 Feb 2005 18:16:32 +0100, Heine Laursen
<maillist@gozar.dynu.com> wrote:
> go0ogl3 wrote:
> > Did you check the ATA/ide cable? Did you try to replace that cable or
> > to verify if the drive has one or more ide pins bent or shorted?
>
> Yes, I have tryed with 2 differnt controlers (onboard, and promse
> controler) and 2 different ide cables. There are no pins who are bent.
>
> Sincerley
> Heine Laursen
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 2:49 ` Heine Laursen
2005-02-28 2:55 ` David Mohr
@ 2005-02-28 23:49 ` Dan Stromberg
1 sibling, 0 replies; 10+ messages in thread
From: Dan Stromberg @ 2005-02-28 23:49 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
This is what worked for me:
http://dcs.nac.uci.edu/~strombrg/EXT3-filesystem-recovery-in-LVM2.html
On Mon, 2005-02-28 at 03:49 +0100, Heine Laursen wrote:
> Heine Laursen wrote:
>
> Is there no one who had similar experincence?
> It's not like I'm going to hunt you down, if somthing goes wrong :-)
> I would really apriceate any sugestion's. Granted that any is given,
>
>
>
>
> else I have to hunt you down :-)
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM1 Bad harddisk. How do I het data off the Volume?
2005-02-28 18:03 ` M. Matt Colgin
@ 2005-03-01 0:02 ` langelino
0 siblings, 0 replies; 10+ messages in thread
From: langelino @ 2005-03-01 0:02 UTC (permalink / raw)
To: LVM general discussion and development
Maybe the Maxtor's "Powermax" can get your disk to remember its correct
specs. See
http://www.maxtor.com/portal/site/maxtor/menuitem.3c67e325e0a6b1f6294198b091346068/?channelpath=/en_us/Support/Software%20Downloads/ATA%20Hard%20Drives&downloadID=22&displayEULA=true
Annoyingly, you need a Windows box to create this utility disk.
Good luck
M. Matt Colgin wrote:
>Hello Heine,
>
>It sounds like you're in a bad spot. I've been having issues with
>Maxtor drives as of late myself. In the past 2 months, I've had 4 die
>and 2 WD. Be prepared. I haven't worked with LVM1, but you're probably
>sounds independant of the LVM version at this point.
>
>This bad spot... It's because the BIOS won't recognize the drive. The
>only way to get anything off the disk is to get it recognized by the
>computer, only then can you do some magical recovery stuff, like
>dd_rescue.
>
>Since you've already tried multiple controllers, the only thing I can
>suggest is to try a different computer. The key is going to be
>fiddling with the BIOS, only once you get the BIOS to recognize the
>drive, will you be able to proceed. Pull everything out of of the
>computer that isn't needed for running, that includes extra HD's,
>controller cards, sounds cards, everything. Try the Auto-Detect in the
>BIOS, if that doesn't work, try giving it the exact CHS parameters,
>try different computers (some BIOS will detect it). Try the PowerMax
>util from Maxtor, even if you can't get BIOS to quite recognize the
>drive, just a quick test as you don't want to strain the drive much
>more.
>
>If you can get it to POST with the correct drive, use the dd_rescue
>util and another drive. This will copy the old drive to a new one, at
>a sector by sector level. It'll take a *very* long time, but you might
>be able to get some data off the drive. But prepared for the worst and
>you'll be excited if you get anything off.
>
>As I said, I've had this happen quite a lot lately, with these crappy
>Maxtor drives and their 1 year warranty. DD_rescue took 5 days on a
>200 GB drive and was able to get 80% of the data off of the drive,
>enough that I could bring up the VG in paritial mode and get a lot of
>the data off, but alas a lot was lost too.
>
>http://www.garloff.de/kurt/linux/ddrescue/
>
>On Mon, 28 Feb 2005 18:16:32 +0100, Heine Laursen
><maillist@gozar.dynu.com> wrote:
>
>
>>go0ogl3 wrote:
>>
>>
>>>Did you check the ATA/ide cable? Did you try to replace that cable or
>>>to verify if the drive has one or more ide pins bent or shorted?
>>>
>>>
>>Yes, I have tryed with 2 differnt controlers (onboard, and promse
>>controler) and 2 different ide cables. There are no pins who are bent.
>>
>>Sincerley
>>Heine Laursen
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@redhat.com
>>https://www.redhat.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>>
>>
>>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@redhat.com
>https://www.redhat.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
>
>
^ 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.