text
stringlengths
0
4.23k
plex lun=<n>
Specifies the LUN number to add as a plex to the currently selected LUN. CAUTION: All data on the LUN being added as a plex will be deleted.
tpgroup tportal=<n>
Specifies the iSCSI target portal number to add to the currently selected iSCSI target portal group.
noerr
For scripting only. When an error is encountered, Diskraid continues to process commands as if the error did not occur.
<n>
<n>
associate
Sets the specified list of controller ports as active for the currently selected LUN (other controller ports are made inactive), or adds the specified controller ports to the list of existing active controller ports for the currently selected LUN, or associates the specified iSCSI target for the currently selected LUN.
Syntax
associate controllers [add] <n>[,<n> [,…]]
associate ports [add] <n-m>[,<n-m>[,…]]
associate targets [add] <n>[,<n> [,…]]
Parameters
Parameter
Description
controller
Adds to or replaces the list of controllers that are associated with the currently selected LUN. Use only with VDS 1.0 providers.
ports
Adds to or replaces the list of controller ports that are associated with the currently selected LUN. Use only with VDS 1.1 providers.
targets
Adds to or replaces the list of iSCSI targets that are associated with the currently selected LUN. Use only with VDS 1.1 providers.
add
If using VDS 1.0 providers: Adds the specified controllers to the existing list of controllers associated with the LUN. If this parameter is not specified, the list of controllers replaces the existing list of controllers associated with this LUN.If using VDS 1.1 providers: Adds the specified controller ports to the existing list of controller ports associated with the LUN. If this parameter is not specified, the list of controller ports replaces the existing list of controller ports associated with this LUN.
<n>[,<n> [, ...]]
Use with the controllers or targets parameter. Specifies the numbers of the controllers or iSCSI targets to set to active or associate.
<n-m>[,<n-m>[,…]]
Use with the ports parameter. Specifies the controller ports to set active using a controller number (n) and port number (m) pair.
If using VDS 1.1 providers: Adds the specified controller ports to the existing list of controller ports associated with the LUN. If this parameter is not specified, the list of controller ports replaces the existing list of controller ports associated with this LUN.
<n>[,<n> [, ...]]
<n-m>[,<n-m>[,…]]
Example
To associate and add ports to a LUN that uses a VDS 1.1 provider:
DISKRAID> SEL LUN 5
LUN 5 is now the selected LUN.
DISKRAID> ASSOCIATE PORTS 0-0,0-1
Controller port associations changed.
(Controller ports active after this command: Ctlr 0 Port 0, Ctlr 0 Port 1)
DISKRAID> ASSOCIATE PORTS ADD 1-1
Controller port associations changed.
(Controller ports active after this command: Ctlr 0 Port 0, Ctlr 0 Port 1, Ctlr 1 Port 1)
automagic
Sets or clears flags that give hints to providers on how to configure a LUN. Used with no parameters, the automagic operation displays a list of flags.
Syntax
automagic {set | clear | apply} all <flag=value> [<flag=value> [...]]
Parameters
Parameter
Description
set
Sets the specified flags to the specified values.
clear
Clears the specified flags. The all keyword clears all the automagic flags.
apply
Applies the current flags to the selected LUN.
<flag>
Flags are identified by three-letter acronyms, including:FCR - Fast Crash Recovery RequiredFTL - Fault TolerantMSR - Mostly ReadsMXD - Maximum drivesMXS - Maximum Size ExpectedORA - Optimal Read AlignmentORS - Optimal Read SizeOSR - Optimize for Sequential ReadsOSW - Optimize for Sequential Writes OWA - Optimal Write AlignmentOWS - Optimal Write SizeRBP - Rebuild PriorityRBV - Read Back Verify EnabledRMP - Remap EnabledSTS - Strip SizeWTC - Write-Through Caching EnabledYNK - Removable
<flag>
break