HP Storage Platform Storage Provisioning Tool for StoreAll User Guide

Example 18 Delete volume
$ hpsp_spt --deleteVolume 6AE694F5CFB80010960A415A3430324C
Volume deletion might result in Data loss. Do you really want to delete the volume (y/n)?:y
Deleted Volume: 6AE694F5CFB80010960A415A3430324C
Deleting a spare
Syntax
-ds <UUid of a spare drive>
--deleteSpare <UUid of a spare drive>
Description
Deletes the global spare indicated by the UUID argument.
Example 19 Delete spare drive
# hpsp_spt -deleteSpare 1.1 -ctrlIp 10.20.20.1 -usr manage -pwd \!manage
Do you really want to delete the spare (y/n)?: y
Removed Drive: 1.1 as a Spare
Adding a spare
Syntax
-as <Disk UUID >
--addSpare <Disk UUID >
Description
Adds the drive indicated by the UUID argument as a global-spare.
NOTE: There is a hidden option, --force, for this command. This option should be used only
when the disk is in a leftover state and all the Vdisks are online. Only the HP field engineer should
use this option.
Example 20 Add spare drive
# hpsp_spt -addSpare 1.1 -ctrlIp 10.20.20.1 -usr manage -pwd \!manage
Added disk: 1.1 as a Global-Spare
Assigning host access
Syntax
-ha
--assignHostAccess
Description
Assigns host access to the volumes which are not mapped. This operation allows all the volumes
to be seen by all the registered HBAs.
Command reference and examples 31