text
stringlengths
0
4.23k
Parameters
Parameter
Description
size
Specifies the size in megabytes to extend the LUN. Either the size or the <drive> parameter must be specified. They can also be used together. If the size= parameter is not specified, the LUN is extended by the largest possible size allowed by all the specified drives. If the size= parameter is specified, providers select drives from the list specified by the drives= parameter to create the LUN. To specify the size using other units, use one of the following recognized suffixes immediately after the size:B - byteKB - kilobyteMB - megabyteGB - gigabyteTB - terabytePB - petabyte.
drives=
Specifies the <drive_number> for the drives to use when creating a LUN. Either the size or the <drive> parameter must be specified. They can also be used together. If the size= parameter is not specified, the LUN created is the largest possible size allowed by all the specified drives. Providers use the drives in the order specified when possible.
noerr
For scripting only. When an error is encountered, Diskraid continues to process commands as if the error did not occur.
<drive>
<drive_number>
<drive>
flushcache
Clears the cache on the currently selected controller.
Syntax
flushcache controller
help
Displays a list of all Diskraid commands.
Syntax
help
importtarget
Retrieves or sets the current Volume Shadow Copy Service (VSS) import target that is set for the currently selected subsystem.
Syntax
importtarget subsystem [set target]
Parameter
Parameter
Description
set target
If specified, sets the currently selected target to the VSS import target for the currently selected subsystem. If not specified, the command retrieves the current VSS import target that is set for the currently selected subsystem.
initiator
Retrieves information about the local iSCSI initiator.
Syntax
initiator
invalidatecache
Invalidates the cache on the currently selected controller.
Syntax
invalidatecache controller
lbpolicy
Sets the load balance policy on the currently selected LUN.
Syntax
lbpolicy set lun type=<type> [paths=<path>-{primary | <weight>}[,<path>-{primary | <weight>}[,…]]]
lbpolicy set lun paths=<path>-{primary | <weight>}[,<path>-{primary | <weight>}[,…]]
Parameters
Parameter
Description
type
Specifies the load balance policy. If the type is not specified, then the path parameter must be specified. Type can be one of the following:FAILOVER - Uses one primary path with other paths being backup paths.ROUNDROBIN - Uses all paths in round-robin fashion, which tries each path sequentially.SUBSETROUNDROBIN - Uses all primary paths in round-robin fashion; backup paths are used only if all primary paths fail.DYNLQD - Uses the path with the least number of active requests.WEIGHTED - Uses the path with the least weight (each path must be assigned a weight).LEASTBLOCKS - Uses the path with the least blocks.VENDORSPECIFIC - Uses a vendor-specific policy.
path
Specifies whether a path is primary or has a particular <weight>. Any paths not specified are implicitly set as backup. Any paths listed must be one of the currently selected LUN's paths.
<weight>
list
Displays a list of objects of the specified type.
Syntax
list {hbaports | iadapters | iportals | providers | subsystems | controllers | ports | drives | LUNs | tportals | targets | tpgroups}
Parameters
Parameter
Description
hbaports