sasmgr.1m (2010 09)

s
sasmgr(1M) sasmgr(1M)
reset
Resets the SAS I/O card / HBA and performs a complete re-initialization. This is a destructive
operation. Some I/Os can be aborted by this command.
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.
set_attr
One of the following sets of qualifiers must be specified with the
set_attr command:
lun
locate_led
This set of qualifiers is used to turn on or off the locate LED for the specified lun. If it is
a RAID device lun, then this command turns on or off the LOCATE LED for all the physi-
cal disks that are part of the RAID volume.
raid
state
raid_vol
This set of qualifiers is used 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 proceeding
with the operation. Otherwise, it suppresses the warning message and continues execut-
ing the command.
raid
raid_vol
rebuild_rate
This set of qualifiers is used 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 proceeding
with the operation. Otherwise, it suppresses the warning message and continues execut-
ing the command.
Security Restrictions
sasmgr requires either superuser privilege or DEVOPS, DACREAD, and DACWRITE privileges for RAID
configurations. See privileges (5) for more information about privileged access on systems that support
fine-grained privileges.
EXAMPLES
Display all PHY statistics of the SAS I/O card / HBA whose device file is
/dev/sasd0
:
sasmgr get_info -D /dev/sasd0 -q phy=all
Display all RAID volume information of the Core I/O card / HBA whose device file is
dev/sasd0:
sasmgr get_info -D /dev/sasd0 -q raid
Clear statistics for a port with PHY ID 1 of the SAS I/O card / HBA whose device file is /dev/sasd0:
sasmgr clear_stat -D /dev/sasd0 -q phy_in_port=1
Forcefully issue disable request to the SAS I/O card / HBA whose device file is /dev/sasd0:
sasmgr -f disable -D /dev/sasd0
Add a RAID volume with size 34000 (MB), level 1 (RAID1), and enc_bay 1:4,1:5 to the Core I/O card /
HBA whose device file is /dev/sasd0:
sasmgr add -D /dev/sasd0 -q raid -q level=1 -q size=34000
-q enc_bay=1:4,1:5
Add a spare disk to the Core I/O card / HBA whose device file is /dev/sasd0:
sasmgr add -D /dev/sasd0 -q raid -q spare -q enc_bay=1:4,1:5
Delete a RAID volume with volume ID 4 to the Core I/O card / HBA whose device file is /dev/sasd0:
sasmgr delete -D /dev/sasd0 -q raid -q raid_vol=4
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: September 2010