CLI Guide

createvd
Table 86. Details of createvd
Description
Creates a virtual disk based on the specification that you enter with this command.
NOTE: You can create multiple virtual disks using the script at an instance. But, ensure that there is
an interval of about 30 seconds to facilitate completion of the first slice virtual disk creation before
running the second slice virtual disk command.
Synopsis
racadm raid createvd:<Controller FQDD> -rl {r0|r1|r5|r6|r10|r50|r60} [-wp {wt|
wb|fwb}] [-rp {nra|ra|ara}]
[-ss {1k|2k|4k|8k|16k|32k|64k|128k|256k|512k|1M|2M|4M|8M|16M}] -pdkey:<comma
separated PD FQDD>
[-dcp {enabled|disabled|default}] [-name <VD name>] [-size <VD size>{b|k|m|g|
t}] [-cc]
[-sc {span count}] {-current|-pending} [-vdinit {yes|no}] [-secure {yes|no}]
Input
-rl: Set the RAID Level.
r0: RAID 0 – Striping.
r1: RAID 1 – Mirroring.
r5: RAID 5 – Striping with Parity.
r6: RAID 6 – Striping with Extra Parity.
r10: RAID 10 – Spanned Striping with Mirroring.
r50: RAID 50 – Spanned Striping with Parity.
r60: RAID 60 – Spanned Striping with Extra Parity.
-wp {wt | wb | fwb}: Set the write policy to Write Through, Write Back, or Forced Write Back.
-rp {nra|ra|ara}: Set the read policy to No Read Ahead, Read Ahead, or Adaptive Read Ahead.
-ss: Specify the stripe size to use.
-sc: Number of spans in the virtual disk. This value must be entered while creating spanned RAID levels such as
10, 50, and 60.
-pdkey: <PD FQDD list>: The PDs to use in the VD.
-dcp: Set the Disk Cache Policy in the VD.
enabled: Enabled – Allow the disk to use its cache.
disabled: Disabled – Disallow the disk from using its cache.
default: Default – Use the default cache policy. SAS Drives - Use Disabled by Default. SATA Drives - Use
Enabled by Default.
–name: <VD name>: The name to give the VD.
–size: <VD size>: The size of the VD.
b: Specify the size in bytes.
k: Specify the size in kilobytes
m: Specify the size in megabytes.
g: Specify the size in gigabytes.
t: Specify the size in terabytes.
-cc: Create a CacheCade or Enhanced Cache VD.
-vdinit: Create a virtual disk with or without initialization. The available values are:
yes
no
If -vdinit is not specified, the default value is “yes”.
-secure: Create a virtual disk using Self-Encrypting Drives (SEDs). The available values are:
yes
no
If -secure is not specified, the default value is “no”.
RACADM Subcommand Details
77