HP StorageWorks Storage System Scripting Utility reference (September 2005)

DISKGROUP_DISKTYPE=
This parameter d
etermines the types of disks to be considered for creating the disk group. The default
value is ONLINE.
ONLINE: Only online bre channel disks are considered for creating the default disk group.
NEARONLINE: On
ly near–online Fibre channel disks are considered for creating the default
disk group.
SPARE_POLICY=
This parameter determines the amount, if any, of storage space set aside for safety in the event that
disks fail.
The default is SINGLE.
NONE—Reserves no space within a disk group to allow for d ata reconstruction for failure of
disk drives.
SINGLE—Reserves space within a disk group to allow for data reconstruction for failure of
a single disk drive.
DOUBLE—Reserves space within a disk group to allow for data reconstruction for failure of
two disk drives.
NOTE:
The space set aside with spare policy is not in numbers of physical disks. It is the equivalent amount of
storage space spread across all disks.
Example
ADD SYSTEM payroll DEVICE_COUNT=12 SPARE_POLICY=SINGLE
This example creates an initialize d array payroll with 12 physical d isks and a spare policy of SINGLE.
ADD VDISK
Use the AD D VD ISK command to create a virtual disk with a specied name and parameters.
NOTE:
This command actually creates a virtual disk family and the ACTIVE member. After you create the
family, an initial virtual disk, ACTIVE, is placed as the only virtual disk in the family. This is referred
to as the active virtual disk.
Syntax
ADD VDISK <storage_name> SIZE=<n>
The n is the virtual disk size in whole GBs.
Switches
The following switches are available with the ADD VDISK command.
COMMENT=
This is an optional switch that associates a user-dened c omment with the new virtual disk. A maximum
of 128 characters is allowed and the string must be enclosed in double quotes.
38
Utility command reference