Input Output Error Terminal
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 this site About Us Learn more about Stack
Ls Input Output Error Linux
Overflow the company Business Learn more about hiring developers or posting ads with us Unix rm cannot remove input output error linux & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for
Input/output Error Ubuntu
users of Linux, FreeBSD 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 input output error external hard drive 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': 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 ls: cannot access input/output error 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 [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] Cac
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 more about hiring developers or posting
Ls Reading Directory . Input/output Error Ubuntu
ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a input output error mac external hard drive question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can
Ubuntu Input Output Error External Hard Drive
ask a question Anybody can answer The best answers are voted up and rise to the top Cannot delete an empty directory in OSX up vote 6 down vote favorite This post is a little lengthy, sorry. The short version is: http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory I have a directory that I can't delete. Terminal gives, "input/output error," when I try to interact with it. I've scanned the disk for errors and none are found. The root of the problem seems to be that the system thinks this is a link, when in fact it's a directory. How can I delete it? Story mode: I have a directory called "media" on my desktop, into which I mounted another directory via SSH (fuse/sshfs). The connection was lost while the directory was http://superuser.com/questions/411952/cannot-delete-an-empty-directory-in-osx open. Finder crashed, and the directory disappeared from the desktop. It's still there, however: Desktop mike$ ls -1 media templates Desktop mike$ mkdir media mkdir: media: File exists Almost everything I try to do to the directory gives me an, "input/output" error: Desktop mike$ ls -i ls: media: Input/output error Desktop mike$ sudo rm -rf media rm: media: Input/output error Desktop mike$ sudo unlink media unlink: media: Input/output error Desktop mike$ sudo chmod 777 media chmod: media: Input/output error Desktop mike$ touch media touch: media: Input/output error cd ./media cd: error retrieving current directory: getcwd: cannot access parent directories: Input/output error I get the same if I try to remount the remote SSH directory: fuse: bad mount point `./media/': Input/output error Even though it's not visible on the desktop or in Finder, I can search and find it. Right-clicking the search result doesn't offer a delete option -- only open and properties. Properties shows created and modified time (correctly) and a blank icon. I can also chose to open the item, in which case it gives me: "The alias 'media' can't be opened because the original item can't be found. Delete, Fix, or OK." When I try delete, the same dialog keeps popping back up; choosing fix asks to select a new item to link to. Doing this reports: "Unknown error -1407," which Google tells me means, "Expected a folder but got a file." I can move the directory, but only if I keep it on the desk
HDD) Pages: 1 #1 2010-04-25 18:21:29 murfMan Member Registered: 2009-10-27 Posts: 161 [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) Im having a weird issue regarding my https://bbs.archlinux.org/viewtopic.php?id=95994 external (ntfs) hdd.there is one file on the drive which i cannot get rid ofit keeps giving me:rm: cannot access file_name Input/Output errorwhenever i do ls -lart on it i get:-????????? ? ? ? ? ? file_namei tried fschk on the drive and got: sudo fsck /dev/disk/by-label/New\x20Volume Password: fsck from util-linux-ng 2.17.2 fsck: fsck.ntfs: not found fsck: output error Error 2 while executing fsck.ntfs for /dev/sdc2any suggestions?thanks Last edited by murfMan (2010-04-25 20:11:16) Offline #2 2010-04-25 19:21:28 skottish Forum Fellow From: Here Registered: 2006-06-16 Posts: 7,932 Re: [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) For the first part, look into rm by inode number. Offline #3 2010-04-25 19:51:45 murfMan Member Registered: 2009-10-27 Posts: 161 input output error Re: [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) ls -li ls: cannot access file_name: Input/output error total 0 ? -????????? ? ? ? ? ? file_name Offline #4 2010-04-25 20:10:41 murfMan Member Registered: 2009-10-27 Posts: 161 Re: [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) i ended up just plugging it into a windows machine and scanning the file-system for errors. I was then able to remove the file. i don't think fsck works with ntfs drives. Offline #5 2010-04-25 20:57:49 Knute Member From: Minot, ND Registered: 2009-03-17 Posts: 604 Re: [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) You would need the ntfs apps on your system; such as: ntfs-3g or ntfsprogs My guess is that you didn't have that on your machine; a supposition that is supported by fsck.ntfs not being found. Knute Offline Pages: 1 Index »Applications & Desktop Environments »[SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) Board footer Jump to Newbie Corner Installation Kernel & Hardware Applications & Desktop