Solaris Reference Manual for SMCC-Specific Software
  Sök endast i den här boken
Ladda ner denna bok i PDF

NAME

parityck - Scan RAID devices for parity inconsistencies

SYNOPSIS

parityck [ -a ] [ -f ] [ -n ] [ -q ] [ -c device ]

DESCRIPTION

parityck scans RAID devices (RAID 1,3,5) for parity inconsistencies. All inconsistences are repaired as they are found. This ensures that the data and the parity information are consistent for the RAID device; it does not ensure the correctness of the data.
The device name is a system dependent name that specifies the LUN on which to run the scan. If a device name is specified, the -a option will be ignored.
parityck uses the standard RAID Manager notification script to provide event logging and remote notification. This script will be called once for each LUN on which parity inconsistencies are repaired.
Unless the -q option is used, parityck will display the following information:
Name of device being scanned: percentage complete | scan result
The following scan results are possible:
OK
Inconsistent parity repaired blocks xxx-yyy ( nn blocks)
where xxx is the first block on which a parity inconsistency was found and yyy is the last block. nn is a count of the number of inconsistent blocks.
Scan aborted, RAID 0 LUN
Scan aborted, degraded LUN
Scan aborted, controller parity checking enabled

EXIT CODES

0
All LUNs scanned return OK.
1
Inconsistencies are found on any of the scanned LUNs or the LUN scan was aborted.
-1
Device name is not valid.
The following conditions will generate event notification:
Parity inconsistencies
Aborted scan

OPTIONS

-a
All. Scan all LUNs on all controllers. This option is ignored if a device name is given.
-f
Force. Forces a parity scan on a controller that has onboard parity scanning enabled.
-n
No notification. Events are NOT sent to the notification script.
-q
Quiet. No output is displayed.
-c
Device name. System name of device that the parity check is to be run on.

EXAMPLES

parityck -a
Scanning c1t0d0s0: OK
Scanning c1t0d1s0: Scan aborted, degraded LUN
Scanning c1t0d2s0: Inconsistent parity repaired blocks 0-20 (3 blocks) Scanning c1t0d3s0: 55%

SEE ALSO

arraymon(1M), lad(1M), nvutil(1M), raidutil(1M), rdac(7), rdacutil(1M), rdaemon(1M), rdriver(4), rm6(1M), rmevent(4), rmparams(4), rmscript(1M)