HP P2000 G3 MSA System CLI Reference Guide
67
create vdisk
Description
Creates a vdisk using the specified RAID level, disks, and spares. All disks used in a vdisk and its
spares must be either SAS or SATA; mixing disk types is not supported.
For each RAID level, the minimum and maximum numbers of disks supported are:
•
NRAID: 1
•
RAID 0: 2–16
•
RAID 1: 2
•
RAID 3: 3–16
•
RAID 5: 3–16
•
RAID 6: 4–16
•
RAID 10: 4–16
•
RAID 50: 6–32
For best practices for creating vdisks, see the SMU Reference Guide.
Syntax
create vdisk
level nraid|raid0|r0|raid1|r1|raid3|r3|raid5|r5|raid6|r6|raid10|r10
|raid50|r50
disks
disks
[assigned-to a|b|auto]
[spare
disks
]
[chunk-size 16k|32k|64k|128k|256k|512k]
[mode online|offline]
name
Parameters
level nraid|raid0|r0|raid1|r1|raid3|r3|raid5|r5|raid6|r6|raid10|r10
|raid50|r50
Specifies the RAID level.
disks
disks
IDs of the disks to include in the vdisk. RAID 10 requires a minimum of two RAID-1 sub-vdisks each
having two disks. RAID 50 requires a minimum of two RAID-5 sub-vdisks each having three disks.
For disk syntax, see
Command syntax
on page 22.
assigned-to a|b|auto
Optional. For a system operating in Active-Active ULP mode, this specifies the controller to own the
vdisk. To let the system automatically load-balance vdisks between controllers, use auto or omit this
parameter. In Single Controller mode, this parameter is ignored; the system automatically
load-balances vdisks in anticipation of the insertion of a second controller in the future.
spare
disks
Optional. IDs of 1–4 dedicated spares to assign to a RAID 1, 3, 5, 6, 10, or 50 vdisk. For disk
syntax, see
Command syntax
on page 22.
chunk-size 16k|32k|64k|128k|256k|512k
Optional. The amount of contiguous data, in KB, that is written to a vdisk member before moving to
the next member of the vdisk. For RAID 50, this option sets the chunk size of each RAID-5 subvdisk.
The chunk size of the RAID-50 vdisk is calculated as:
configured-chunk-size
x (
subvdisk-members
- 1).
For NRAID and RAID 1,
chunk-size
has no meaning and is therefore not applicable. The default
size is
64k
.
mode online|offline
Optional. Specifies whether the vdisk is initialized online or offline.
•
online
: Enables you to use the vdisk immediately after creating it while it is initializing.
Because online uses the verify method to create the vdisk, it takes longer to complete initializing
than offline. Online initialization is fault-tolerant. This option is the default.
•
offline
: You must wait for the vdisk initialization process to finish before using the vdisk;
however, offline takes less time to complete initializing than online.
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...