Cannot Remove Mtab Input/output Error
Contents |
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System rm cannot remove input output error linux (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Using Fedora
Ls Input Output Error Linux
cannot remove `file': Input/output error FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us!
Rm Input/output Error Mac
Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum. Google™
Cannot Access Input/output Error
Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 21st January 2011, 02:56 AM daviddoria Offline Registered User Join Date: Oct 2007 Posts: 884 cannot remove `file': Input/output error When running rm cannot remove input/output error ntfs rsnapshot tonight it failed with a bunch of cannot remove `file': Input/output error errors. I navigated to the directory and tried to delete it manually and I got the same errors. I tried with 'sudo rm directory'. How else can I delete this directory? What would cause a situation like this? Thanks, David daviddoria View Public Profile Find all posts by daviddoria #2 21st January 2011, 03:02 AM forkbomb Offline Registered User Join Date: May 2007 Location: U.S. Posts: 4,851 Re: cannot remove `file': Input/output error I/O errors thrown while manipulating files usually indicates a failing storage device. What does 'dmesg' say? EDIT: You could try booting from a LiveCD, mounting the file system, and deleting it from there. While you're booted up from LiveCD run a fsck on the file system (not while it's mounted, of course). __________________ - Tom "What is freedom? To have the will to be responsible for one's self." - Stirner forkbomb View Public Profile Visit forkbomb's homepage!
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta ls reading directory . input/output error ubuntu Discuss the workings and policies of this site About Us Learn more ls cannot access input/output error redhat about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix cp cannot stat input/output error & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating http://forums.fedoraforum.org/showthread.php?t=257816 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 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 http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory 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 -????????? ? ? ? ? ? 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
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 external (ntfs) hdd.there is one file on the drive https://bbs.archlinux.org/viewtopic.php?id=95994 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 http://linux.bigresource.com/General-cannot-remove-lt-directory-gt-039-Input-output-error--nyXKKG5lT.html 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: 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 output error 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 Re: [SOLVED] rm: cannot remove file Input/Output error (NTFS HDD) ls -li ls: cannot access file_name: Input/output error total 0 ? -????????? ? ? ? ? ? rm cannot remove 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 Environments Laptop Issues Networking, Server, and Protection Multimedia and Games System Administration Other Architectures Announcements, Package & Security Advisories Arch Discussion Forum & Wiki discussion Pacman & Package Upgrade Issues [testing] Repo Forum Creating & Modifying Packages AUR Issues, Discussion & PKGBUILD Requests GNU/Linux Discussion Community Contributions Programming & Scripting Other Languages Artwork and Scre
directory, which was sent to .Trash-root of that disk.I went to .Trash-root and did rm -rf to completely delete that directory, but I got the following error: cannot remove `