LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2011, 07:03 AM   #46
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled

I tried knoppix.. but couldn't get to the GUI. The command line seems overwhelming.

Knoppix also got hung up.

the following was the messge -

Decompressing Linux.. Parsing ELF.. Done
Booting the Kernal..


The whole system got hanged.

Last edited by rajeefmk; 11-09-2011 at 07:13 AM.
 
Old 11-09-2011, 08:37 AM   #47
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
What about windows?
 
Old 11-09-2011, 08:45 AM   #48
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hello rng

Iäm now logged in from knoppix. I did a big mistake while downloading Knoppix iso file. i had downloaded the deutch version instead of the english. All keyboard controls are jumbled now.So i have kept a english iso file for download.

Meanwhile , could u help me how to obtain dd(underscore)rescue from the knoppix terminal ? Couldnt find anything from the net.
 
Old 11-09-2011, 08:56 AM   #49
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
You can get ddrescue of GNU from here: http://ftp.gnu.org/gnu/ddrescue/

And dd_rescue from here: http://www.garloff.de/kurt/linux/ddrescue/

The GNU version is generally preferred by linux experts, but re-read unSpawns instructions again about using ddrescue (GNU) or dd_rescue

Also try following commands to see if ddrescue or dd_rescue is already installed:

man ddrescue
ddrescue --help
ddrescue -h

Similar commands to check if dd_rescue is installed and available.

Last edited by rng; 11-09-2011 at 08:58 AM.
 
Old 11-09-2011, 09:06 AM   #50
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thank you rng for the suggestions you have been giving over weeks. Being a newcomer, i reallz appreciate it.
 
Old 11-09-2011, 09:09 AM   #51
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Info re both ddrescue and dd_rescue: http://www.cgsecurity.org/wiki/Damag...27dd_rescue.27

From above page:
The best solution - both faster and more efficient - seems to be Antonio Diaz's 'ddrescue' (ddrescue): http://savannah.gnu.org/projects/ddrescue/
# download ddrescue
wget http://download.savannah.gnu.org/rel...ue-1.8.tar.bz2
# extract the source code
tar xjf ddrescue-1.8.tar.bz2
# compile ddrescue
cd ddrescue-1.8
./configure && make
# first, grab most of the error-free areas in a hurry:
./ddrescue -n /dev/old_disk /dev/new_disk rescued.log
# then try to recover as much of the dicy areas as possible:
./ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log
-----------------------

Other links:

similar case of data recovery with ddrescue and testdisk: http://www.linuxquestions.org/questi...rescue-750209/

dd_rescue example: http://paulski.com/zpages.php?id=1913

running ddrescue on knoppix: http://forums.overclockers.com.au/sh...d.php?t=760520

using ddrescue for ntfs data recovery: http://ubuntuforums.org/showthread.php?t=284264

Last edited by rng; 11-09-2011 at 09:11 AM.
 
Old 11-09-2011, 10:36 AM   #52
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
i just ran dd_rescue in knoppix.

Did the first step as told by UnSpawn - fdisk -l

It is only showing sda and its partitions. Knoppix did not detect sdb.

Requesting help regarding as to what I should do next.. !!

What is your opinion about going forward with command lines given by unSpawn (eventhough sdb has not shown up) ?
 
Old 11-09-2011, 11:09 AM   #53
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Check in knoppix whether you are root by the command: whoami
You should be root for most system tasks.

Check whether /dev/sdb exists in your system by the command: ls -l /dev/sd*

If sdb exists then I think you can proceed. (The disk does not have to be mounted for ddrescue to work).

I like following commands from the page I mentioned; these are simpler:

# first, grab most of the error-free areas in a hurry:
./ddrescue -n /dev/old_disk /dev/new_disk rescued.log
# then try to recover as much of the dicy areas as possible:
./ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log

Try them if command given by unSpawn does not work. But in above commands a clean disk (new_disk) should be available. In your case the defective disk may be sdb (old_disk) and you will have to have a new disk (may be a flash drive or external hard disk) which may be sdc. So the first command will become:
./ddrescue -n /dev/sdb /dev/sdc rescued.log

