Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell OpenManage Deployment Toolkit Version 5.4 Command Line Interface Reference Guide

PDF

RAIDCFG Options And Arguments

Table below lists all of the valid options, parameters, and arguments for the RAIDCFG utility. For more information on valid RAIDCFG options and their specific uses, see RAID Configuration Utility Options and Arguments.

Mandatory command line options must be present in the command. Optional command line options can be typed in any order after the mandatory options have been typed. Many options have both a short and long format. Short and long format options cannot be used in the same command line instance.

Table below shows some examples of valid and invalid short and long format command line instances. For an explanation of the specific order for each option, see RAID Configuration Utility Options And Arguments. For a list of frequently used RAID commands, see Quick Reference To RAIDCFG Commands.

NOTE Some of the following options or arguments might not be available on all systems.
Table 1. RAIDCFG Short and Long Format OptionsThe following table describes the valid options, parameters, and arguments for the RAIDCFG utility.
Option Valid Arguments Short Description Mandatory or Optional
No option
-h
-?
or
/?
NA Displays general usage information for the utility. The usage information consists of a comprehensive list of valid options, parameters, and arguments.

Optional.

See General Help for specific usage information.

-ac or action
blink Blinks the specified physical disks on the specified controller. See Blinking And Unblinking Array Disks for specific usage information.
ci
or
cancelinit
Cancels the slow or full initialization on the selected virtual disk. See Initializing Virtual Disks for specific usage information.
cc or consistencycheck Checks the consistency for a specified virtual disk.

See Consistency Check For Virtual Disk for specific information.

ccc or cancelconsistencycheck Cancels the consistency check for a specified virtual disk.

See Consistency Check For Virtual Disk for specific information.

chsk
or
changesecuritykey
Changes the encryption key of the encryption-capable controller.

See Changing Encryption Key for specific information.

crbd
or
cancelrebuild
Cancels the rebuild of the physical disk associated with a specified virtual disk.

See Configuring Physical Disk Rebuild for specific information.

ctr
or
converttoraid
Configures the array disk as RAID.

See Configuring Array Disk as RAID for specific information.

csk
or
createsecuritykey
Creates encryption key for the encryption-capable controller.

See Creating Encryption Key for specific information.

ctnr
or
converttononraid
Configures the array disk as JBOD.

See Configuring Array Disk as RAID for specific information.

cvd

or

createvdisk

Creates a virtual disk.

NOTE When providing multiple physical disks for the createvdisk command, do not separate the disks with spaces. For example, -ad= 1:4, 1:5 causes an error. The correct syntax for displaying multiple physical disks is -ad= 1:4,1:5,1:6
See Creating Virtual Disks for specific usage information.

dvd

or

deletevdisk

Deletes a virtual disk. See Deleting Virtual Disks for specific usage information.
dpc
or
discardPreservedCache
Discards the preserved cache on the controller. See Discarding Preserved Cache for specific usage information.
dphs
or
disablepersistenthotspare
Disables the controller Persistent Hot Spare feature for the selected controller. See Enabling and Disabling Persistent Dedicated Hot Spares for specific usage information.
dsk
or
deletesecuritykey
Deletes the encryption key of the encryption-capable controller. See Deleting Encryption Key for specific usage information.
eai
or
enableautoimport
Configures the auto import property of the controller. See Configuring Auto Import for specific usage information.
ephs
or
enablepersistenthotspare
Enables the controller Persistent Hot Spare feature for the selected controller. See Enabling and Disabling Persistent Dedicated Hot Spares for specific usage information.
evs
or
expandvdsize
Increases the size of the virtual disk by the specified percentage. See Increasing Virtual Disk Size for specific usage information.
fgnimp
or
foreignimport
Imports the foreign configuration for the indicated controller. See Importing and Clearing Foreign Configurations for specific usage information.
fgnclr
or
foreignclear
Clears the foreign configuration for the specified controller. See Importing and Clearing Foreign Configurations for specific usage information.
fgnrvr
or
foreignrecover
Recovers the foreign configuration for the specified controller. See Importing and Clearing Foreign Configurations for specific usage information.
fi
or
fastinit
Initializes the virtual disk for the specified controller. See Initializing Virtual Disks for specific usage information.
gfki
or
getforeignkeyids
Displays the foreign key ids present on the specified controller. See Displaying Foreign Key Ids for specific usage information.
gpciels
or
getPCIeLinkSpeed
Displays the Peripheral Component Interconnect Express (PCIe) link speed of the controller.

