Linux Cp Cannot Create Regular File 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 ls: reading directory .: input/output error to any questions you might have Meta Discuss the workings input/output error nfs and policies of this site About Us Learn more about Stack Overflow the company Business Learn
Error Creating Directory: Input/output Error
more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer
Fsck
site for Ubuntu users and developers. 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 while executing cp command up vote 1 down vote favorite I'm new chmod in Linux I'm trying to follow a steps for install ROS on UDOO and I have the next problem. When I try to download and unpack ubuntu 13.04 i have the next problems: the command line is: babil0nia@ubuntu:/mnt/sdcard$ wget http://cdimage.ubuntu.com/ubuntu-core/releases/13.04/release/ubuntu-core-13.04-core-armhf.tar.gz tar xzf ubuntu-core-13.04-core-armhf.tar.gz and returns: --2014-03-24 01:05:08-- http://cdimage.ubuntu.com/ubuntu-core/releases/13.04/release/ubuntu-core-13.04-core-armhf.tar.gz Resolving cdimage.ubuntu.com (cdimage.ubuntu.com)... 91.189.92.164, 2001:67c:1360:8c01::20 Connecting to cdimage.ubuntu.com (cdimage.ubuntu.com)|91.189.92.164|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 35939978 (34M) [application/x-gzip] ubuntu-core-13.04-core-armhf.tar.gz: Input/output error Cannot write to `ubuntu-core-13.04-core-armhf.tar.gz' (Input/output error). --2014-03-24 01:05:11-- http://tar/ Resolving tar (tar)... failed: Name or service not known. wget: unable to resolve host address `tar' --2014-03-24 01:05:21-- http://xzf/ Resolving xzf (xzf)... failed: Name or service not known. wget: unable to resolve host address `xzf' --2014-03-24 01:05:31-- http://ubuntu-core-13.04-core-armhf.tar.gz/ Resolving ubuntu-core-13.04-core-armhf.tar.gz (ubuntu-core-13.04-core-armhf.tar.gz)... failed: Name or service not known. wget: unable to resolve host address `ubuntu-core-13.04-core-armhf.tar.gz' babil0nia@ubuntu:/mnt/sdcard$ cd babil0nia@ubuntu:~$ cp u u-boot-q.imx ubuntu-core-13.04-core-i386.tar.gz ubuntu-core-13.04-core-armhf.tar.gz uImage babil0nia@ubuntu:~$ cp u u-boot-q.imx ubuntu-core-13.04-core-i386.tar.gz ubuntu-core-13.04-core-armhf.tar.gz uImage babil0nia@ubuntu:~$ cp ubuntu-
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 ads with us Unix & 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 http://askubuntu.com/questions/438422/input-output-error-while-executing-cp-command 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 error” when accessing a directory up vote 39 down vote favorite 9 I want to list and remove the content of a directory on http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory 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 -????????? ? ? ? ? ? 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.8
cannot create regular file `file2': Input/output errorThis occurs sometimes and it occurs when I am giving the command inside aexternal hard disk which is mounted by "ntfs-3g" manually.Why does this error http://grokbase.com/t/centos/centos/111ez03am2/input-output-error-while-copy come?-------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.centos.org/pipermail/centos/attachments/20110114/fdc4db19/attachment.html reply Tweet Search Discussions http://www.gossamer-threads.com/lists/gentoo/user/79475 Search All Groups centos 5 responses Oldest Nested Robert Spangler I believe it is self explanatory. Looks like you don't have write permissions on the drive. Check your permissions. -- Regards Robert Linux The adventure of a lifetime. Linux User #296285 Get Counted http://counter.li.org/ Robert Spangler at Jan 14, 2011 at 9:58 am ⇧ output error On Friday 14 January 2011 04:01, Ritika Garg wrote:When I give the command "cp file1 file2" then the error comes:cp: cannot create regular file `file2': Input/output errorThis occurs sometimes and it occurs when I am giving the command inside aexternal hard disk which is mounted by "ntfs-3g" manually.Why does this error come?I believe it is self explanatory. Looks like you don't have write permissionson the drive. Check your linux cp cannot permissions.--RegardsRobertLinuxThe adventure of a lifetime.Linux User #296285Get Countedhttp://counter.li.org/ reply | permalink John Hodrien Since when does Input/output error equate to a permissions problem? If that's the case, surely that's a bug in ntfs-3g as it's returning the wrong error code. jh John Hodrien at Jan 14, 2011 at 10:06 am ⇧ On Fri, 14 Jan 2011, Robert Spangler wrote:On Friday 14 January 2011 04:01, Ritika Garg wrote:When I give the command "cp file1 file2" then the error comes:cp: cannot create regular file `file2': Input/output errorThis occurs sometimes and it occurs when I am giving the command inside aexternal hard disk which is mounted by "ntfs-3g" manually.Why does this error come?I believe it is self explanatory. Looks like you don't have writepermissions on the drive. Check your permissions.Since when does Input/output error equate to a permissions problem? If that'sthe case, surely that's a bug in ntfs-3g as it's returning the wrong errorcode.jh reply | permalink Gene Brandt What was your mount command? Who is the owner of the exported file system? -- Thanks, Gene Brandt SCSA 8625 Carriage Road River Ridge, LA 70123 home 504-737-4295 cell 504-452-3250 Family Web Page | My Web Page | LinkedIn | Facebook | Resumebucket -------------- n
Post #1 of 3 (134 views) Permalink Can Not Copy files, cp: cannot create regular file When I try to copy file to my other computer over the network I get an error: cp: cannot create regular file The same is when I try to use rsync (to make a backup) ./ failed to set permissions on "/home/joseph/mnt/syscon1/business/file.txt": Input/output error failed to set permissions on "/home/joseph/mnt/syscon1/business/HomePage/.directory": Input/output error I twas working just find few days ago (and I did not change any settings). Did anybody have a similar experience? -- #Joseph -- gentoo-user [at] gentoo mailing list BKWalker at drbsystems Dec27,2004,8:22AM Post #2 of 3 (132 views) Permalink RE: Can Not Copy files, cp: cannot create regular file [In reply to] > -----Original Message----- > From: Joseph [mailto:syscon [at] interbaun] > Sent: Monday, December 27, 2004 10:20 AM > To: gentoo > Subject: [gentoo-user] Can Not Copy files, cp: cannot create > regular file > > > When I try to copy file to my other computer over the network I get an > error: > cp: cannot create regular file How are you connecting 'over the network'? > The same is when I try to use rsync (to make a backup) > ./ > failed to set permissions on > "/home/joseph/mnt/syscon1/business/file.txt": Input/output > error failed to set permissions on > "/home/joseph/mnt/syscon1/business/HomePage/.directory": > Input/output error What is mounted at /home/joseph/mnt? Is this an SMB share? > I twas working just find few days ago (and I did not change > any settings). Did anybody have a similar experience