corge wrote:
Our reporting shows that a drive has failed.
I double check on the Inserv via command line.
Code:
showpd -failed -degraded
I check servicemag to make sure nothing is running currently
Code:
servicemag status
I issue the command below to get the model number of the drive, since HP will not have it for the company I work for
Code:
showpd -i <PD#>
I issue the following to get the drive position, drive state, chunklet status.
Code:
showpd -c <PD#>
The following two commands are also needed by support
Code:
showversion
Code:
showsys
If replacing a single drive, I issue
Code:
servicemag start -log -pdid <PD#>
The Inserv will begin preparing to take the magazine offline and log the chunklets normally bound for this magazine to other magazines in the system.
Verify the magazine is ready to be pulled by issuing
Code:
servicemag status
You should see SUCCEEDED when it's ready to be pulled. The orange indicator light on the magazine will be lit.
Replace the drive in the magazine, put the magazine back in the Inserv and please wait for the orange light to go away or make sure all of the lights on the magazine are green and NOT blinking. Blinking lights indicate the drives are still spinning up upon initial insertion of the magazine.
Back at command-line, type in
Code:
cmore showpd
You should see the drive placement at the top and says NEW. This just shows you the Inserv sees the new drive and is ready to go.
Issue the following to have the servicemag script resume the magazine.
Code:
servicemag resume <CAGE#> <MAGAZINE#>
That is how it is done here.
A few thing to add
* showpd -c
Be sure to check for the following columns to be zero:
- NORMAL USED OK, NORMAL USED FAIL, NORMAL UNUSED FREE
- SPARE USED OK, SPARE USED FAIL en SPARE UNUSED FREE
If one is not zero, drive is not ready to be swapped.
* servicemag -log -pdid xx
the -log option is only needed on S, T and V class systems where you have
four drives on a magazine
-log will divert write IO to the three remaining drives on that mag to other disks
which will be played back to the disks during resume
(read IO is from parity for all four drives)
-log is the 3PAR recommended option for large drives
If on S, T and V-Class systems the -log option is left out, you will issue a full servicemag
which will copy all data from the three remaining drives on that mag to other disks
This will take hours
* If you run a showpd after replacing the failed drive, the new drive may show status
"degraded" instead of new.
This means that the drive is running old firmware.
Just continue with the servicemag resume as the drive will be first upgraded during the resume
If the drive shows "failed" try a reseat