HP 3PAR CLI Procedures

Disk Drive Identification

Identify failed Disk Drive status by executing servicemag status.
There are 4 possible responses, response 1 is expected when the drive is ready to be serviced:

  1. servicemag has successfully completed:

cli% servicemag status
Cage 0, magazine 1:
The magazine was successfully brought offline by a servicemag start command.
The command completed Thu Oct  4 15:29:05 2012.
servicemag start -pdid 7 - Succeeded


When Succeeded displays as the last line in the output, it is safe to replace the disk.

  1. servicemag has not started
    Data is being reconstructed on spares, servicemag will not start until this process is complete.
    Retry this command at a later time.

cli% servicemag status
No servicemag operations logged.

  1. servicemag has failed
    Call your authorized service provider for assistance.

cli% servicemag status
Cage 0, magazine 1:
A servicemag start command failed on this magazine.
.....


Note: There can be different causes for this failure, contact your authorized service provider for assistance.

  1. servicemag is in progress
    The output will inform the user of the progress.

cli% servicemag status
Cage 0, magazine 1:
The magazine is being brought offline due to a servicemag start.
The last status update was at Thu Oct  4 15:27:54 2012.
Chunklet relocations have completed 35 in 0 seconds
servicemag start -pdid 1 -- is in Progress

Note: This process may take up to 10 minutes; repeat the command to refresh the status.

Disk Drive (Magazine) Location

  1. Execute the command showpd -failed
cli% showpd –failed
    ----Size(MB)-----  ----Ports----
Id CagePos Type RPM State     Total     Free  A      B      Cap(GB) 7 1:5:0   FC    10 failed   278528        0  1:0:1  0:0:1     450
  1. Execute the command locatecage -t XX cageY
    XX = An appropriate number of seconds to allow service personnel to view the LED status of the Drive Enclosure (Cage)
    Y = Cage number shown as the first number of CagePos in the output of showpd -failed, in this case 1 (1:5:0)

    For example locatecage -t 300 cage1 will flash all LEDs on cage1 for 5 minutes.
  2. This will flash ALL drives in this cage except the FAILED drive.

Disk Drive Verification

Verify that the Disk Drive has been successfully replaced by executing servicemag status.
There are 3 possible responses:

  1. servicemag is in progress, the output will describe the current state of the servicemag procedure.

cli% servicemag status
Cage 0, magazine 1:
The magazine is being brought online due to a servicemag resume.
The last status update was at Thu Oct  4 16:26:32 2012.
Chunklets relocated: 16 in 7 minutes and 40 seconds
Chunklets remaining: 57
Chunklets marked for moving: 57
Estimated time for relocation completion based on 28 seconds per chunklet is: 26 minutes and 36 seconds
servicemag resume 0 1 -- is in Progress

Note: If the command is executed again the estimated time for relocation completion may vary.

  1. servicemag has completed

cli% servicemag status
No servicemag operations logged



When No servicemag operations logged displays as the last line in the output, the disk has been successfully replaced.

Note: This may take several hours.
  1. servicemag has failed.

cli% servicemag status
Cage 0, magazine 1:
A servicemag resume command failed on this magazine.
.....

Note: There can be different causes for this failure, contact your authorized service provider for assistance.