This thread is in software section, where most users are not looking for recovery problems. You may put a new thread in general section, giving link to this thread- so that more users/experts can see and help you.

Last edited by rng; 11-09-2011 at 11:14 AM.
 
Old 11-09-2011, 11:46 AM   #54
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
I switched to root user and did fdisk -l but yet the sdb disk is not being detected.After all the purchases and setup, will everything be in vain ? Please give your valuable suggestion.
Also the disk was detected by BIOS.

I have also posted a link to the thread in Linux General as advised by rng.
 
Old 11-09-2011, 12:25 PM   #55
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
[QUOTE=rng;4519819]

Quote:
Check whether /dev/sdb exists in your system by the command: ls -l /dev/sd*
I checked it found the sdb listed.Thanks a lot rng. I´m goinf forward with the other commands.

Last edited by rajeefmk; 11-09-2011 at 12:26 PM.
 
Old 11-09-2011, 01:01 PM   #56
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
- Run 'sudo fdisk -l' to verify both disks are attached and verify disk size. If same order is kept your desktop disk (size 250GB) will be /dev/sda.
The sdb wasn´t listed but on checking with ls command got the sdb listed.



Quote:
- Create a mount point for your ("D :") NTFS partition to write to: 'sudo mkdir /recovery'.
- Mount it: 'sudo ntfs-3g -o noatime,nocompression /dev/sda5 /recovery'.
done

Quote:
Else:
- open another terminal window and run 'sudo tail -f /tail -f /var/log/messages'. This should show you any warnings the kernel emits.
Got the following error -

tail: "/ tail" can not be opened for reading: No such file or directory
tail: "/ var / log / messages" can not be opened for reading: No such file or directory


shall I proceed with dd_rescue ?
 
Old 11-09-2011, 02:26 PM   #57
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
Current update.. recovery in progress

Hello. This is the current progress displayed. Sorry for bloating the posts, but the attachment link was´t working. Iam worried about the succxfer and errxfer values..!!


Quote:
root@Microknoppix:~# dd_rescue -s 90G -l /recovery/dd_rescue.log -o /recovery/badblocks.log -f -v /dev/sdb /recovery/image.dd 2>&1 | tee /recovery/progress.log
dd_rescue: (info): about to transfer 0.0 kBytes from /dev/sdb to /recovery/image.dd
dd_rescue: (info): blocksizes: soft 65536, hard 512
dd_rescue: (info): starting positions: in 94371840.0k, out 94371840.0k
dd_rescue: (info): Logfile: /recovery/dd_rescue.log, Maxerr: 0
dd_rescue: (info): Reverse: no , Trunc: no , interactive: no
dd_rescue: (info): abort on Write errs: no , spArse write: if err
dd_rescue: (info): ipos: 94371840.0k, opos: 94371840.0k, xferd: 0.0k
errs: 0, errxfer: 0.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (info): problems at ipos 94371840.0k: Input/output error
fall back to smaller blocksize
dd_rescue: (info): ipos: 94371840.0k, opos: 94371840.0k, xferd: 0.0k
* errs: 0, errxfer: 0.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371840.0k): Input/output error!

dd_rescue: (info): ipos: 94371840.5k, opos: 94371840.5k, xferd: 0.5k
* errs: 1, errxfer: 0.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371840.5k): Input/output error!

dd_rescue: (info): ipos: 94371841.0k, opos: 94371841.0k, xferd: 1.0k
* errs: 2, errxfer: 1.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371841.0k): Input/output error!

dd_rescue: (info): ipos: 94371841.5k, opos: 94371841.5k, xferd: 1.5k
* errs: 3, errxfer: 1.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371841.5k): Input/output error!

dd_rescue: (info): ipos: 94371842.0k, opos: 94371842.0k, xferd: 2.0k
* errs: 4, errxfer: 2.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371842.0k): Input/output error!

dd_rescue: (info): ipos: 94371842.5k, opos: 94371842.5k, xferd: 2.5k
* errs: 5, errxfer: 2.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371842.5k): Input/output error!

