On 01/24/11 18:41, Martin Foster wrote:
I was curious as to what would be the expected behaviour when
attempting to read or write to a bad sector on a drive?
I have been encountering hard lock-ups on an MacPPC 4.7 machine when
running rsync against another host. Whenever it reaches a certain
file the system would lock up to anything that requires access to the
physical drive. Hence pf would work, but Apache, future logins or
even attempts to cancel the rsync process would simply do nothing.
Hence is this an expected behaviour, or should I be looking at
something else? And if it is a bad sector, any way to map and disable
them for use?
Thanks.
Martin Foster
[email protected]
With the cost of disks these days, it's insane to do anything other than
copy the data to another disk, and not look back.
I've had a variety of disk write errors, including a hang from the disk
when one of some 10's of bad sectors was written do. If you are "lucky"
you'll see a soft error in /var/log/messages. Reading your post again I
see that you've possibly crashed into one of my problems. The bottom
line is that the disk is dying, and I sure wouldn't trust it.
--STeve Andre'