Linux External Hard Drive Input Output Error
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn input/output error linux more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges
Input/output Error Ubuntu
Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a ubuntu input output error external hard drive minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Something went wrong with my external HD (Ubuntu can't mount it) up vote input/output error centos 6 down vote favorite 2 Here is my output from the fdisk command: sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00043809 Device Boot Start End Blocks Id System /dev/sda1 * 2048 973105151 486551552 83 Linux /dev/sda2 973107198 976771071 1831937
Cannot Access Input/output Error
5 Extended /dev/sda5 973107200 976771071 1831936 82 Linux swap / Solaris Disk /dev/sdb: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x5387f1b4 Device Boot Start End Blocks Id System /dev/sdb1 2048 625140399 312569176 7 HPFS/NTFS/exFAT From my limited knowledge of Ubuntu--I'm guessing my external is being detected by my OS, but it's not being mounted. Backstory: I was trying to use an ISO file that I had on my external using AcetoneISO--then everything froze up. I forced a shut down/reboot, then when I rebooted, my HD wouldn't mount. It didn't even give me an error message, it just didn't work. What's up? Help? EDIT: @Alaa: I was just about to add this info. I have just tried manually mounting my drive, and this is the output: $ sudo mkdir /media/TOSHIBA_EXT $ sudo mount -t ntfs-3g /dev/sdb1 /media/TOSHIBA_EXT ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read $MFTMirr: Input/output error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAI
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company input output error ubuntu usb Business Learn more about hiring developers or posting ads with us Unix & Linux Questions how to fix input output error in linux Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD
Ntfs_attr_pread_i: Ntfs_pread Failed: Input/output Error
and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Input/output http://askubuntu.com/questions/332263/something-went-wrong-with-my-external-hd-ubuntu-cant-mount-it error” when accessing a directory up vote 39 down vote favorite 9 I want to list and remove the content of a directory on a removable hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot remove `pic/006.jpg': Input/output error rm: cannot remove `pic/008.jpg': Input/output error rm: cannot remove `pic/011.jpg': Input/output error $ ls -la pic ls: cannot access pic/60.jpg: Input/output error -????????? ? ? ? http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory ? ? 006.jpg -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 011.jpg I was wondering what the problem is? How can I recover or remove the directory pic and all of its content? My OS is Ubuntu 12.04, and the removable hard drive has ntfs filesystem. Other directories not containing or inside pic on the removable hard drive are working fine. Added: Last part of output of dmesg after I tried to list the content of the directory: [19000.712070] usb 1-1: new high-speed USB device number 2 using ehci_hcd [19000.853167] usb-storage 1-1:1.0: Quirks match for vid 05e3 pid 0702: 520 [19000.853195] scsi5 : usb-storage 1-1:1.0 [19001.856687] scsi 5:0:0:0: Direct-Access ST316002 1A 0811 PQ: 0 ANSI: 0 [19001.858821] sd 5:0:0:0: Attached scsi generic sg2 type 0 [19001.861733] sd 5:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB) [19001.862969] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.865223] sd 5:0:0:0: [sdb] Cache data unavailable [19001.865232] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.867597] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.869214] sd 5:0:0:0: [sdb] Cache data unavailable [19001.869218] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.891946] sdb: sdb1 [19001.894713] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.895950] sd 5:0:0:0: [sdb] Cache data unavailable [19001.895953] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.895958] sd 5:0:0:0: [sdb] A
/ Output Error with USB Drive Issues related to hardware problems Post Reply Print view Search Advanced search 7 posts • Page 1 of 1 crock http://www.centos.org/forums/viewtopic.php?t=49718 Posts: 6 Joined: 2014/07/22 13:41:40 [SOLVED] Input / Output Error with USB https://linuxexpresso.wordpress.com/2011/09/20/howto-fix-an-ntfs-partition-in-ubuntu/ Drive Quote Postby crock » 2014/11/20 12:58:33 500GB Seagate USB Hard Drive - attempting to mount it on my Centos 6.6 box. I want to be very clear - this drive works 100% flawlessly on other machines (both windows and other linux flavors)During mount attempts, I'm getting Input/Output Errors. output error I have no idea what I'm doing wrong here.I've got the following packages installed directly from EPEL:Code: Select all(1/2): ntfs-3g-2014.2.15-6.el6.x86_64.rpm | 258 kB 00:00
(2/2): ntfsprogs-2014.2.15-6.el6.x86_64.rpm | 235 kB 00:00
I can use the following command to mount it (and it mounts successfully):Code: Select all$ sudo input output error ntfs-3g /dev/sdd1 /mnt/usbI just cannot read or write anything to it.Code: Select all$ ls /mnt/usb
ls: reading directory .: Input/output errorI however *CAN* write to it on my Fedora20 and Windows7 boxes. Can anyone give me an idea as to what I'm doing wrong? The Fedora20 box has the same RPMs installed.I have the Seagate Diagnostic tools installed on my Windows7 box and it passes every single diagnostic test.I have even zero'd the thing out, reformatted NTFS and still no luck. Any help is appreciated! Last edited by crock on 2014/11/21 12:16:09, edited 1 time in total. Top aks Posts: 1995 Joined: 2014/09/20 11:22:14 Re: Input / Output Error with USB Drive Quote Postby aks » 2014/11/20 17:11:40 I had this one recently. I had previously installed the ntfs fuse driver via rpmforge (naughty me) and I ended up having to remove it, disable rpmforge and install all the nfs stuff from elrepo - then it worked fine. I think the rpmforge fuse driver was "marked" as a later version than the EPEL one, so yum installed that everytime until I d
only reason I wrote it is because it was something that happened to me now and again. But what about dual boots? What happens when your NTFS drive goes beserk, and you only have access to your Ubuntu install? Well, finally, I've come across a solution. Now, before we begin, this HowTo assumes that your Ubuntu install is working as normal, and that the NTFS partition isn't essential to Ubuntu. It's also possible (though I've not yet tried) to follow this HowTo using Parted Magic. First, we need to find out what partition we are dealing with. To do this, open a terminal and type; sudo fdisk -l That'll give you something like this; Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x2709a320 Device Boot Start End Blocks Id System /dev/sdb1 * 1 19457 156288321 7 HPFS/NTFS /dev/sd1 is in this case the NTFS drive we'll be working with. Obviously change this to whatever yours is. If your partition isn't listed here, or appears to be the wrong size, you'll need to use TestDisk. Next, you need to install some software called "ntfsprogs". You can do this through Synaptic or on the command line using; sudo apt-get install ntfsprogs There's just one last step. sudo ntfsfix /dev/sdb1 With any luck, you should see the following; Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/sdb1 was processed successfully. And that's it! Go try to mount you NTFS partition, and it should work again as normal. If not, feel free to leave a comment below. Share this:TwitterFacebookGoogleLike this:Like Loading... Related Filed under: Debian, HowTo, Operating Systems, Ubuntu |17Comments Tags: Debian, fix, HowTo, NTFS, partition, postaweek2011, Ubuntu 17 Responses to "HOWTO: Fix an NTFS partition inUbuntu" Feed for this Entry 1 Ron Bell on October 16, 2011 said: I have followed your instructions faithfully in this article as well as the previous posting: HOWTO: Repair a broken Ext4 Superblock in Ubuntu No luck. The superblock numbers did not work. The Ubuntu 10.10 Disk Utility shows the MAXTOR partitition as Partition Type - Empty (0x00), Type - FAT (32 bit