HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)
checkld
DESCRIPTION
The checkld command executes consistency checks of data on logical disks in the event of an
uncontrolled system shutdown and optionally repairs inconsistent logical disks.
SYNTAX
checkld [options] <LD_name>...
Any role granted the ld_check right
AUTHORITY
• Super, Service
• Any role granted the ld_check right
NOTE: You need access to all domains in order to run this command.
OPTIONS
–y|–n
Specifies that if errors are found they are either modified so they are valid (-y) or left unmodified
(-n). If not specified, errors are left unmodified (–n).
-p
Poll sysmgr to get ldck results.
-recover <pdid:pdch>
Attempt to recover the chunklet specified by giving physical disk (<pdid>) and the chunklet's
position on that disk (<pdch>). If this option is specified, -y must be specified as well.
-rs <raidset_number>
Check only the specified RAID set.
SPECIFIERS
<LD_name>...
Requests that the integrity of a specified logical disk is checked. This specifier can be repeated to
execute validity checks on multiple logical disks.
RESTRICTIONS
• Access to all domains is required to run this command.
• The checkld command should not be issued for logical disks that have been started because
it can return incorrect mismatches.
EXAMPLES
The following example displays a validity check of logical disk vv63.admn.0:
cli% checkld –n vv63.adm.0
Performing a consistency check only (no repairs)
Working on ld vv63.adm.0 (955)
compare:/dev/tpddev/pd/33 0x2180000 with:/dev/tpddev/pd/11 0x2180000 1 of 1
Logical disk vv63.adm.0 Check completed, logical disk consistent
checkld 59