Fix Input Output Error
Contents |
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
Input/output Error Linux
this site About Us Learn more about Stack Overflow the company Business input/output error ubuntu Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question
Input/output Error Centos
_ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's ubuntu input output error external hard drive how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Input/output 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': ntfs_attr_pread_i: ntfs_pread failed: input/output error 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 -????????? ? ? ? ? ? 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
in Ubuntu. Have you ever stumbled upon Input/Output error in Ubuntu or any other Linux distros? If so this might be one of the possible means to fix it. All
Input Output Error Ubuntu Usb
you have to do is chown the drive. The error started a day how to fix input output error in linux before when I was transferring all my games from my primary drive to the External hard drive. The games
Input Output Error External Hard Drive Linux
in total was 600 GB+ in size and took hours as transferring from SSD to regular Segate Harddrive, the SSD performance doesn't play much role in speeding up the transfer. Those http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory games aren't for Linux, all windows therefore I had no use for it whatsoever in Linux so I was backing it up for later use. If it was regular harddrive to SSD, you could literally see the increase in data transfer speed/rate. I also heard this is one of the regular problems for people who Torrent via. Transmission in Ubuntu. I have https://prashant.me/how-to-fix-input-output-error-in/ not played much with Torrent but I must confess, it is an amazing way to transfer large data, no denying that. I downloaded my Ubuntu installation image via. Torrent and trust me, it was faster than regular HTTP download. If you have multiple external drives, enter the command below to make sure which one you are trying to chown. It's nothing special, just to check your drive's name. cd /media && ls For me the output was Now that I know my drive's name is scarecrow, I can simply chown it with command sudo chown scarecr0w:scarecr0w /media/scarecrow scarecr0w is my Ubuntu's username and the scarecrow in /media/scarecrow is the name of the drive. The formatting is the same for you, simply understand what the parameters mean. sudo chown username:username drive_path Now, to test if it solved the problem, simply do what you did before which triggered the error. Good Luck! Scarecr0w's Picture Scarecr0w A college student, a freelancer, heavy gamer, rock music fan and a monetizer. Here and there! http://prashant.me Share this post Twitter Google+ rss feed say hello about us Knowledgebase! Subscribe! Knowledgebase! © 2016
#1 2013-06-15 11:24:02 epaaj Member Registered: 2011-08-10 Posts: 5 [SOLVED] Disk crash - Input/output error - Error reading blocks Hi guys,I need some help recovering data from a https://bbs.archlinux.org/viewtopic.php?id=165237 disk that I believe either is completely broken already or it will soon be.It started when trying to browse a specific folder. When i ran "ls" in it I got "Input/output error" for all folders in it. I could not list anything within the folder.I unmounted the hard drive immediately.I noticed several rows with these in dmesg:"[607277.950354] Buffer output error I/O error on device sdb1, logical block 23320""dd if=/dev/sdb1 of=/mnt/backup/location" gives me about 44kB and then it thinks it is done. The drive is 500GB and almost full. Only one partition.Disk /dev/sdb: 500.1 GB, 500107862016 bytes, 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): input output error 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000621d7 Device Boot Start End Blocks Id System /dev/sdb1 * 63 976768064 488384001 83 Linux"sudo e2fsck -f /dev/sdb1" gives:e2fsck 1.42.7 (21-Jan-2013) e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb1 Could this be a zero-length partition?Ran "sudo dumpe2fs /dev/sdb1 | grep -i superblock" to find the superblock locations:Primary superblock at 0, Group descriptors at 1-30 Backup superblock at 32768, Group descriptors at 32769-32798 Backup superblock at 98304, Group descriptors at 98305-98334 Backup superblock at 163840, Group descriptors at 163841-163870 Backup superblock at 229376, Group descriptors at 229377-229406 Backup superblock at 294912, Group descriptors at 294913-294942 Backup superblock at 819200, Group descriptors at 819201-819230 Backup superblock at 884736, Group descriptors at 884737-884766 Backup superblock at 1605632, Group descriptors at 1605633-1605662 Backup superblock at 2654208, Group descriptors at 2654209-2654238 Backup superblock at 4096000, Group descriptors at 4096001-4096030 Backup superblock at 7962624, Group descriptors at 7962625-7962654 Backup superblock at 11239424, Group descriptors at 11239425-11239454 Backup superblock at 20480000, Group descriptor