LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2015, 03:19 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Rep: Reputation: 128Reputation: 128
error splicing file: input/output error


I was copying the contents of a flash drive to a folder. In the middle of it I got an error message:

'Error splicing file: input/output error'

and then it said 'do you want to skip or retry?' And the "all" button was there too. Anyway, I skipped. When I checked the folder, all my data seemed to be there.

Do you think it was?

I mean, what are the implications of the error message and of my "skipping" it?

Next up, when I looked at the contents of my flash drive all the folders and files have a lock icon on them. I can open the files but I can't edit them. And no, the lock switch on my flash drive is not pressed.

Any ideas?

Thanks.
 
Old 03-31-2015, 03:35 PM   #2
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Leap 42.2
Posts: 209

Rep: Reputation: 37
Just run the copy again with something like rsync to be sure. It'll only copy the changes.

What file system is on your flash drive? Run mount command to see if it was re-mounted read only after the error. That will explain the locks.
 
1 members found this post helpful.
Old 04-01-2015, 12:57 AM   #3
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by designator View Post
Just run the copy again with something like rsync to be sure. It'll only copy the changes.

What file system is on your flash drive? Run mount command to see if it was re-mounted read only after the error. That will explain the locks.
Thanks designator. I don't have rsync so I couldln't do that, but here's the deal: when I took the flash drive off and put it back on the lock icons were gone.

I checked the run mount command and it's "read & write." (see 013 screenshot)But the flash drive is very old (It's only 125MB) and very loaded. see screenshot So I'm wondering if it's just dying of old age and overburdening. They're theories anyway.

A little more info. see screenshot 014. I replicated the copying. I noticed the copying stopped on a certain file (the one whose icon is blacked out in the screen shot--and it's yellow highlighted). That's where I got the output/input error. I tried 'retry' and still got the error. Then I picked 'skip' and the copying continued uninterrupted.

What happened was (see arrow) that file was already in that folder. So it was sensing it as a duplicate. Why it chose that particular file (because all those 'flash fiction tab photos' are in the folder) folder I don't know.

The results of the skipping was that the file has 0 kb. But it's still in the folder so no big deal.

Why the lock icon thing happened is still a mystery to me.
Attached Thumbnails
Click image for larger version

Name:	Selection_013.png
Views:	86
Size:	33.5 KB
ID:	17963   Click image for larger version

Name:	Selection_014.png
Views:	115
Size:	110.4 KB
ID:	17964  

Last edited by Gregg Bell; 04-01-2015 at 01:27 AM. Reason: more info
 
Old 04-01-2015, 01:35 PM   #4
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Leap 42.2
Posts: 209

Rep: Reputation: 37
Since the flash drive is so old, it is possible it has bad sectors or similar corruption issues. Easiest way to check is to move the data off the drive and format it using the slow method. It overwrites the whole disk with zeroes and will immediately tell you if there are sectors of the drive that are bad.
 
Old 04-01-2015, 09:50 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by designator View Post
Since the flash drive is so old, it is possible it has bad sectors or similar corruption issues. Easiest way to check is to move the data off the drive and format it using the slow method. It overwrites the whole disk with zeroes and will immediately tell you if there are sectors of the drive that are bad.
I get the move the data off the drive part, but the formatting using the slow method I don't know.
 
Old 04-02-2015, 02:43 AM   #6
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Leap 42.2
Posts: 209

Rep: Reputation: 37
I'm sure Ubuntu includes a utility to format disks. Just search for format or something similar. Try right clicking on the drive - the option to format may be there. When you run it, there is usually a box for quick format. Make sure it's unchecked. File system will most likely be FAT or FAT32.

If not, I can also give you commands to run on the terminal, but you need to understand them well since formatting erases data and you want to be absolutely sure that you're running them on correct disk.
 
1 members found this post helpful.
Old 04-03-2015, 12:43 AM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,659

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by designator View Post
I'm sure Ubuntu includes a utility to format disks. Just search for format or something similar. Try right clicking on the drive - the option to format may be there. When you run it, there is usually a box for quick format. Make sure it's unchecked. File system will most likely be FAT or FAT32.

If not, I can also give you commands to run on the terminal, but you need to understand them well since formatting erases data and you want to be absolutely sure that you're running them on correct disk.
Thanks designator. I need to do a little research into that but I'm sure I'll figure it out. Actually I did it once before so I'll just have to re-learn it. Appreciate all your help.
 
  


Reply

Tags
copying


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error Splicing File: Input/Output Error - Cannot Copy imayneed Linux - Software 19 02-28-2016 10:44 AM
NFS Large File Copies Fail - Error writing to file: Input/output error deck- Linux - Server 7 07-27-2013 11:14 AM
pdf Error splicing file: Input/output error PeterUK Ubuntu 7 04-04-2013 01:47 AM
input/output error on grub.conf file on raid1 boot partition desimo Linux - Server 2 06-25-2007 08:53 AM
Can't rm file with Input/Output error drlaz Linux - General 0 02-23-2005 06:06 PM


All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration