Using The Create Virtual Disk Command
The
create virtualDisk
command enables you to create new virtual disks in the storage array in three ways:
•
Create a new virtual disk while simultaneously creating a new disk group to which you assign the physical disks.
•
Create a new virtual disk while simultaneously creating a new disk group to which the MD Storage Manager
software assigns the physical disks.
•
Create a new virtual disk in an existing disk group.
You must have unassigned physical disks in the disk group. You do not need to assign the entire capacity of the disk
group to a virtual disk.
Creating Virtual Disks With User-Assigned Physical Disks
When you create a new virtual disk and assign the physical disks to use, the MD Storage Manager software creates a
new disk group. The RAID controller module firmware assigns a disk group number to the new disk group. The following
syntax is the general form of the command:
create virtualDisk physicalDisks=
(
enclosureID0,slotID0...enclosureIDn,slotIDn
)
raidLevel=(0 | 1 | 5 | 6)userLabel=
"
virtualDiskName
" [capacity=
virtualDiskCapacity
owner=(0 | 1) segmentSize=
segmentSizeValue
]
[enclosureLossProtect=(TRUE | FALSE)]
NOTE: The
capacity
,
owner
,
segmentSize
, and
enclosureLossProtect
parameters are optional. You
can use one or all of the optional parameters as needed to help define your configuration. You do not, however,
need to use any optional parameters.
The
userLabel
parameter is the name to give to the virtual disk. The virtual disk name can be any combination of
alphanumeric characters, hyphens, and underscores. The maximum length of the virtual disk name is 30 characters.
Spaces are not allowed. You must put quotation marks (" ") around the virtual disk name.
The
physicalDisks
parameter is a list of the physical disks that you want to use for the disk group. Enter the
enclosure ID and slot ID of each physical disk that you want to use. Put parentheses around the list. Separate the
enclosure ID and slot ID of a physical disk by a comma. Separate each enclosure ID and slot ID pair by a space. For
example:
(0,0 0,1 0,2 0,3 0,4)
The
capacity
parameter defines the size of the virtual disk. You do not have to assign the entire capacity of the
physical disks to the virtual disk. You can later assign any unused space to another virtual disk.
The
owner
parameter defines the RAID controller module to which you want to assign the virtual disk. If you do not
specify a RAID controller module, the RAID controller module firmware determines the owner of the virtual disk.
The
segmentSize
parameter is the same as described for the
autoConfigure storageArray
command. See
Using The Auto Configure Command.
The
enclosureLossProtect
parameter turns on or turns off enclosure loss protection for the disk group. (For a
description of how enclosure loss protection works, see Enclosure Loss Protection.
Example of Creating Virtual Disks with User-Assigned Physical Disks
client>smcli 123.45.67.89 -c "create virtualDisk
physicalDisks=(0,0 0,1 0,2) raidLevel=5 userLabel=
\"Engineering_1\" capacity=20 GB owner=0;"
NOTE: The
capacity
parameter returns an error if you specify a value greater than or equal to 10 without a
space separating the numeric value and its unit of measure. (For example,
10 GB
returns an error, but
10 GB
does not return an error).
36
Summary of Contents for PowerVault MD3060e Series
Page 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Page 22: ...22 ...
Page 32: ...32 ...
Page 56: ...56 ...
Page 66: ...66 ...
Page 88: ...88 ...
Page 220: ...NOTE If your pass phrase does not meet these criteria you receive an error message 220 ...
Page 224: ...224 ...