text
stringlengths
0
4.23k
Creates a mirrored LUN.
automagic
Creates a LUN using the automagic hints currently in effect. For more info, see the automagic sub-command in this article.
size=
Specifies the total LUN size in megabytes. Either the size= or the drives= parameter must be specified. They can also be used together. If the size= parameter is not specified, the LUN created will be the largest possible size allowed by all the specified drives.A provider typically creates a LUN at least as big as the requested size, but the provider may have to round up to the next largest size in some cases. For example, if size is specified as .99 GB and the provider can only allocate GB disk extents, the resulting LUN would be 1 GB. 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 to create a LUN. Either the size= or the drives= 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. If the size= parameter is specified, providers will select drives from the specified drive list to create the LUN. Providers will attempt to use the drives in the order specified when possible.
stripesize=
Specifies the size in megabytes for a stripe or raid LUN. The stripesize cannot be changed after the LUN is created. 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.
target
Creates a new iSCSI target on the currently selected subsystem.
name
Supplies the friendly name for the target.
iscsiname
Supplies the iSCSI name for the target and can be omitted to have the provider generate a name.
tpgroup
Creates a new iSCSI target portal group on the currently selected target.
noerr
For scripting only. When an error is encountered, Diskraid continues to process commands as if the error did not occur.
A provider typically creates a LUN at least as big as the requested size, but the provider may have to round up to the next largest size in some cases. For example, if size is specified as .99 GB and the provider can only allocate GB disk extents, the resulting LUN would be 1 GB. 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.
delete
Deletes the currently selected LUN, iSCSI target (as long as there are not any LUNs associated with the iSCSI target) or iSCSI target portal group.
Syntax
delete lun [uninstall] [noerr]
delete target [noerr]
delete tpgroup [noerr]
Parameters
Parameter
Description
lun
Deletes the currently selected LUN and all data on it.
uninstall
Specifies that the disk on the local system associated with the LUN will be cleaned up before the LUN is deleted.
target
Deletes the currently selected iSCSI target if no LUNs are associated with the target.
tpgroup
Deletes 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.
detail
Displays detailed information about the currently selected object of the specified type.
Syntax
detail {hbaport | iadapter | iportal | provider | subsystem | controller | port | drive | lun | tportal | target | tpgroup} [verbose]
Parameters
Parameter
Description
hbaport
Lists detailed information about the currently selected host bus adapter (HBA) port.
iadapter
Lists detailed information about the currently selected iSCSI initiator adapter.
iportal
Lists detailed information about the currently selected iSCSI initiator portal.