bdr
The following qualifier must be specified with the
bdr
command:
•
lun
- Resets the specified target device. This is a destructive operation.
If the
-f
option is not specified with this command,
sasmgr
displays a
warning message before continuing. Otherwise, it suppresses the warning
message and executes the command.
clear_stat
When the
clear_stat
command is run without qualifiers, it clears statistics
of the controller represented by
device_file
. The following qualifiers may
be specified with the
clear_stat
command:
•
all
- Clears all statistics for the controller, all PHYs, all ports, and all
targets.
•
phy
- Clears statistics for all PHYs or a specific PHY.
•
phy_in_port
- Clears statistics for a port to which the specified PHY
belongs to or clears statistics for all ports.
•
target
- Clears statistics for a specific target or all targets.
delete
One of the following sets of qualifiers must be specified with the delete
command:
•
raid
•
raid_vol
Use this set of qualifiers to delete the RAID volume given by the volume ID.
(Use the
get_info
command with the raid qualifier to obtain the volume
ID.) If a volume ID of
all
is specified, then all RAID volumes will be deleted.
If the
-f
option is not specified,
sasmgr
displays a warning message before
continuing the command. Otherwise, it suppresses the warning message and
continues executing the command. This command requires superuser
privileges. See
“Security Restrictions” (page 68)
.
•
raid
•
spare
Use this set of qualifiers to delete the controller spare disk. If the
-f
option is
not specified,
sasmgr
displays a warning message before continuing the
command. Otherwise, it suppresses the warning message and continues
executing the command. This command requires superuser privileges. See
“Security Restrictions” (page 68)
.
disable
Disables the controller. This is a destructive operation. The controller will go
offline, all current I/Os will be aborted, and new I/Os will fail. An
enable
operation must be performed in order to bring the controller back online. If
the
-f
option is not specified,
sasmgr
displays a warning message before
continuing the command. Otherwise, it suppresses the warning message and
executes the command.
download
Updates the firmware on a SAS controller, enclosure, or SAS disk. You can
specify the following qualifiers:
•
downloadfile
– The name of the file containing the new firmware.
•
enc_bay
– The enclosure and bay of the disk to update the firmware on.
OR
ctrl
– The ID of the external enclosure to update the firmware on.
OR
device_file
– The device file of the SAS controller to update. This
qualifier also requires the use of the
hba
qualifier. For more information
on the use of this command, see
“Updating SAS Controller Firmware
Online” (page 64)
.
The sasmgr Command Set
55