Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2009, 04:38 AM
|
#1
|
LQ Newbie
Registered: Oct 2009
Distribution: xubuntu
Posts: 3
Rep:
|
lost access to vfat formated external HD - input/output error
Hi all,
I did not find the solution to my problem reading other posts so I apologize in advance if this question has been solved in a previous thread...
I recently started having input/output errors when trying to access directories on my external HD. Today I moved the content of my external HD to a single directory before starting a backup. Since then I can not access this backup directory anymore although the external HD automatically mounts when I turn it on.
> ls: cannot access backup_all: Input/output error
fdisk -l returns the following
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x20b9746a
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13560 102513568+ 83 Linux
/dev/sdc2 13561 20519 52610040 5 Extended
/dev/sdc5 13561 20519 52610008+ b W95 FAT32
and mount for this partition returns:
/dev/sdc1 on /media/EXTERNAL type vfat (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=1001)
I tried to run fschk.vfat /dev/sdc and it gave me:
Logical sector size is zero.
I tried my luck starting the external HD in Windows but it wont show up in the explorer. What should I do to be able to mount it in windows and is there any way this would fix the problem?
I'm running xubuntu kernel v 2.6.27-14-generic and the external HD is an acomdata. Any help would be greatly appreciated!! Thanks in advance
|
|
|
10-10-2009, 06:14 AM
|
#2
|
Member
Registered: May 2008
Posts: 97
Rep:
|
One should never run a file system check on a mounted partition. Unmount the partitions and run a file system check.
Secondly,
/dev/sdc1 * 1 13560 102513568+ 83 Linux
reports as a Linux File system on /dev/sdc1 where as,
Quote:
/dev/sdc1 on /media/EXTERNAL type vfat (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=1001)
|
says it's FAT32.
I believe the next step you should be taking is backing up the data, unmounting the partitions and run a file system check on them.
|
|
|
10-10-2009, 08:14 PM
|
#3
|
LQ Newbie
Registered: Oct 2009
Distribution: xubuntu
Posts: 3
Original Poster
Rep:
|
Hey Eth1,
Thanks a lot for your reply. I don't think I ran the file system check on the mounted partition but as you pointed out "fdisk -l" and "mount" show some inconsistencies regarding the type of file system used on /dev/sdc1. I'll try to get a hand on some disk space as soon as possible and hopefully these input/output errors wont keep me from backing up the partition...
Alexis
|
|
|
10-10-2009, 08:58 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,440
|
The id indicator in the partition table is just that - an indicator. The filesystem type recognised by mount will be (mostly) correct. You can also use something "blkid" to confirm.
I would be more concerned about that geometry - a disk that big should be LBA. 240 heads doesn't look right.
|
|
|
10-12-2009, 01:15 AM
|
#5
|
LQ Newbie
Registered: Oct 2009
Distribution: xubuntu
Posts: 3
Original Poster
Rep:
|
Thank you Syg00 and sorry for the late reply. I checked the output of blkid for the external HD and it does indeed return the same file format as mount. So it's "vfat" but I dont quite understand why the device isn't recognized in Windows... is there any point backing up what seems to be a corrupted partition? How does one normally go about fixing that? Thanks again!
Alexis
|
|
|
All times are GMT -5. The time now is 04:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|