I/O Errors - what are they and how to fix them?

I keep getting I/O errors when burning discs or when exporting files from FCP. Can anybody explain what they are and how to fix them?

Have run Disk Utility on all hard drives and there are no reported problems.

G5, dual 2.7, Mac OS X (10.4.11)

Posted on Jan 12, 2008 2:49 PM

Reply
4 replies

Jan 16, 2008 8:20 AM in response to Charles Minow

I'm quite concerned as I seem be be getting quite a lot of these I/O errors, whatever disk I try to export video files to (from Final Cut Pro).

Is there a way of verifying all the hard discs? They've all had lots of video files copied and deleted from them, so would a de-frag help?

Here's part of the console log from the most recent error:

kernel[0]: disk2s6: I/O error.

Here's a list of disks using the Terminal command:

/dev/disk0
#: type name size identifier
0: Apple partitionscheme *232.9 GB disk0
1: Apple partitionmap 31.5 KB disk0s1
2: Apple_HFS Macintosh HD 232.8 GB disk0s3
/dev/disk1
#: type name size identifier
0: Apple partitionscheme *233.8 GB disk1
1: Apple partitionmap 31.5 KB disk1s1
2: Apple_HFS New Drive 233.6 GB disk1s3
/dev/disk2
#: type name size identifier
0: Apple partitionscheme *465.8 GB disk2
1: Apple partitionmap 31.5 KB disk2s1
2: Apple_Driver43 64.0 KB disk2s2
3: Apple DriverATA 64.0 KB disk2s3
4: Apple_FWDriver 112.0 KB disk2s4
5: Apple_HFS LaCie 500G 2 (new) 465.8 GB disk2s6
/dev/disk3
#: type name size identifier
0: Apple partitionscheme *931.5 GB disk3
1: Apple partitionmap 31.5 KB disk3s1
2: Apple_Driver43 64.0 KB disk3s2
3: Apple DriverATA 64.0 KB disk3s3
4: Apple_FWDriver 112.0 KB disk3s4
5: Apple_HFS LaCie 1TB 931.5 GB disk3s6

Jan 12, 2008 9:34 PM in response to Marc Morris

Hi--

I/O errors are caused by different problems. First, they can be caused by physical problems with the disk, i.e., a problem with the media on the platter of a hard drive, also known as bad blocks. They can also be cause by faulty cabling, either defective cables or cables that aren't properly seated. Finally, they could also be caused by a faulty drive controller, the chip that translates the commands from the OS to the disk drive.

One thing you can do is look in your Console application (from the Utilities folder) at the console and system log. When you get a disk I/O error, look in there and see which disk has the error. It will be a little cryptic, with the BSD identifider, usually something like "disk0s9", though the numbers will change. Then you can look up that information in the Disk Utility program. Just click the name of each volume, (not the name of the drive) and get info to look up the identifier.

You can also get the list of disks a bit easier by opening the Terminal app and running this command:

<pre class="command">diskutil list</pre>

You'll get a list a little bit like this:

/dev/disk0
#: type name size identifier
0: GUIDpartitionscheme *232.9 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 94.9 GB disk0s2
3: Apple_HFS Partition 2 14.9 GB disk0s3
4: Apple_HFS Partition 3 122.6 GB disk0s4
/dev/disk1
#: type name size identifier
0: CDpartitionscheme Live At Leeds [Deluxe Edition] *742.1 MB disk1
1: CD_DA 51.7 MB disk1s1
2: CD_DA 32.5 MB disk1s2
3: CD_DA 26.1 MB disk1s3
4: CD_DA 37.4 MB disk1s4
5: CD_DA 62.5 MB disk1s5
6: CD_DA 21.4 MB disk1s6
7: CD_DA 22.5 MB disk1s7
8: CD_DA 78.5 MB disk1s8
9: CD_DA 89.6 MB disk1s9
10: CD_DA 34.0 MB disk1s10
11: CD_DA 46.2 MB disk1s11
12: CD_DA 159.6 MB disk1s12
13: CD_DA 80.0 MB disk1s13


That's what I see on my computer where I have the main hard drive partitioned into 3 parts, plus a CD inserted.

Once you know where the errors are happening, you can track them down by determining if it's a write operation or a read operation causing the error. Also, see if you can narrow it down to a single file or files.

charlie

Jan 16, 2008 6:27 PM in response to Marc Morris

Hmm. First off, the I/O error is on your "LaCie 500G 2 (new)" disk, so are you trying to copying to or from that disk?

The simplest way to see if you can fix it is to reformat that drive and choose the option that writes zeroes to the drive. That should map out bad blocks, if there aren't too many. Unfortunately, I'm not sure of a way to check if it was successful with an external FireWire drive. I don't know if TechTool Pro will do that or not (I kind of doubt it).

If it's a read error on "LaCie 500G 2 (new)" you might be able to get around the error, but you'll have to determine if it's one file or a bunch of files. The only way to do this is to try copying them to another disk using the Finder and see if you can determine which files have errors. If you get a bad file, try copying it a couple of times to make sure it fails in about the same spot. Then you know it's a physical problem with the drive. If different files have errors at different places, then it's more likely the cable or the electronics in the drive.

If you can find the bad file, you might be able to work around it by not deleting it and re-capturing it with Final Cut. As long as the OS doesn't have to read that file, it shouldn't matter. But that's only a short term solution.

A write error is going to be harder to work around, since I don't know of a way to control where the files get written on the HD.

Finally, as far as de-fragging, I don't think that's your problem. Fragmentation would only result in dropped frames, but not I/O errors. I/O errors are more serious errors reported back to the OS by the drive's firmware...

charlie

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I/O Errors - what are they and how to fix them?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.