AH303A PCIe SC44Ge SAS Host Bus Adapter for Integrity Servers Support Guide, September 2009

sasmgr [-h] get_info -D device_file -q smp_addr
sasmgr [-h] get_info -D device_file -q target={all | sasaddr}
sasmgr [-h] get_info -D device_file -q vpd
sasmgr [-h] get_stat -D device_file
sasmgr [-h] get_stat -D device_file -q phy={all | phy_id}
sasmgr [-h] get_stat -D device_file -q phy_in_port={all | phy_id}
sasmgr [-h] get_stat -D device_file -q target={all | sasaddr}
sasmgr [-h][-f] replace_tgt -D device_file -q old_dev=lun_dsf
-q new_tgt_hwpath=new_hw_path
sasmgr [-h][-f] reset -D device_file
sasmgr [-h] set_attr -D device_file -q lun=lun_dsf
-q locate_led={on | off}
sasmgr [-h][-f] set_attr -D device_file -q raid -q raid_vol=rvol_id
-q state=vol_state
sasmgr [-h][-f] set_attr -D device_file -q raid -q raid_vol=rvol_id
-q rebuild_rate=rebuild_rate
NOTE: Integrated RAID (IR) is not supported with external SAS devices.
On HP-UX 11i v3, the -N option has been added to the sasmgr utility. For example:
sasmgr -N get_info -D /dev/sasd0 -q lun=all
When you specify this option for some commands, you can specify the persistent device file as
input to a qualifier. For some commands, when you specify this option the sasmgr output
displays persistent device file information.
If you do not specify the -N option, sasmgr accepts and displays only legacy device file
information. This provides backward compatibility with previous versions of HP-UX.
For more information on persistent device files in HP-UX 11i v3, see the intro(7) manpage.
The sasmgr Command Set
A command is defined by a set of qualifiers. Attributes are specified with the -q option. All
keywords are case-sensitive. The following commands are recognized by sasmgr.
bdr
Resets the specified target device. This is a destructive operation. You must
specify the following qualifier with the bdr command:
lun The device to reset.
If you do not specify the -f option with this command, sasmgr displays
a warning message before continuing. Otherwise, it suppresses the
warning message and executes the command.
clear_stat
When run without qualifiers, it clears statistics of the controller represented
by device_file. You can specify the following qualifiers:
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 that the specified PHY belongs
to or clears statistics for all ports.
target - Clears statistics for a specific target or all targets.
The sasmgr Command Set 47