dd_rescue: (info): ipos: 94371843.0k, opos: 94371843.0k, xferd: 3.0k
* errs: 6, errxfer: 3.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371843.0k): Input/output error!

dd_rescue: (info): ipos: 94371843.5k, opos: 94371843.5k, xferd: 3.5k
* errs: 7, errxfer: 3.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371843.5k): Input/output error!

dd_rescue: (info): ipos: 94371844.0k, opos: 94371844.0k, xferd: 4.0k
* errs: 8, errxfer: 4.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371844.0k): Input/output error!

dd_rescue: (info): ipos: 94371844.5k, opos: 94371844.5k, xferd: 4.5k
* errs: 9, errxfer: 4.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371844.5k): Input/output error!

dd_rescue: (info): ipos: 94371845.0k, opos: 94371845.0k, xferd: 5.0k
* errs: 10, errxfer: 5.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371845.0k): Input/output error!

dd_rescue: (info): ipos: 94371845.5k, opos: 94371845.5k, xferd: 5.5k
* errs: 11, errxfer: 5.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371845.5k): Input/output error!

dd_rescue: (info): ipos: 94371846.0k, opos: 94371846.0k, xferd: 6.0k
* errs: 12, errxfer: 6.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371846.0k): Input/output error!

dd_rescue: (info): ipos: 94371846.5k, opos: 94371846.5k, xferd: 6.5k
* errs: 13, errxfer: 6.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371846.5k): Input/output error!

dd_rescue: (info): ipos: 94371847.0k, opos: 94371847.0k, xferd: 7.0k
* errs: 14, errxfer: 7.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371847.0k): Input/output error!

dd_rescue: (info): ipos: 94371847.5k, opos: 94371847.5k, xferd: 7.5k
* errs: 15, errxfer: 7.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371847.5k): Input/output error!

dd_rescue: (info): ipos: 94371848.0k, opos: 94371848.0k, xferd: 8.0k
* errs: 16, errxfer: 8.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371848.0k): Input/output error!

dd_rescue: (info): ipos: 94371848.5k, opos: 94371848.5k, xferd: 8.5k
* errs: 17, errxfer: 8.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371848.5k): Input/output error!

dd_rescue: (info): ipos: 94371849.0k, opos: 94371849.0k, xferd: 9.0k
* errs: 18, errxfer: 9.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371849.0k): Input/output error!

dd_rescue: (info): ipos: 94371849.5k, opos: 94371849.5k, xferd: 9.5k
* errs: 19, errxfer: 9.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371849.5k): Input/output error!

dd_rescue: (info): ipos: 94371850.0k, opos: 94371850.0k, xferd: 10.0k
* errs: 20, errxfer: 10.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371850.0k): Input/output error!

dd_rescue: (info): ipos: 94371850.5k, opos: 94371850.5k, xferd: 10.5k
* errs: 21, errxfer: 10.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371850.5k): Input/output error!

dd_rescue: (info): ipos: 94371851.0k, opos: 94371851.0k, xferd: 11.0k
* errs: 22, errxfer: 11.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371851.0k): Input/output error!

dd_rescue: (info): ipos: 94371851.5k, opos: 94371851.5k, xferd: 11.5k
* errs: 23, errxfer: 11.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371851.5k): Input/output error!

dd_rescue: (info): ipos: 94371852.0k, opos: 94371852.0k, xferd: 12.0k
* errs: 24, errxfer: 12.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371852.0k): Input/output error!

dd_rescue: (info): ipos: 94371852.5k, opos: 94371852.5k, xferd: 12.5k
* errs: 25, errxfer: 12.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371852.5k): Input/output error!

dd_rescue: (info): ipos: 94371853.0k, opos: 94371853.0k, xferd: 13.0k
* errs: 26, errxfer: 13.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371853.0k): Input/output error!

dd_rescue: (info): ipos: 94371853.5k, opos: 94371853.5k, xferd: 13.5k
* errs: 27, errxfer: 13.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371853.5k): Input/output error!

