Re: ruined partition. Can data be recovered?
- From: ray <ray@xxxxxxxxxx>
- Date: Fri, 27 Jan 2006 09:37:25 -0700
On Fri, 27 Jan 2006 07:19:35 +0000, Leo (Bing) Whiteway wrote:
> My system is AMD 1600 XP with 512 megs ram, a 200 gig ide hard drive, an Aopen
> dvd/cd/rw and a D-link router/adsl modem.
>
> I have been having troubles with my hard drive or cables or motherboard.
> The problems with my hard drive were I was getting dma errors and often the
> drive could not be found by the bios.I replaced the 80 wire cable 6 times with
> no reliable results. I have now installed a 40 wire cable and it seems more
> reliable.
>
> In trying to fix my problem I have somehow made a partition unreadable.
>
> It is a spare partition that I was saving data to. I have only partially saved
> one dvd of data but the drive had 18 gigs and I would really like to restore it
> or maybe get the data back.
>
> I have run e2fsck /dev/hda20 and the result is this:
>
> root@okv:/home/leo# e2fsck /dev/hda20
> e2fsck 1.38-WIP (09-May-2005)
> A20: Attempt to read block from filesystem resulted in short read while reading
> block 520
>
> A20: Attempt to read block from filesystem resulted in short read reading
> journal superblock
>
> e2fsck: Attempt to read block from filesystem resulted in short read while
> checking ext3 journal for A20
>
> I then ran: dmesg | tail and the next is what I got;
>
> leo@okv:~$ dmesg | tail
> hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=321396457, high=19,
> low=2629353, sector=321396456
> ide: failed opcode was: unknown
> end_request: I/O error, dev hda, sector 321396456
> Buffer I/O error on device hda, logical block 40174557
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=356566902, high=21,
> low=4245366, sector=356566898
> ide: failed opcode was: unknown
> end_request: I/O error, dev hda, sector 356566898
> JBD: IO error reading journal superblock
> EXT3-fs: error loading journal.
> leo@okv:~$
I have recovered partitions from a disk with a corrupted partition table
and bad block errors. I did:
1) ran sfdisk to identify the offsets and sizes of the partitions
2) used dd to save data to a file, using offsets to get to the partitions
and sizes to capture the whole partition. Also used conv=noerror to keep
it from stopping on error and conv=sync to fill in bad blocks with nulls.
3) loop mount the file to which I captured the data.
At this point, you can fsck the loop mounted file and recover data.
My experience was with reiser partitions and reiserfsck reported back no
errors on the loop mounted file system.
.
- Follow-Ups:
- Re: ruined partition. Can data be recovered?
- From: Leo (Bing) Whiteway
- Re: ruined partition. Can data be recovered?
- References:
- ruined partition. Can data be recovered?
- From: Leo (Bing) Whiteway
- ruined partition. Can data be recovered?
- Prev by Date: Re: ruined partition. Can data be recovered?
- Next by Date: Re: ruined partition. Can data be recovered?
- Previous by thread: Re: ruined partition. Can data be recovered?
- Next by thread: Re: ruined partition. Can data be recovered?
- Index(es):
Relevant Pages
|