text
stringlengths
0
4.23k
subsystems
Queries the provider to discover any new subsystems that were added in the currently selected provider.
drives
Queries the internal I/O buses to discover any new drives that were added in the currently selected subsystem.
refresh
Refreshes internal data for the currently selected provider.
Syntax
refresh provider
rem
Used to comment scripts.
Syntax
Rem <comment>
remove
Removes the specified iSCSI target portal from the currently selected target portal group.
Syntax
remove tpgroup tportal=<tportal> [noerr]
Parameter
Parameter
Description
tpgroup tportal=<tportal>
Specifies the iSCSI target portal to remove.
noerr
For scripting only. When an error is encountered, Diskraid continues to process commands as if the error did not occur.
<tportal>
replace
Replaces the specified drive with the currently selected drive. The specified drive may not be the currently selected drive.
Syntax
replace drive=<drive_number>
Parameter
Parameter
Description
drive=
Specifies the <drive_number> for the drive to be replaced.
<drive_number>
reset
Resets the currently selected controller or port.
Syntax
reset {controller | port}
Parameters
Parameter
Description
controller
Resets the controller.
port
Resets the port.
select
Displays or changes the currently selected object.
Syntax
select {hbaport | iadapter | iportal | provider | subsystem | controller | port | drive | lun | tportal | target | tpgroup } [<n>]
Parameters
Parameter
Description
object
Specifies the type of object to select, including: provider, subsystem, controller, drive, or LUN.
hbaport [<n>]
Sets the focus to the specified local HBA port. If no HBA port is specified, the command displays the currently selected HBA port (if any). Specifying an invalid HBA port index results in no in-focus HBA port. Selecting an HBA port deselects any selected initiator adapters and initiator portals.
iadapter [<n>]
Sets the focus to the specified local iSCSI initiator adapter. If no initiator adapter is specified, the command displays the currently selected initiator adapter (if any). Specifying an invalid initiator adapter index results in no in-focus initiator adapter. Selecting an initiator adapter deselects any selected HBA ports and initiator portals.