Wednesday, August 17, 2005

Repairing a hard disk with bad sectors

Repairing a hard disk with bad sectors
The format command may be used to repair a hard disk that is
experiencing read/write errors.

Example error:

WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@0,0 (sd120):
Error for Command: read Error Level: Retryable
Requested Block: 577712 Error Block: 577796
Vendor: SEAGATE Serial Number: 9737K75183
Sense Key: Media Error
ASC: 0x16 (data sync mark error), ASCQ: 0x0, FRU: 0xd2

While the format command allows you to repair an individual block, it
is probably best to run analyze and perform at least a read test, as
there may be more than one bad block on the disk.

The analyze command will automatically repair errors it finds when
scanning the hard disk for bad blocks.

analyze> read
Ready to analyze (won't harm SunOS). This takes a long time,
but is interruptable with CTRL-C. Continue? y

pass 0
WARNING: /sbus@3,0/SUNW,fas@3,8800000/sd@0,0 (sd120):
Error for Command: read Error Level: Retryable
Requested Block: 577800 Error Block: 577800
Vendor: SEAGATE Serial Number: 9737K75183
Sense Key: Media Error
ASC: 0x16 (data sync mark error), ASCQ: 0x0, FRU: 0xd2
Medium error during read: block 577800 (0x8d108) (267/8/0)
ASC: 0x16 ASCQ: 0x0
Repairing hard error on 577800 (267/8/0)...ok.

0 Comments:

Post a Comment

<< Home