1.26.2012

sas commands (Hardware mirroring) hp-ux

HPUX SAS controller commands - hardware mirroring (only on some controllers)

status of serial attached SCSI raid set:
sasmgr get_info -D /dev/sasd0 -q raid

get controller HW path and device file
saslist get_info ctrl sasd

get list of LUNs being controlled by the sasd driver
saslist get_info lun sasd

status all physical drives
sasmgr get_info -D /dev/sasd0 -q phy=all

statistics of HBA (for problems)
sasmgr get_stat -D /dev/sasd0

track down disk problems
sasmgr get_stat -D /dev/sasd0 -q phy=all

clear statistics on PHY 1
sasmgr clear_stat -D /dev/sasd0 -q phy_in_port=1