CLI Guide

level nraid|raid0|r0|raid1|r1|raid3|r3|raid5|r5|raid6|r6|raid10|r10 |raid50|
r50Specifies the RAID level.
mode online|offline
Optional. Specifies whether the disk group is initialized online or offline.
online: Enables you to use the disk group immediately after creating it while it is initializing. Because
online uses the verify method to create the disk group, it takes longer to complete initializing than offline.
Online initialization is fault-tolerant. This option is the default.
offline: You must wait for the disk group initialization process to finish before using the disk group.
However, offline takes less time to complete initializing than online
spare disks
Optional. The IDs of 1–4 dedicated spares to assign to a RAID 1, 3, 5, 6, 10, or 50 disk group. For disk syntax,
see Command syntax on page 17.
name
A name for the new disk group. Input rules:
The value is case sensitive.
The value can have a maximum of 32 bytes.
The value can include spaces and printable UTF-8 characters except: " , . < \
A value that includes a space must be enclosed in double quotes.
Examples Create a RAID-1 linear disk group named VD1 using two disks.
# create vdisk level raid1 disks 0.1,0.3 VD1
Create a RAID-50 linear disk group named VD2 having three RAID-5 subgroups, each having three disks.
# create vdisk level r50 disks 0.1-3:0.4-6:0.7-9 VD2
Create a RAID-6 linear disk group named vdR6 using four disks.
# create vdisk level r6 disks 2.3-4,2.8-9 vdR6
See also
delete vdisks on page 73
set vdisk on page 156
show disks on page 179
show vdisks on page 252
create volume
Description
Creates a volume in a linear disk group or virtual pool.
You must specify a size for the volume. You can create the volume unmapped or set its default mapping.
Default mapping settings apply to all hosts, unless overridden by an explicit mapping between a host and the
volume. You can later change the mapping by using the map volume and unmap volume commands. By
default, this command will not map the created volume.
CAUTION: Using a default mapping for a volume will allow multiple hosts to access the volume.
To avoid multiple hosts mounting the volume and causing corruption, the hosts must be
cooperatively managed, such as by using cluster software.
Volume sizes are aligned to 4.2 MB (4 MiB) boundaries. When a volume is created or expanded, if the
resulting size would be less than 4.2 MB it will be increased to 4.2 MB; if the resulting size would be greater
than 4.2 MB it will be decreased to the nearest 4.2 MB boundary.
To create multiple volumes at once, use the create volume-set command.
NOTE: For virtual storage, you cannot add a volume to a volume group that is in a replication
set.
For virtual storage, you can set the retention priority for snapshots of the volume. If automatic deletion of
snapshots is enabled, the system uses the retention priority of snapshots to determine which, if any,
60 Alphabetical list of commands