logo
Manual Pages
Table of Contents

NAME

na_shelfchk - verify the communication of environmental information between disk shelves and the filer

SYNOPSIS

shelfchk

DESCRIPTION

The shelfchk command verifies that the disk shelves and the filer can exchange environmental information. If the environmental information is being exchanged, you can hotswap disks in the disk shelves. The shelfchk command is interactive. It requires that you type in your responses after observing the LEDs on the disks. Therefore, enter this command from a console that is near the disk shelves. The shelfchk command steps through all the disk host adapters that the filer discovered when it booted. For each host adapter, the shelfchk command tries to turn on the disk LEDs on the attached disk shelves. The command waits for confirmation that you have observed the LEDs. If you see that all the LEDs are on, respond ``yes'' when prompted. If one or more LEDs are off, you respond ``no'' to the prompt. In this case, a problem exists that might prevent hot swapping on the affected shelves. The shelfchk command terminates as soon as you respond ``no'' to the prompt. It does not continue to test the other disk shelves. A possible cause of disk shelf problems is that the cables for the shelves are not connected properly. Enter the shelfchk command immediately after you install one or more disk shelves. This way, if there are any cabling problems, you can fix them as soon as possible. Also, this command enables you to quickly correlate the disk shelves with their corresponding host adapter. For example, if you intend to have all disk shelves connected to a particular host adapter to be installed in one rack, the shelfchk command enables you to see at a glance whether any disk shelves were installed inadvertently in a different rack.

CLUSTER CONSIDERATIONS

The shelfchk command checks the status of all disk shelves attached to the filer's disk adapters. It does not distinguish between the disk shelves owned by the local filer and the disk shelves owned by the partner. After you set up the cluster for the first time or after you install additional disk shelves to the filers in a cluster, enter the shelfchk command on both filers to verify that the disk shelves are attached to the appropriate adapters. In takeover mode, the shelfchk command and the partner shelfchk command generate the same result.

EXAMPLE

In the following example, the shelfchk command tests the disk shelves of a filer with three host adapters (8a, 8b, and 7a) and finds no problems: toaster> shelfchk
Only shelves attached to ha 7a should have all LEDs ON.
Are these LEDs all ON now? y
Only shelves attached to ha 8a should have all LEDs ON.
Are these LEDs all ON now? y
Only shelves attached to ha 8b should have all LEDs ON.
Are these LEDs all ON now? y
toaster> Fri Aug 22 21:35:39 GMT [rc]: Disk Configuration - No Errors Identified In the following example, the shelfchk command finds an error: toaster> shelfchk
Only shelves attached to ha 9a should have all LEDs ON.
Are these LEDs all ON now? n
*** Your system may not be configured properly. Please check cable connections.
toaster> Mon Aug 25 11:44:34 GMT [rc]: Disk Configuration - Failure Identified by Operator

SEE ALSO

na_partner(1)
Table of Contents