Command reference and examples, Controller options, Listing disk drives – HP StoreAll Storage User Manual

Page 25: Controller options listing disk drives, Syntax, Description

Advertising
background image

Command reference and examples

Controller options

Description

Option

Is a mandatory option to be used in all the commands except --help and
--version

. This option requires the controller's management interface IP as

the argument.

-ctrlIp <Array Controller IP>

--controllerIp <Array

Controller IP>

Requires the username to connect to the controller's management interface.

-usr <username>

--user <username>

Requires the password to connect to the controller's management interface.

-pwd <password>

--password <password>

Can be used to retrieve the controller credentials (username and password)
from the credentials manager service.

-cs

--useCredentialService

This option works only if the credentials manager service is configured for the
controller IP.

NOTE:

This option is hidden from the tool --help command and should

be used only by an authorized user.

Listing disk drives

Syntax

hpsp_spt -ld [ all | <UUID of a drive> ]

hpsp_spt --listDrives [ all | <UUID of a drive> ]

Description

Lists information for all drives or an individual drive (if the Universal Unique ID is specified). If no
argument is specified, all drives are listed.

NOTE:

The all argument is case insensitive.

Example 11 List drives

[root@X9000 ~]# hpsp_spt -cs -ctrlIp 10.20.12.101 -ld
--------------------------------------------------------------------------------
# UUID Box Bay State Size(GB) Status
--------------------------------------------------------------------------------
1 1.1 1 1 GLOBAL SP 279.40 OK
2 1.2 1 2 Vdisk 279.40 OK
3 1.3 1 3 Vdisk 279.40 OK
4 1.4 1 4 Vdisk 279.40 OK
5 1.5 1 5 Vdisk 279.40 OK
6 1.6 1 6 Vdisk 279.40 OK
-----------------------------------------------------------------
SUMMARY:
--------
Free Drives : 0
Vdisked Drives : 5
Spare Drives : 1

[root@X9000 ~]# hpsp_spt -cs -ctrlIp 10.20.12.101 -ld -v

1. UUID : 1.1
Serial No. : 6XP26TAF0000B230BNNT
Location(Box,Bay) : 1, 1
Status : OK
Type : SAS
Size : 286102 MB
RPM : 10
Link Speed : 6Gbps
Spare : yes
Enclosure UUID : 500c0ff013ae833c

2. UUID : 1.2

Command reference and examples

25

Advertising