sasmgr.1m (2010 09)

s
sasmgr(1M) sasmgr(1M)
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
DESCRIPTION
sasmgr is a common diagnostic tool used for all Serial Attached SCSI (SAS) I/O cards / Host Bus
Adapters (HBAs). sasmgr requires the use of a device file to indicate the interface over which the
requested command needs to be performed.
Options
sasmgr recognizes the following command-line options:
-f Suppresses the warning messages and continues executing the command.
-h Provides a brief description of what the command does.
-N Displays information for persistent device files (see intro (7)). If the command also displays
hardware path information, then it shows the hardware path corresponding to the persistent
device file. For example, if you use this option with the
get_info command and the
lun and
lun_locate qualifiers, sasmgr will print information for the persistent device files and
display the corresponding lun hardware paths.
-q Describes the command’s qualifiers. A command is defined by a set of qualifiers which must be
specified after the command name. Each qualifier is proceeded by the -q option. Some
qualifiers can take one or more values and are given as -q qualifier_name={x | y} where
qualifier_name can take either the value x or y.
-v Provides verbose information. For example, if you use this option with the
get_info com-
mand and qualifiers
lun and lun_locate, sasmgr will print additional header informa-
tion.
Commands
sasmgr recognizes the following commands. A command is defined by a set of qualifiers. Qualifiers are
specified with the -q option. All keywords are case-sensitive.
add One of the following sets of qualifiers must be specified with the
add command:
raid
level
enc_bay
size
rebuild_rate
This set of qualifiers is used to create a RAID volume with the specified RAID level,
volume size and physical disks. The value specified for the level qualifier determines
the RAID level for the volume. For example, -q level=1 specifies that a RAID1
volume should be created. The enc_bay qualifier defines or specifies the enclosure and
bay of each physical disk of the RAID volume. If the physical disks in a RAID volume are
different sizes, then some disk space will be wasted. Volume expansion is not supported;
once a volume has been created, its size cannot be increased. If the size qualifier is not
specified, then the volume is created with a maximum possible size based on the size of
the physical disks specified. If the rebuild_rate qualifier is not specified, then the
default rebuild_rate of 20% will be used for the volume.
If the
-f option is not specified, sasmgr displays a warning message before continuing
the command. Otherwise, it suppresses the warning and executes the command. This
command requires superuser privileges. Refer to the Security Restrictions section below.
raid
spare
enc_bay
This set of qualifiers is used to add a global spare disk. The global spare disk is used
whenever a physical disk in any RAID volume on the Core I/O card / HBA fails. The
enc_bay qualifier defines or specifies the enclosure and bay of the global spare disk.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010