Cp Reading 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 to any questions you might have Meta Discuss the workings and policies of this site About end of file while reading data input output error Us Learn more about Stack Overflow the company Business Learn more about hiring developers cp input output error mac or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and cp input output error linux answer 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 cp closing input output error and rise to the top cp fails to copy with errors “cp: error reading 'file': Input/output error” and "cp: failed to extend 'file': Input/output error up vote 2 down vote favorite I'm a user of Oracle Virtualbox on Ubuntu. And I used to copy vdi files as a kind of backup. Previously I did this (copying vdi file and then copying it back) many times without any problem.
Reading Directory Input Output Error
But today I experienced this error VirtualBox VMs/win_7$ cp ../../Bkps/win_7.vdi . cp: error reading ‘../../Bkps/win_7.vdi’: Input/output error cp: failed to extend ‘./win_7.vdi’: Input/output error I googled for this a little but from the advices on similar problems I undersood nothing unfortunately. Could anyone suggest how to solve this, please? The output from the dmesg is, (and I understand nothing from it) [ 2347.982876] ata1.00: exception Emask 0x0 SAct 0x1900406f SErr 0x0 action 0x0 [ 2347.982887] ata1.00: irq_stat 0x40000008 [ 2347.982895] ata1.00: failed command: READ FPDMA QUEUED [ 2347.982908] ata1.00: cmd 60/08:70:d0:da:f4/00:00:2e:00:00/40 tag 14 ncq 4096 in [ 2347.982908] res 41/40:08:d0:da:f4/00:00:2e:00:00/00 Emask 0x409 (media error)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Input Output Error During Read
Discuss the workings and policies of this site About Us Learn more input output error during read on /dev/sda about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & input output error during read on dev sda ubuntu 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://askubuntu.com/questions/509695/cp-fails-to-copy-with-errors-cp-error-reading-file-input-output-error-and 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 Can't copy files from a loop-mounted ISO image: Input/Output error up vote 1 down vote favorite Please advise - why do I get an "Input/output error" when http://unix.stackexchange.com/questions/97413/cant-copy-files-from-a-loop-mounted-iso-image-input-output-error I try to copy some files from my ISO mount to /var/tmp I mount the .iso file under /mnt and try to copy files from the isolinux directory to /var/tmp: [root@localhost tmp]# mount -o loop,ro RedHat-5.8.1-01_x32.iso /mnt [root@localhost tmp]# [root@localhost tmp]# cd /mnt [root@localhost mnt]# cd isolinux [root@localhost isolinux]# ls boot.cat general.msg isolinux.bin memtest param.msg splash.lss boot.msg initrd.img isolinux.cfg options.msg rescue.msg vmlinuz [root@localhost isolinux]# cp -rp vmlinuz initrd.img /var/tmp cp: reading `vmlinuz': Input/output error cp: reading `initrd.img': Input/output error linux mount iso share|improve this question edited Oct 24 '13 at 12:21 Joseph R. 21.6k24485 asked Oct 24 '13 at 12:13 yael 2328 3 It seems your ISO image is somehow corrupt. I tried this with a known-to-work Debian ISO image and it worked without problems. Incidentally, you don't really need the -r switch for your cp but that's not what's causing the problem. –Joseph R. Oct 24 '13 at 12:25 I agree that the most likely answer is corrupt media, but the next most likely, at least in my opinion, is a filesyst
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad https://ubuntuforums.org/showthread.php?t=1425834 Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] cp -r Input/Output error Having an Issue With Posting ? Do you want to output error help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: cp -r Input/Output error Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode March 9th, 2010 #1 dudemang View Profile View Forum Posts Private Message First Cup of Ubuntu Join input output error Date Feb 2010 Beans 6 cp -r Input/Output error Hey folks. I just installed a new 750 gb SATA hd into my machine. I have an old 200gb PATA with lots of files on it that I'd like to back up. When I try to cp -r (directory), sometimes files will copy over, but that majority of the files get Input/Output error. Any thoughts/suggestions? Adv Reply March 9th, 2010 #2 dudemang View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2010 Beans 6 Re: cp -r Input/Output error Problem resolved with a simple reboot. Ahh the joys of computers. Adv Reply March 9th, 2010 #3 cjhabs View Profile View Forum Posts Private Message Cookies and cream Join Date Jan 2010 Location CT USA Beans 397 DistroUbuntu 12.04 Precise Pangolin Re: cp -r Input/Output error Someone may correct me, but I think there are issues when copying files using cp, for example links are not retained, the linked file is copied instead. When I do something like this I use this convoluted, but reliable method: tar cvf - source | (cd destination; tar xv