HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
a
arraylog(1M) arraylog(1M)
NAME
arraylog - accesses and clears disk array logs.
SYNOPSIS
arraylog [-u][-e][
-d slot [-p pagecode]][ -C { -c | -d slot}][
-?] array-id
DESCRIPTION
arraylog provides access to the controller and disk logs maintained by the disk array identified by
array-id. These logs contain information useful for diagnosing and troubleshooting the disk array. The logs
can also be cleared using arraylog.
The array-id used to address the disk array can be the disk array serial number, the character device file
name of any LUN on the array (LUN 0 if no LUNs are created), or the alias text string assigned to the disk
array.
Options
arraylog supports the following options:
-C { -c | -d slot }
Clear the specified logs. If -c is specified, clear the disk array controller usage and
event logs. Both logs will be cleared when using this option. It is not possible to clear
just one of the logs.
If -d is specified, clear the log for the disk installed in the cabinet slot identified by
slot.
-d slot [-p pagecode]
Display the contents of the log for the disk installed in the cabinet slot identified by
slot. Slot numbers must be of the form An or Bn, where A or B correspond to a
cabinet column, and n corresponds to a shelf position (1-6).
The
-p option returns the log information identified by pagecode. The use of the
-p
option is intended primarily for accessing logs on unsupported disks.
-e Display the contents of the disk array controller event log.
-u Display the contents of the disk array controller usage log.
-? Display expanded usage message. This option overrides all others.
EXTERNAL INFLUENCES
Environment Variables
LC_MESSAGES determines the language in which messages are displayed. The current language settings
can be checked with locale(1).
RETURN VALUE
arraylog returns the following values:
0 Successful completion.
1 An error in execution (I/O, subsystem, security, etc.) occurred.
2 An error in command syntax occurred: for example, an unknown command-line option was passed.
3 Timeout in communication to server. May indicate ARMServer is not running.
DIAGNOSTICS
The following messages can be generated by arraylog :
Usage: arraylog {[-u] [-e] [-d n [-p n]] [-C -c] [-C -d n]} [-?]
<array-id>
An error in command syntax has occurred. Re-enter the command with all necessary arguments.
arraylog: Arg out of range
One of the arguments has exceeded its maximum or minimum size, or is incorrect in form. Check the
size and form of each argument.
arraylog: No such file or directory
The specified array-id does not exist or does not identify a disk array that is communicating with the
system. Verify the correct array-id with ioscan(1M) or arraydsp(1M).
Section 1M−−60 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005