Re: Bad block repair

From: Matty (matty_at_daemons.net)
Date: 12/24/04


Date: Thu, 23 Dec 2004 23:09:13 -0500

Michael Vilain wrote:
> In article <cq7dpa$7oj$1@bluegill.adi.com>,
> schulz@adi.com (Thomas Schulz) wrote:
>
>
>>We have an Ultra 10 with a Maxtor 6L080J4 connected to the internal ide
>>controller. The disk recently developed a bad block and I thought to
>>repair it using format. As the disk is only a few months old and there
>>is only one bad block, I thought that it would be safe to keep using
>>the disk. I used the analyze command in format to find the bad block
>>and to hopefully repair it. The block was found, but no repair was done.
>>Since the exact block was displayed in /var/adm/messages, I thought to
>>try the repair command in format. I got the following output:
>>
>>format> repair
>>Controller does not support repairing.
>>or disk supports automatic defect management.
>>format>
>>
>>The lines in /var/adm/messages are:
>>
>>Dec 19 12:18:02 seahorse dada: [ID 107833 kern.warning] WARNING:
>>/pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
>>Dec 19 12:18:02 seahorse Uncorrectable data Error: Block 1abc99
>>Dec 19 12:18:04 seahorse dada: [ID 107833 kern.warning] WARNING:
>>/pci@1f,0/pci@1,1/ide@3/dad@0,0 (dad0):
>>Dec 19 12:18:04 seahorse disk not responding to selection
>>Dec 19 12:18:04 seahorse dada: [ID 107833 kern.notice] dad0: disk okay
>>
>>Is this a limitation of this particular disk drive, or a limitation of
>>the controller in the Ultra 10? I had to change the partitions to avoid
>>the bad block and was unable to save the file system that contained the
>>block. Fortunately I had backups. Is there anything that I could have
>>done to repair this bad block and save the file system?
>
>
> Ages ago, I recall many vendors of SCSI disks having the ability to do
> bad block replacement, but not repair. The controller would
> automatically move blocks that started giving write retries to a bad
> block list on the drive, then remap that block to a known good block.
> The drive's bad block list would eventually grow to a certain size and
> the drive would stop doing the replacements and you'd start getting
> retry errors in the log file. That was a sign to backup and replace, in
> my book. Some may choose to reformat, which may or may not fix things.
>
> Perhaps IDE drives don't bother with this because they're so cheap. Why
> not just backup, replace, and restore? Is your data so worthless?
>

You should be able to pull bad block stats through a S.M.A.R.T compliant
utility. These usually list the # of blocks in the bad block list and
the # of blocks that are available for remapping.

- Ryan



Relevant Pages

  • Re: 3B2 Disks
    ... being able to read the disk in its present format. ... 2 MFM drives on a custom controller. ... SCSI came much later as an add on card. ...
    (comp.sys.3b1)
  • Re: Filesystem, RAID Question
    ... The card bios found the drives and allowed me to setup in RAID 5. ... However a 3 disk RAID5 is the worst performing RAID5 setup you can create. ... Just take the default stripe size the array controller presents you with -- it will be appropriate for this sort of mixed file sizes. ... The first thing to consider is what sort of IO caching strategy your ...
    (freebsd-questions)
  • Re: IMSAI 8" floppy disk system manual/schematics?
    ... I have been able to fix the computer, but unable to get the drives to ... Does anyone have a manual or schematics for the disk system? ... controller card, but no schematics. ... I also have manuals for many floppy drives, ...
    (comp.os.cpm)
  • Need Suggestons on SCSI drives "not ready"
    ... I have a client running SCO 5.0.5 with DPT 3754U2 RAID ... controller with two disks in RAID1. ... But the problem is the two Seagate 140G 15K cheetah drives. ... since the disk is SCSI and won't respond to the ...
    (comp.unix.sco.misc)
  • Re: Drive Disconnection
    ... The write failure messages keep on being issued until the server reboots. ... It appears the disk is literally falling off of the SATA bus. ... obvious your Silicon Image SATA controller is only detecting ... series drives *do not* have a force-SATA150 jumper, ...
    (freebsd-questions)

Loading