LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2012, 11:31 AM   #1
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Rep: Reputation: Disabled
Error Splicing File: Input/Output Error - Cannot Copy


When I try to copy from this disk, it is giving me input/output error.
When I reboot, and start gparted, it is showing me no errors.
But when I start the copy procedure, gparted doesn't see it anymore and it becomes unmountable.
gptsync is informing that there is no gpt partition table, though there should be.
If the problem is gpt partition table, how can I fix it or can I fix it?
At least how can I copy the files to another drive so that I can format it?
The drive is external 3TB if the information will help.

200 MB GPT Protective
Rest NTFS

Result of dmesg | tail is

Code:
[ 2618.179155] sd 11:0:0:0: [sde] Assuming drive cache: write through
[ 2618.179162]  sde: sde1 sde2
[ 2618.221768] sd 11:0:0:0: [sde] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[ 2618.222627] sd 11:0:0:0: [sde] Assuming drive cache: write through
[ 2618.222632] sd 11:0:0:0: [sde] Attached SCSI disk
[ 2618.279365] sd 11:0:0:0: [sde] Sense Key : Recovered Error [current] [descriptor]
[ 2618.279372] Descriptor sense data with sense descriptors (in hex):
[ 2618.279375]         72 01 00 1d 00 00 00 0a 09 0c 00 00 00 01 00 00 
[ 2618.279386]         00 00 
[ 2618.279390] sd 11:0:0:0: [sde] Add. Sense: ATA pass through information available
Does recovered error means that it recovered? It is going good so far (copying).

Last edited by imayneed; 08-24-2012 at 12:05 PM.
 
Old 08-27-2012, 11:01 PM   #2
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
No, the problem has not been solved.
This is happening now, with my 2 TB.

Code:
 dmesg | tail
[   79.655616] sd 6:0:0:0: [sdc] 3906963456 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   79.656111] sd 6:0:0:0: [sdc] Write Protect is off
[   79.656113] sd 6:0:0:0: [sdc] Mode Sense: 47 00 10 08
[   79.656115] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[   79.657359] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[   79.657362]  sdc: sdc1
[   79.679245] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[   79.679249] sd 6:0:0:0: [sdc] Attached SCSI disk
[   79.737267] ses 6:0:0:1: Attached Enclosure device
[  404.122944] usb 2-1.3: reset high speed USB device using ehci_hcd and address 11
What does it mean?
How can I get that drive to work?

GParted gets stuck on 'scanning all devices'.
I can format the drive. I don't need to save any data.

All I want is the drive to work again.
Is there any commands that I can use to for example;

create an mbr partition table.
create an ntfs primary partition.

Thanks.

Last edited by imayneed; 08-27-2012 at 11:11 PM.
 
Old 08-28-2012, 12:44 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,145

Rep: Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331
gparted will not check the disk, probably you need another tool to check it: fsck for example.
see also here: http://www.linuxquestions.org/questi...-linux-621650/
 
1 members found this post helpful.
Old 08-28-2012, 01:12 AM   #4
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thanks for the fsck information.
Even though I heard of it, I never used it manually.
I need to learn more commands, more tools!
 
Old 08-28-2012, 01:46 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I get this error message (Error Splicing File: Input/Output Error - Cannot Copy) when I try to copy a file that's bigger than 4GB to a FAT32 formatted memory stick.

Is that what you're trying to do? If so, you need your destination drive to have a filesystem that supports files bigger than 4GB (ntfs, ext2, ...).

Last edited by Wim Sturkenboom; 08-28-2012 at 01:48 AM.
 
Old 08-28-2012, 02:13 AM   #6
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
No, that is not what my problem is.
My file system is ntfs.
There is a problem with the drive.
After some time, it is getting unmounted or unrecognized somehow and still couldn't find a solution.
 
Old 08-28-2012, 02:25 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,145

Rep: Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331
ntfs should be checked from windows, because the linux tools are not 100 percent safe. A damaged ntfs should not be used at all (just in readonly mode), because you will only make more problems...
 
1 members found this post helpful.
Old 08-28-2012, 02:42 AM   #8
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
It is not the ntfs, it is the drive.

I am checking it from Windows, nothing reported.
I am creating initializing mbr from windows, creating the ntfs primary on windows, but then something happens.
For example, I just wrote 50GB from Windows, the drive shows 1.77 of 1.81 TB is free, but the folder shows empty and the copy process gave an error.
I was just about to restart now.
 
