Using Sasmgr: Common Command Examples; Displaying General Statistics And Information - HP AH226A - Smart Array E500/256MB Controller RAID Support Manual

Hp 8 internal port sas controller and hp multi-port internal sas controller support guide, september 2009
Table of Contents

Advertisement

reset
set_attr

Using sasmgr: Common Command Examples

This section contains examples of sasmgr commands which are useful when troubleshooting
problems with the Host Bus Adapter.

Displaying General Statistics and Information

The following command will display all PHY statistics of the controller with the device file
/dev/sasd0:
# sasmgr get_info -D /dev/sasd0 -q phy=all
Tue Dec 12 02:44:31 2006
Info for PHY ID
This command is typically intended for replacing a bad drive. This operation
must not be used while there are outstanding I/O requests to the lun_dsf or
to any LUNs under the new_hw_path. If the -f option is not specified, sasmgr
displays a warning message before proceeding. Otherwise, it suppresses the
warning message and executes the command.
NOTE:
This command does not allow a persistent device file or the new style
hardware path to be specified with the old_dev and new_tgt_hwpath
qualifiers. For persistent device files, please use the io_redirect_dsf
command. See the io_redirect_dsf(1M) manpage for more information.
Resets the controller and performs a complete re-initialization. This is a
destructive operation. Some I/Os may be aborted by this command. 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.
The following qualifiers must be specified with the set_attr command:
lun
locate_led
Turns the locate LED for the specified LUN on or off. If it is a RAID device
LUN, then this command turns the LOCATE LED for all the physical disks
that are part of the RAID volume on or off.
raid
state
raid_vol
Use this set of qualifiers to change the state of the volume based on the value
specified by the state qualifier and the volume specified by raid_vol. 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.
raid
raid_vol
rebuild_rate
Use this set of qualifiers to change the rebuild rate of the volume specified by
raid_vol based on the rate specified by the rebuild_rate. 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.
: 0
Using sasmgr: Common Command Examples
57

Advertisement

Table of Contents
loading

Table of Contents