dd_rescue: (info): ipos: 94371854.0k, opos: 94371854.0k, xferd: 14.0k
* errs: 28, errxfer: 14.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371854.0k): Input/output error!

dd_rescue: (info): ipos: 94371854.5k, opos: 94371854.5k, xferd: 14.5k
* errs: 29, errxfer: 14.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371854.5k): Input/output error!

dd_rescue: (info): ipos: 94371855.0k, opos: 94371855.0k, xferd: 15.0k
* errs: 30, errxfer: 15.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371855.0k): Input/output error!

dd_rescue: (info): ipos: 94371855.5k, opos: 94371855.5k, xferd: 15.5k
* errs: 31, errxfer: 15.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371855.5k): Input/output error!

dd_rescue: (info): ipos: 94371856.0k, opos: 94371856.0k, xferd: 16.0k
* errs: 32, errxfer: 16.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371856.0k): Input/output error!

dd_rescue: (info): ipos: 94371856.5k, opos: 94371856.5k, xferd: 16.5k
* errs: 33, errxfer: 16.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371856.5k): Input/output error!

dd_rescue: (info): ipos: 94371857.0k, opos: 94371857.0k, xferd: 17.0k
* errs: 34, errxfer: 17.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371857.0k): Input/output error!

dd_rescue: (info): ipos: 94371857.5k, opos: 94371857.5k, xferd: 17.5k
* errs: 35, errxfer: 17.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371857.5k): Input/output error!

dd_rescue: (info): ipos: 94371858.0k, opos: 94371858.0k, xferd: 18.0k
* errs: 36, errxfer: 18.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371858.0k): Input/output error!

dd_rescue: (info): ipos: 94371858.5k, opos: 94371858.5k, xferd: 18.5k
* errs: 37, errxfer: 18.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371858.5k): Input/output error!

dd_rescue: (info): ipos: 94371859.0k, opos: 94371859.0k, xferd: 19.0k
* errs: 38, errxfer: 19.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371859.0k): Input/output error!

dd_rescue: (info): ipos: 94371859.5k, opos: 94371859.5k, xferd: 19.5k
* errs: 39, errxfer: 19.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371859.5k): Input/output error!

dd_rescue: (info): ipos: 94371860.0k, opos: 94371860.0k, xferd: 20.0k
* errs: 40, errxfer: 20.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371860.0k): Input/output error!

dd_rescue: (info): ipos: 94371860.5k, opos: 94371860.5k, xferd: 20.5k
* errs: 41, errxfer: 20.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371860.5k): Input/output error!

dd_rescue: (info): ipos: 94371861.0k, opos: 94371861.0k, xferd: 21.0k
* errs: 42, errxfer: 21.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371861.0k): Input/output error!

dd_rescue: (info): ipos: 94371861.5k, opos: 94371861.5k, xferd: 21.5k
* errs: 43, errxfer: 21.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371861.5k): Input/output error!

dd_rescue: (info): ipos: 94371862.0k, opos: 94371862.0k, xferd: 22.0k
* errs: 44, errxfer: 22.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371862.0k): Input/output error!

dd_rescue: (info): ipos: 94371862.5k, opos: 94371862.5k, xferd: 22.5k
* errs: 45, errxfer: 22.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371862.5k): Input/output error!

dd_rescue: (info): ipos: 94371863.0k, opos: 94371863.0k, xferd: 23.0k
* errs: 46, errxfer: 23.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371863.0k): Input/output error!

dd_rescue: (info): ipos: 94371863.5k, opos: 94371863.5k, xferd: 23.5k
* errs: 47, errxfer: 23.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371863.5k): Input/output error!

dd_rescue: (info): ipos: 94371864.0k, opos: 94371864.0k, xferd: 24.0k
* errs: 48, errxfer: 24.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371864.0k): Input/output error!

dd_rescue: (info): ipos: 94371864.5k, opos: 94371864.5k, xferd: 24.5k
* errs: 49, errxfer: 24.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371864.5k): Input/output error!

dd_rescue: (info): ipos: 94371865.0k, opos: 94371865.0k, xferd: 25.0k
* errs: 50, errxfer: 25.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371865.0k): Input/output error!