Old 08-28-2012, 02:58 AM   #9
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
I just got on Linux.
It saw the drive, it saw the files, as soon as I tried to copy, it gave itput/output error.
And I am trying to understand why?

Code:
dmesg | tail
[  161.953319] usb 2-1.3: configuration #1 chosen from 1 choice
[  161.954014] scsi8 : SCSI emulation for USB Mass Storage devices
[  161.954196] usb-storage: device found at 13
[  161.954198] usb-storage: waiting for device to settle before scanning
[  166.952216] usb-storage: device scan complete
[  166.953190] scsi 8:0:0:0: Direct-Access     WD       My Book 1130     1016 PQ: 0 ANSI: 6
[  166.953925] scsi 8:0:0:1: Enclosure         WD       SES Device       1016 PQ: 0 ANSI: 6
[  166.954446] sd 8:0:0:0: Attached scsi generic sg3 type 0
[  166.954536] ses 8:0:0:1: Attached Enclosure device
[  166.954598] ses 8:0:0:1: Attached scsi generic sg4 type 13

Last edited by imayneed; 08-28-2012 at 03:00 AM.
 
Old 08-29-2012, 10:19 AM   #10
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Any other computers to compare / check against?

As it also seems to fail in windows, maybe it's time to run h2testw (under windows) or badblocks (under linux).
 
1 members found this post helpful.
Old 08-29-2012, 11:54 AM   #11
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thanks for the badblocks command and the Windows tool.
I don't know most of these commands and I guess I will have to learn them on need basis or have to find some other way to learn commands.
Do you have any suggestion how to learn commands in linux?

After so many tries, when I was able to make it seen in Windows again; I updated the firmware after a few tries with success and in Windows, I ran chkdsk -r; the result was

Code:
2 bad clusters.
8kb in bad sectors.
488369919 total allocation units on disk.
488333004 allocation units available on disk.
I guess it was the firmware; after that I was able to copy. After testing copying around 75 GB in Windows; I switched to Linux and started copying from there.
When I woke up (just several minutes ago, I just checked my e-mail and saw your post); it still gave an input/output error . This time it was after copying around 500 GB and when I said 'skip', it went on copying. I guess I can't complain since it went on copying without ejecting the drive and it copied around 500 GB without error and it is still going on copying. I guess the problem seems to be solved. Even though it gave the same error again; this time, the drive didn't eject itself and disappear. And also it went on copying after I said 'skip'.

I guess the problem was with the firmware and also maybe with the port or both. Since then, I changed the ports of two external drives.

Thanks for the replies of everybody.
 
Old 08-29-2012, 12:47 PM   #12
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Your drive might be on the way out. Keep an eye on it to see if it gets worse (more bad blocks).

To learn commands? rute might be a start.
 
Old 08-29-2012, 12:49 PM   #13
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Because of 2 bad clusters? Are you serious?
 
Old 08-29-2012, 02:14 PM   #14
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,145

Rep: Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331Reputation: 3331
you know the drives are nowadays capable to handle bad sectors - up to a limit. I think you now reached that limit or your drive is too old or there is a firmware problem or some other "strange" thing happened. Anyway, the disk is now unsafe.
 
Old 08-29-2012, 02:28 PM   #15
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
This is the chkdsk /r result from Windows and it shows only 2 bad clusters.

Code:
2 bad clusters.
8kb in bad sectors.
488369919 total allocation units on disk.
488333004 allocation units available on disk.
Because of that 8kb space, the disk is unsafe (I am asking because I don't have much knowledge about disks and bad clusters). It is just surprising me that 2 bad clusters would show a sign of being unsafe. Of course, I don't know anything about bad clusters or how many there can or should be.
 
  


Reply


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
NFS Large File Copies Fail - Error writing to file: Input/output error deck- Linux - Server 7 07-27-2013 11:14 AM
dd fails to copy random discs: Input/output error scorchgeek Linux - Hardware 5 09-18-2011 04:59 PM
Can't copy DVD with dd, Input/output error Klink-a-dink-dink Linux - Software 4 07-21-2010 08:25 AM
Copy from DVD - Input/Output error nifflerX Linux - General 2 10-12-2005 02:32 PM
Can't rm file with Input/Output error drlaz Linux - General 0 02-23-2005 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 AM.

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