Compex Systems SA33-3285-02 Network Card User Manual


 
ssa_certify Command
Purpose
v To certify the physical disk drive so that data can be read from, or written to, the disk
drive without problems.
v To certify a RAID-5 array to determine whether any array logical block addresses
(LBAs) have been as unreadable.
Syntax
ssa_certify -l pdisk [-n MaxReadSize] [-a]
ssa_certify -l hdisk [-b StartLBA] [-c]
Description
If the ssa_certify command is issued to a pdisk, it uses the ISAL_Read, ISAL_Write,
or ISAL_Characteristics command to certify the disk drive. It returns 0 unless a
nonmedia-related problem occurs. If such a problem occurs, the ssa_certify command
prints a message to stderr.
If a media-related problem occurs, and the disk drive can perform automatic reassign
operations, the command attempts to reassign soft-error blocks.
If the attempt to reassign the soft-error blocks fails, if the block has a hard media error,
or if the disk drive cannot perform automatic reassign operations, the ssa_certify
command returns 0, but prints, to stdout, the LBA of the failing block in decimal,
followed by the word Failed. For example:
>ssa_certify -l pdisk4
436537676 Failed
If the disk drive cannot perform automatic reassign operations:
1. Stop all operations to the disk drive.
2. Use the -a flag, and rerun the Certify operation.
If the certify operation is successful, the ssa_certify command returns no output.
If the ssa_certify command is issued to a RAID-5 hdisk that contains LBAs that have
been marked as unreadable, an LBA or an LBA count is printed to stout. For example:
>ssa_certify -l hdisk2
12288 failed
>ssa_certify -l hdisk2 -c
4
Flags
-l pdisk
Specifies the physical disk drive (pdisk) that the user wants to certify.
-a Enables the reassign action on devices that cannot already perform automatic
Chapter 16. Using the SSA Command Line Utilities 345