Cannot Access HDD
I have a P4 running Ubuntu 10.04LTS. It has 2 HDD's; 160 GB SATA2 for Windows and a 300 GB SATA2 for Ubuntu. The PC refused to start yesterday so I booted it with 10.04LTS on a live CD. The system sees both drives and the 160GB one is accessable, but the 300GB is seen, but not accessable.
Am I able to recover data form this drive; I only want one Thunderbird mailbox and one directory of correspondence. Yes, I know I should have backed it up a week ago! Any help will be very much appreciated. Here are the messages: Unable to mount 294 GB Filesystem DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. When an attempt is made to access the drive this is the message: Unable to mount 294 GB Filesystem DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending GParted reports this: /dev/sdc2 ext4 273.70 GiB size 187.01 GiB used Disk Utility Error checking filesystem on volume An error occurred while performing an operation on "294 GB Filesystem" (Partition 1 of ATA ST3300622AS): The device is busy There is already a job running It also reports 24 bad sectors. |
:twocents:
After you back up your data. I would suggest a couple of steps. I would suggest boot via parted majic and run diagnostic to determine if it is a hardware problem. If not the next step I would try is boot again from the live Ubuntu disk and reinstall grub. |
Member Response
Hi,
You should boot 'single' user mode then run 'fsck' on the filesystem or use the LiveCD to run 'fsck' on the file system in question. This will insure no conflicts. Excerpt from 'man fsck'; Quote:
|
Gary,
Many thanks for your suggestions, as a consequence I used e2fsck, not fsck, as the drive in question has an ext4 filesystem. Here is the command and the message: ubuntu@ubuntu:~$ sudo e2fsck -p /dev/sdc2 e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdc2 Could this be a zero-length partition? ubuntu@ubuntu:~$ I will now look at your suggested guides, and also read up on the other command options. I hope that the record of the file structure was not contained in the reported 24 bad sectors. Regards Allan |
Member Response
Hi,
Quote:
Quote:
Quote:
You might test the hdd with the manufactures diagnostic set. HTH! |
If fsck fails, it's not good. You can try using ddrescue to image the partition to a good drive and then carve data from the image using testdisk or foremost.
|
After startup from live CD, ubuntu 10.04LTS, single user. The drive appears to be busy, even though I haven't mounted it.
ubuntu@ubuntu:~$ sudo e2fsck -f /dev/sdc1 e2fsck 1.41.11 (14-Mar-2010) e2fsck: Device or resource busy while trying to open /dev/sdc1 Filesystem mounted or opened exclusively by another program? ubuntu@ubuntu:~$ umount /dev/sdc1 umount: /dev/sdc1 is not mounted (according to mtab) Output from Disk Utility File system check on "294 GB Filesystem" (Partition 1 of ATA ST3300622AS) completed File system is NOT clean. Then tried mounting /sdc, the message: Error mounting volume An error occurred while performing an operation on "294 GB Filesystem" (Partition 1 of ATA ST3300622AS): The device is busy Details A job is pending on /dev/sdc1 I have also run dumpe2fs, and then taken the second superblock, as below: ubuntu@ubuntu:~$ sudo dumpe2fs /dev/sdc1 | grep -i superblock > sblock.txt dumpe2fs 1.41.11 (14-Mar-2010) ubuntu@ubuntu:~$ sudo e2fsck -f -b32768 /dev/sdc1 e2fsck 1.41.11 (14-Mar-2010) e2fsck: Device or resource busy while trying to open /dev/sdc1 Filesystem mounted or opened exclusively by another program? ubuntu@ubuntu:~$ I have, as H_TexMex_H taken a copy of a rescue CD but not used it yet. Many thanks and regards printf("goodbye, Dennis"); The Economist's Headline for Dennis Ritchie's Obituary |
Member Response
Hi,
Try one of these LiveCD; Quote:
|
The Ultimate Boot CD has given me access to the HDD and I have been able to retrieve all of the files I wanted, plus some. It is a far easier job with the right tools.
Many thanks for your help, I really appreciate it. Regards Allan |
Member Response
Your Welcome!
|
All times are GMT -5. The time now is 03:44 AM. |