See Setting and Displaying the PCIe Link Speed for specific usage information.

insecerase
or
instantsecureerase 
Erases the encrypted physical disk that is in ready or foreign disk state.

See Erasing Encrypted Physical Disk for specific usage information.

isfc
or
importsecureforeignconfig
Imports the foreign configuration of the virtual disks secured with the specified passphrase.

See Importing Secured Foreign Configurations for specific usage information.

lghs
or
listglobalhotspare
Displays the array (physical) disks used for global hot spare for the specified controller.

See Assigning, Unassigning, And Listing Global Hot Spares for specific usage information.

offline
Sets the physical disk state to offline.

See Configuring Physical Disk State for specific usage information.

online
Sets the physical disk state to online.

See Configuring Physical Disk State for specific usage information.

rghs
or
removeglobalhotspare
Unassigns all global hot spares to disks on the specified controller.

See Assigning, Unassigning, And Listing Global Hot Spares for specific usage information.

replacepd
or
replacepdisk
Replaces the physical disk of a virtual disk by a ready state disk.

See Replacing Physical Disk Of A Virtual Disk for specific usage information.

rbd
or
rebuild
Rebuilds the physical disk associated with a specified virtual disk.

See Configuring Physical Disk Rebuild for specific information.

rst
or
reset
Resets the selected controller.

See Resetting The Controller for specific usage information.

sbf
or
setbootflag
Sets the indicated virtual disk as boot VD on the indicated controller.

See Setting A Virtual Disk As Bootable Virtual Disk for specific usage information.

sbm
or
setbootmode
Sets the bootmode of the controller to 0 (BIOS stop on error), 1 (BIOS continue on error), or 2 (Headless continue on error) during system startup or reboot.

See Setting Boot Mode for specific usage information.

sghs
or
setglobalhotspare
Assigns the specified disks as global hot spares on the specified controller.

Optional. See Assigning, Unassigning, And Listing Global Hot Spares for specific usage information.

sli
or
slowinit
Initializes the virtual disk for the specified controller using the slowinit command.

See Initializing Virtual Disks for specific usage information.

spciels
or
setPCIeLinkSpeed
Sets the PCIe link speed of the controller to 2 or 3.

See Setting And Displaying The PCIe Link Speed for specific usage information.

svdn
or
setvdname
Sets the name of the specified virtual disk on the specified controller.

See Setting Virtual Disk Name for specific usage information.

-ad or adisk
NA Specifies an array disk command. See Enumerating Array Disks for specific usage information.

ch:targ, ch:targ, ...

or ch:targ:lun,...

or ch:targ:enc

channel:target, or channel:target:lun,

or

channel:target:enclosure

Specifies an array disk.

For SCSI controllers, the value of LUN should always be 0.

For SAS controllers, the value of enclosure can be non-zero, in which case you must specify values for channel, target, and enclosure.

NOTE You can also use pdisk or -pd instead of adisk or -ad to specify an array disk.

Optional.

See Enumerating Array Disks for specific usage information.

-c or controllerid
<valid controller ID number> Specifies a RAID controller. See Enumerating RAID Controllers for specific usage information.
-cp or cachepolicy d or e Specifies the cache policy for reads on a specified virtual disk or disk cache policy.

Optional.

See Creating Virtual Disks for specific usage information.

-ctrl or controller NA Displays a list of the supported RAID controllers in the system, along with select property information.

