beautypg.com

Destroy_partition – HP Array Controller HSG V8.7 Software User Manual

Page 337

background image

CLI Commands

B–65

DESTROY_PARTITION

Marks the area reserved for a partition as available. The freed area is
then consolidated with any adjacent free areas.

Caution Data contained on a partition is lost when you enter the
DESTROY_PARTITION command.

You cannot destroy a partition that has been assigned a unit number.
First enter the DELETE unit-number command to delete the unit using
the partition.

After you partition a container, you must initialize it in order to destroy
the partitions.

Syntax

DESTROY_PARTITION container-name PARTITION=partition-
number

Parameters

container-name
Identifies the disk or storageset containing the partition to be destroyed.
This is the name given to the container when it was created using the
ADD command (for example, ADD DISK, ADD STRIPESET, and so
forth).

partition-number
Identifies the partition to be destroyed. Use the SHOW container-name
command to identify the correct partition before carrying out the
DESTROY_PARTITION command.

Example

The following example shows how to delete the unit for partition 2 on
RAIDset RAID9 and destroy the partition:

DELETE D102
DESTROY_PARTITION RAID9 PARTITION=2