beautypg.com

Repairing a storage system, Deleting a volume, Repairing a storage system deleting a volume – HP StoreAll Storage User Manual

Page 19

background image

Repairing a storage system

Syntax

hpsp_spt -rp [--dryRun]

hpsp_spt --repair [--dryRun]

Description

You can execute the --repair subcommand on a partially provisioned system.

Without the --dryRun option, the command recreates volumes/pools. This command determines
the missing pools and volumes that should have been there after an --autoProvision and tries
to recreate them so that the volume configuration is brought to the same state it would be in after
an --autoProvision.

With the --dryRun option, the command does a dry run of repair without actually recreating the
missed volumes and lists the volumes that can be created.

NOTE:

This command should not be perceived as an alternate to the --autoProvision

command. This command does not add any new spares if they were removed. Use the
reconfigureSpares

option to add new spares.

Recreation of volumes does not guarantee restoration of data availability. If there is a corrupt
volume and it needs to be repaired, first delete the volume with the command --deleteVolume.
Then use the --repair command.

Determination of missing volumes/pools is based on predefined storage profiles.

Example 8 Dry run profile repair

# hpsp_spt -rp --dryRun
Applying profile: x9730_BalCap_Raid6-2T

.................

--------------------------------------------------
# Name WWN Drives Raid Size(GB)
--------------------------------------------------
1 LUN_1 N/A 8 6 5589.05*
--------------------------------------------------
*Approximate value

======== REPAIR =============

# hpsp_spt -rp
Applying profile: x9730_BalCap_Raid6-2T

.......................

----------------------------------------------------------------------------------------------------
# Name WWN Controller Drives Raid Size(GB) Status
----------------------------------------------------------------------------------------------------
1 LUN_1 6D0E8FB6D980001095AB41304B303352 5001438010B9F5D0 8 6 5589.05 OK
----------------------------------------------------------------------------------------------------

Summary:
1 Volumes
4 Spares

Deleting a volume

Syntax

hpsp_spt -dv

hpsp_spt --deleteVolume

Description

Deletes a single volume (specified by the WWN ID). The tool asks for confirmation before
proceeding with the deletion.

Command reference and examples

19