My external usb harddrive has 3 parition. 2 of them is fat 32 and 1 is ext4. I had to reinstall windows vista and when I went back to suse it doesn’t auto mount.
I honestly don’t know exactly what happen to it.
i did a fdisk -l and i tried mounting sdb1 and 5 but doesn’t seem to work.
the external hard drive is the 999.5gb. the ext4 had around 90 gig of space set to it.
If anyone can help me out on getting my data back i would gladly apperciate it. ^___^
Device Boot Start End Blocks Id System
/dev/sda1 21861 30402 68602880 7 HPFS/NTFS
/dev/sda2 * 1 21861 175592448 f W95 Ext’d (LBA)
/dev/sda5 1 262 2102272 82 Linux swap / Solaris
/dev/sda6 263 2873 20971520 83 Linux
/dev/sda7 2874 21861 152515584 83 Linux
On 2011-08-05 13:16, Miohotcakes wrote:
>
> i get some sort of error
>
>>
>> linux-pv2k:/home/mio # file -s /dev/sdb5
>> /dev/sdb5: ERROR: cannot read `/dev/sdb5’ (Input/output error)
>> linux-pv2k:/home/mio #
PLEASE: USE CODE TAGS!!!
I think you have a hardware problem with that disk. Cables or something.
Maybe there is more info in the log file. Otherwise, you will have to do a
hardware test, using the manufacturer test utility, or at least, smartctl.
** Do not attempt to post from that file without code tags **
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Ah I’m very sorry about the code tag i wasn’t very sure on how to use it.
I downloaded the Gui version of smartctl but unfortunately i think my hard drive needs a format because i can’t seem to be able to do any thing onto it. It just weird to me that when i switch back to windows my ext4 partition would failed. **** you windows ><.
On 2011-08-05 22:36, Miohotcakes wrote:
> I downloaded the Gui version of smartctl but unfortunately i think my
> hard drive needs a format because i can’t seem to be able to do any
> thing onto it.
smartctl is part of the distribution. Don’t try to format your hard disk
yet. IMO you will not be able to do it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
You have a bit strange setup (though it is workable). You can not mount sdb1 because it is the extended partition, which means that it holds other, so called logical, partitions. In this case it holds sdb5 (and has no more space to hold more). Now the* file -s *shows that there seems not not be very much usefull on that *sdb5. *I do not know exactly what file does when it tries to read it, but it fails miserably. That would mean imho that no ext4 file system can be found on it (nor any other type of file system). I am afraid almost nobody canguess what hapenedd to this partition, but to me it looks that all data is gone. Thus apart from you creating a new ext4 file system on it (e.g. by using YaST) and restoring from your backup, not much can be done. I hope you did follow the genral rule of making backups in f=general and particular when you are going to mess around with partitions or are going to install operating systems.
For the record, you could post the output of
cat /etc/fstab
to show what the system intends to do with that partition on boot (and what now fails).
On 2011-08-06 17:56, hcvv wrote:
>
> Thanks for the readable output
Indeed
> Now the- file -s -shows that there
> seems not not be very much usefull on that -sdb5. -I do not know exactly
> what -file- does when it tries to read it, but it fails miserably.
I expected something similar to this:
Telcontar:~ # file -s /dev/sda7
/dev/sda7: Linux rev 1.0 ext3 filesystem data (needs journal recovery)
(large files)
It recognizes the filesystem. He got a read error, which to me means
hardware error. He needs to run the long SMART test, or better, from the
test utility supplied by the manufacturer. Seagate, for example, publishes
a free to download iso image of a small bootable CD.
It would be unwise to try formating that partition before making certain
that it is a good disk.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
A further note, this thread does suggest a likely hardware issue with this hard disk, and you mention data that you have not backed up (your “family photos”),
At this point data recovery becomes more important than testing the hardware, you should only access this disk when attempting to save the data you need to another location.
Only when you have that data safely retrieved and stored should you run further tests on the disk.