Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dd_rhelp on damaged HD [SOlVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Fri Nov 23, 2007 4:19 pm    Post subject: dd_rhelp on damaged HD [SOlVED] Reply with quote

Hy, I'm trying the:
Code:
el-loco el-loco # dd_rhelp if=/dev/hdc of=/dev/hdb
'if=/dev/hdc' is not found.
dd_rhelp: error: 'if=/dev/hdc' is not accessible...
OK the HD has a lot of bad sectors, and also if I try to mount it on my gentoo I can do it waiting some minutes.
The problem I think is that the HD is very slow to acces and dd_rhelp fail with timeout...someone have any ideas??
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa


Last edited by Impalatore-polacco on Thu Nov 29, 2007 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Fri Nov 23, 2007 4:52 pm    Post subject: Reply with quote

but this seems more like the hard drive is not found altogether. first of all, is there a device /dev/hdc at all ? (can you see it with 'ls' etc, and get info using hdparm / cfdisk etc.) if indeed there is a hard drive and its bad, most probably there will be messages about in 'dmesg'. try looking through the messages about your hard drive in the output of dmesg. (ps : if you are using a kernel >=2.6.20 and not using old ide driver stack and instead the new libata drivers, your hard drive will appear as /dev/sdc etc instead of /dev/hda.) btw, what does dd_rhelp have in addition to standard dd ?
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Fri Nov 23, 2007 5:08 pm    Post subject: Reply with quote

no no no...my hd is: hdc, and the partition is: hdc1 (fat 32)
Code:
el-loco el-loco # fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hda1               1          63      506016   83  Linux
/dev/hda2              64         188     1004062+  82  Linux swap / Solaris
/dev/hda3             189        9964    78525720    5  Esteso
/dev/hda5             189         675     3911796   83  Linux
/dev/hda6             676        1162     3911796   83  Linux
/dev/hda7            1163        2622    11727418+  83  Linux
/dev/hda8            2623        9964    58974583+  83  Linux

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457   156288321    b  W95 FAT32

Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1       19457   156288321    c  W95 FAT32 (LBA)           <-------------


the problem is the timeout reading the device, the hd hasn't got any broken mechanics parts, only bad sectors.
I can mount the hdc1 on a directory on my filesystem, but is very slowly.
I need to know tell to dd_rhelp to wait more time for the device.
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Sun Nov 25, 2007 3:21 pm    Post subject: Reply with quote

Have you tried standard dd with conv=noerror,sync options instead?
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Mon Nov 26, 2007 12:01 pm    Post subject: Reply with quote

No, I have to try it, I'll check it this night.
THX
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
robinmarlow
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 167

PostPosted: Tue Nov 27, 2007 7:07 am    Post subject: Reply with quote

I had to do this recently too. I'd recommend ddrescue http://www.gnu.org/software/ddrescue/ddrescue.html instead of dd_rescue.

I left dd_rescue working on a drive for 3 days continuously before i gave up and ddrescue did it in 1 hour.

but maybe i just got lucky!

Robin
Back to top
View user's profile Send private message
Impalatore-polacco
Apprentice
Apprentice


Joined: 15 Apr 2007
Posts: 203
Location: Campogalliano - bell'ITALIA

PostPosted: Thu Nov 29, 2007 8:43 pm    Post subject: Reply with quote

Yep...I'veused this sw:
-ddrescue
-testdisk
-foremost
-and under M$ chkdsk [drive:] /F /V /R

THX robinmarlow :o
_________________
Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum