Table 1 lists the command used for creating virtual disk/arrays.
Table 1 Creating Virtual Disk/Array
Command |
IOC |
IOP |
ROC |
Description |
● |
● |
● |
Create virtual disk. |
Use create to create a virtual disk.
The syntax for the create command (including all required and optional parameters) is as follows:
create -o <vd> -d <PD id list> -r <0|1|10|1E|5|50|6|60> [-n <name>] [-b <16|32|64|128>] [-w <wt|wb>] [-p <none|ra>] [-i <quick|none>] [-g <0|1|10>] [--waiveconfirmation] [-h]
Table 2 describes the required and optional parameters for the create command.
Syntax |
Description |
Required Parameter |
|
-o <vd> |
Use to specify object as virtual disk. |
-d <PD id list> |
Use to specify IDs of physical disks. Note: Separate IDs by , (comma). |
-r <0|1|10|1E|5|50|6|60> |
Use one of the following options to select the RAID level for the virtual disk: 0 1 10 1E 5 50 6 60 Note: Marvell RAID controllers support different sets of RAID levels depending on the hardware model and OEM software package. Some software packages, depending on OEM selections, support limited RAID levels by design. Check with the OEM vendor for information specific to your controller. |
Optional Parameters |
|
[-n <name>] |
Use to specify name for virtual disk. Note: If this parameter is not included in the command line, CLI uses the default name Logical RAID. |
[-b <16|32|64|128>] |
Use one of the following options to select the stripe block size in KB: 16 (16 KB) 32 (32 KB) 64 (64 KB) 128 (128 KB) Note: Support for different stripe sizes depends on the capabilities of the controller and RAID level. If this parameter is not included in the command line, CLI uses the default stripe size 64. |
[-w <wt|wb>] |
Use one of the following options to select the write cache mode for the virtual disk: wt (Write Through, Performance) wb (Write Back, Reliable) Note: If this parameter is not included in the command line, CLI uses the default write cache mode wb. |
[-p <none|ra>] |
Use one of the following options to enable/disable Read Ahead for the virtual disk: none (No Read Ahead) ra (Enable Read Ahead) Note: If this parameter is not included in the command line, CLI uses the default setting none. |
[-i <quick|none>] |
Use one of the following options to configure initialization for the virtual disk: quick (Fast Initialization) none (No Initialization) Note: If this parameter is not included in the command line, CLI uses the default initialization type quick. |
[-g <0|1|10>] |
Use one of the following to select Gigabyte Rounding for the virtual disk: 0 (0 GB) 1 (1 GB) 10 (10 GB) Note: If this parameter is not included in the command line, CLI uses the default gigabyte rounding setting 0. |
[--waiveconfirmation] |
Use to waive step requiring user confirmation of virtual disk creation. |
[-h] |
Use to display help text for the create command. |
Example |
|
create -o vd -r0 -d 0,2,4 -n "My VD" -b 32 -g 0 -w wb -p ra |
Create a RAID 0 virtual disk named My VD using physical disks 0, 2, and 4, with stripe size of 32 KB, gigabyte rounding of 0 GB, Write Back cache mode and Read Ahead. |