dd_rescue: (info): ipos: 94371865.5k, opos: 94371865.5k, xferd: 25.5k
* errs: 51, errxfer: 25.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371865.5k): Input/output error!

dd_rescue: (info): ipos: 94371866.0k, opos: 94371866.0k, xferd: 26.0k
* errs: 52, errxfer: 26.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371866.0k): Input/output error!

dd_rescue: (info): ipos: 94371866.5k, opos: 94371866.5k, xferd: 26.5k
* errs: 53, errxfer: 26.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371866.5k): Input/output error!

dd_rescue: (info): ipos: 94371867.0k, opos: 94371867.0k, xferd: 27.0k
* errs: 54, errxfer: 27.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371867.0k): Input/output error!

dd_rescue: (info): ipos: 94371867.5k, opos: 94371867.5k, xferd: 27.5k
* errs: 55, errxfer: 27.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371867.5k): Input/output error!

dd_rescue: (info): ipos: 94371868.0k, opos: 94371868.0k, xferd: 28.0k
* errs: 56, errxfer: 28.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371868.0k): Input/output error!

dd_rescue: (info): ipos: 94371868.5k, opos: 94371868.5k, xferd: 28.5k
* errs: 57, errxfer: 28.5k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371868.5k): Input/output error!

dd_rescue: (info): ipos: 94371869.0k, opos: 94371869.0k, xferd: 29.0k
* errs: 58, errxfer: 29.0k, succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%
dd_rescue: (warning): /dev/sdb (94371869.0k): Input/output error!

Last edited by rajeefmk; 11-09-2011 at 02:27 PM.
 
Old 11-09-2011, 06:37 PM   #58
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Let dd_rescue finish and then see the size of file image.dd in /recovery directory.

Regarding tail: correct command should be: tail -f /var/log/messages

Some other useful links:

http://www.fedoraforum.org/forum/arc.../t-129081.html

http://www.ki.nu/software/.pkgsrc/at...-result-sample

http://codeidol.com/unix/knoppix/Rep...d-Hard-Drives/

http://www.debianadmin.com/recover-d...-dd_rhelp.html

Once image file is made:
to check: sudo fsck -y /mnt/hdb1/hda1_rescue.img
to mount recovered file: sudo mount -o loop /mnt/hdb1/hda1_rescue.img /mnt/rescued

But you are right that these values are of concern:
succxfer: 0.0k
+curr.rate: 0kB/s, avg.rate: 0kB/s, avg.load: 0.0%

Last edited by rng; 11-09-2011 at 07:22 PM.
 
Old 11-10-2011, 07:54 AM   #59
rajeefmk
Member
 
Registered: Nov 2011
Posts: 43

Original Poster
Rep: Reputation: Disabled
Unhappy

I´m atttaching the latest update from the dd_rescue which has been running for more than 17 hours. It has onlz processed 483k size files out of which all are error and no success.

Anz suggestions on my next step ?
Attached Files
File Type: txt update2.txt (59.9 KB, 20 views)
 
Old 11-10-2011, 08:28 AM   #60
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
It is obviously not working. I think you should interrupt it by control-C and try above mentioned commands which are simpler:

# first, grab most of the error-free areas in a hurry:
./ddrescue -n /dev/old_disk /dev/new_disk rescued.log
# then try to recover as much of the dicy areas as possible:
./ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log

There is a program called dd_rhelp (see links above) which works thru ddrescue but has simpler commands. Go through the links given above and try. I have limited experience in this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
testdisk and linux hard drive recovery software hedron Linux - Software 7 01-23-2012 10:48 PM
Disk recovery using testdisk Goodwater Linux - Newbie 2 06-28-2010 07:21 PM
Data recovery - photorec vs. testdisk vs. ddrescue? JStevenson Linux - Newbie 7 09-01-2009 03:27 PM
Winblows recovery partition issue linuxfanboy General 8 05-23-2009 11:48 AM
Has anyone beaten the recovery partition issue? aus9 Linux - Laptop and Netbook 23 09-04-2008 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration