I purchased a 200GB Maxtor 6Y200P0 hard drive for $45 after rebate about a year and a half ago. It had been working fine as a backup hard drive on my FreeBSD server. However, it recently failed on me. Directly after a power outage, I was receiving the following message:
FAILURE-READ_DMA status=51 error=40 LBA=135486975 mount = /dev/ad0s1d
Doing fsck -y /dev/ad0s1d, the check would complete without errors. But trying to mount the drive as rw would give me the following error:
mount: /dev/ad0s1d: Input/output error
I was able to mount it read-only to retrieve the data, but I really wanted to have it fixed so I could write to it again.
I tried to follow the FreeBSD handbook guide to reformatting the drive, but that did not complete, giving read/write errors.
It was suggested by cperciva@layeredtech that I
Overwrite that partition with zeroes (dd if=/dev/zero of=/dev/ad0s1d) and then newfs and mount (newfs /dev/ad0s1d && mount /dev/ad0s1d)
While that series of commands didn’t work (same input/output errors), doing effectively the same thing with the Maxtor diagnostics tool worked.
I went to Maxtor.com, and selected my model # (which seems to only work on IE…), went to Diagnostics, then downloaded PowerMax and put it on a floppy. Running a Basic Quick Test (90 Second) passed, but an Advanced Test (Full Read Scan) failed fairly early on. I was given two error codes, which are supposedly internal for Maxtor, and I guess are used for RMA processing. The codes were dea46771 and dea46761, which mean nothing to me.
So I then performed a Low Level Format (Quick) and Low Level Format (Full). This took the better part of 2 hours. After doing this, the Advanced Test completed. I was then able to format and partition the drive via the FreeBSD Handbook: Adding Disks section.
I have no doubt that the reason the hard drive was failing was the heat inside. I have two 200 GB hard drives and 1 40 GB hard drive all practically laying on top of each other in the hard drive bay. I’m just squeezing as much life as I can out of this old system. Next system, hard drive coolers, video card coolers, {insert third term to match form} coolers, Oh my!