Mandatory, must be typed in the correct order.

See Enumerating RAID Controllers for specific usage information.

-envc or envcommand <string> Sets a user-defined environmental variable (<string>) to the value returned from a function call. See Setting Environment Variables for specific usage information.
-envn or envname <string> Sets the environment variable (<string>) that equates to the value returned from a function call. See Setting Environment Variables for specific usage information.
-fd or failoverdrive

ch:targ, ch:targ, ...

or ch:targ:lun,...

or ch:targ:enc

channel:target, or channel:target:lun,

or

channel:target:enclosure

Specifies the location of the failover drive in an array.

For SCSI controllers, the value of LUN should always be 0.

For SAS controllers, the value of enclosure can be non-zero, in which case you must specify values for channel, target, and enclosure.

NOTE From DTK 2.4 onwards, the -fd option creates dedicated hot spares instead of global hot spares. To set global hot spares, see Assigning, Unassigning, And Listing Global Hot Spares.

Optional.

See Creating Virtual Disks for specific usage information.

-i <filename> Reads the RAID configuration information from the given .ini filename and creates the RAID configurations on the specified controllers.

Mandatory.

See Miscellaneous Options for specific usage information.

-l or logfile <filename> Logs command line output to a file.

Optional.

See Miscellaneous Options for specific usage information.

-o <filename> Reads the RAID configurations from all available controllers and write these configurations in the given .ini filename.

Mandatory.

See RAID Replication Options for specific usage information.

-r or raid <valid RAID level number>

Sets the RAID level for the array.

Valid RAID values are 0, 1, 5, 10, 50.

If no value is specified for RAID, 0is taken as the default level.

Optional.

See Creating Virtual Disks for specific usage information.

-rp or readpolicy ra, ara, nra, rc, nrc Sets the read policy for the virtual disk.

Optional.

See Creating Virtual Disks for specific usage information.

-se or setenvironment NA

Sets a user-defined environment variable to the value returned from the function call. The function calls are:

getcontrollerslots, getfirmware, getcontrollertype, getadisks, getadiskcount, getfreeadisks, getfreeadiskcount, getfreeadisksize, and gethotspares.

Mandatory.

See Setting Environment Variables for specific usage information.

-si or silent NA Does not display any information on the terminal console.

Optional.

See Miscellaneous Options for specific usage information.

-sp or spanlength <number>

The span size of RAID 5, which is a mandatory parameter for RAID 50.

NOTE Spanlength is applicable for RAID 10, RAID 50, and RAID 60. The minimum permissible spanlength value is 2for RAID 10, 3for RAID 50 and 4for RAID 60. The number of array disks for creating virtual disks should not be a prime number and should be divisible by the specified spanlength.

Mandatory.

See Creating Virtual Disks for specific usage information.

-sz or size <number>

Sets the maximum size on the virtual disk in MB or GB if the size is not provided.

The default size is in MB. If GB follows the number, the size is expressed in GB.

Optional.

See Creating Virtual Disks for specific usage information.

-ssz or stripesize <number>

Sets the stripe size on the virtual disk in KB.

NOTE When creating virtual disks, do not specify the units for chunk (stripe) size. The units are always listed in KB.

Optional.

See Creating Virtual Disks for specific usage information.

-vd or vdisk NA Displays the virtual disks under all of the controllers along with the physical array disks that make up the virtual disks. See Enumerating Virtual Disks for specific usage information.
<valid virtual disk ID number> Displays the specified virtual disk.

Optional.

See Enumerating Virtual Disks for specific usage information.

-ver or version NA Displays the version number of the utility.

Optional.

See Miscellaneous Options for specific usage information.

-wp or writepolicy wb, wt, wc, nwc, fwb Sets the write policy for a virtual disk. The valid arguments are: wb (writeback caching), wt (write-through caching), wc (write-caching), nwc (no-write-caching), and fwb (force-write-back).

Optional.

See Miscellaneous Options for specific usage information.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\