Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using an ubuntu live cd to help me recover some data off of a hard drive. I used lshw -C disk to find out which device I need to copy, /dev/sda in this case.

I am using ddrescue -n to try and recover some data from a failing hard drive. It stops at 100GB of a 500GB hard drive. After it finishes sudo lshw -C disk does not print anything.

The next step in using ddrescue is to use sudo ddrescue -r 1 /dev/sda, but it reports there is no such file or directory.

What is going on; why is lshw failing to report anything?

Edit: Added sudo to relevant places.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

It looks like the way in which your disk is failing is so bad that the kernel becomes unable to keep communicating with the disk.

There are probably a lot of errors concerning the disk in /var/log/kern.log. If you post its contents here, people might have tips to help you recover more. (Post only the part from the first disk error, presumably triggered during the ddrescue -n, to the point where the kernel deactivates sda; if there's a long and repetitive bit in the middle, it's ok to cut the repetitions.) But don't expect miracles, there's a chance that the last 400GB are simply beyond recovery without spending thousands of dollars on a professional service.

share|improve this answer
    
Well I am not willing to spend that much for little gain. I This all happened on a live cd so the log files no longer exist. I will rerun and post later today. –  Davorak Nov 11 '10 at 18:05
add comment

Try running lshw as super user.

share|improve this answer
    
Thank you and sorry for not being specific I was using sudo with the command. –  Davorak Nov 11 '10 at 18:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.