mysterious file/disk suck on my powerbook
Nov. 7th, 2005 03:45 pmI get disk I/O errors, which are the computer equivalent of coughing up blood; ominous.
They only happen with certain files. I notice it when syncing to my iPod or listening to music, for example. One music file will be a DEVIL FILE and cause the system to throw the I/O errors into the log after hanging up really badly (slow UI, processes crash, etc).
If I delete that one file then no problems for a while until another DEVIL FILE shows up.
I'm trying to figure out if maybe the iTunes-LAME script I use so I can use the LAME MP3 encoder might be contributing to this, or maybe LAME itself, but I can't see how. Maybe something is messed up with 10.4.3?
They only happen with certain files. I notice it when syncing to my iPod or listening to music, for example. One music file will be a DEVIL FILE and cause the system to throw the I/O errors into the log after hanging up really badly (slow UI, processes crash, etc).
If I delete that one file then no problems for a while until another DEVIL FILE shows up.
I'm trying to figure out if maybe the iTunes-LAME script I use so I can use the LAME MP3 encoder might be contributing to this, or maybe LAME itself, but I can't see how. Maybe something is messed up with 10.4.3?
(no subject)
Date: 2005-11-07 11:56 pm (UTC)I'm not sure how it works in OSX but I know in unix, fsck has a mark-bad-blocks thing, which goes through and tries to read/write every block on your disk, and tells the OS not to use any blocks that are bad.
The only problem is what you mention in the first sentence -- when a hard disk gets one bad block on it, IME it means that it's going to start getting some more. It might not work out that way though -- my general plan when I see stuff like this is to just mark the bad blocks as I see them and start thinking about buying new hardware, but only actually do so once the incidence rate starts really going up.
Backups are a good idea too.
(no subject)
Date: 2005-11-08 12:11 am (UTC)Luckily it wasnt devastating to the point of inoperability so I was able to get everything but a very few files off it.
Replacing the HDD cured it.
(no subject)
Date: 2005-11-08 12:32 am (UTC)If you have no space to swap out to, and/or don't feel like recreating your world, you could try this:
http://techrestore.com/xcart/home.php?cat=255
(no subject)
Date: 2005-11-08 12:38 am (UTC)(no subject)
Date: 2005-11-08 01:43 am (UTC)(no subject)
Date: 2005-11-08 01:51 am (UTC)Yes, ominous. These might be the result of filesystem damage that can be repaired with Disk Utility if you start up the computer with the Mac OS X installer disc. On the other hand, they might be the result of exhausting your the "bad sector" list in your hard disk with crashed media. Disk drives wear out. How old is yours?
In the former case, I probably wouldn't worry— especially if your startup volume isn't formatted with HFS+ Journaling. The journaling filesystem seems better at avoiding the filesystem failures that result from poorly handled power interruptions. In the latter case, I'd get that puppy backed up and the drive replaced in a big fscking hurry (pardon the pun), before your Powerbook turns into an archeological investigation.
(no subject)
Date: 2005-11-08 01:54 am (UTC)(no subject)
Date: 2005-11-08 01:55 am (UTC)i didn't necessarily think it caused the problem, but so far all the issues have been with music files. also the problem occurred after a 10.4.3 update which makes me wonder if there's some ugly subtle kernel or filesystem bug, ug.
(no subject)
Date: 2005-11-08 02:15 am (UTC)(no subject)
Date: 2005-11-08 02:22 am (UTC)(no subject)
Date: 2005-11-08 01:54 am (UTC)(no subject)
Date: 2005-11-08 01:55 am (UTC)(no subject)
Date: 2005-11-08 01:55 am (UTC)Nov 7 15:41:56 abe kernel[0]: disk0s3: I/O error.
(no subject)
Date: 2005-11-08 02:09 am (UTC)(no subject)
Date: 2005-11-08 01:58 am (UTC)(no subject)
Date: 2005-11-08 02:00 am (UTC)(no subject)
Date: 2005-11-08 02:38 am (UTC)(no subject)
Date: 2005-11-08 03:09 am (UTC)