HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
sasmgr(1M) sasmgr(1M)
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 com-
mand 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.
-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 information.
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 com-
mand 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 when-
ever 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. The size of the
disk specified should be greater than the size of at least one of the physical disks in the
volume.
If the -f option is not specified, sasmgr displays a warning message before continuing the
command. Otherwise, it suppresses the warning message and continues executing the com-
mand. This command requires superuser privileges. Refer to the Security Restrictions sec-
tion below.
bdr The following qualifier must be specified with the bdr command:
lun Resets the specified target device. This is a destructive operation. If the -f option is not
specified with this command, sasmgr displays a warning message before continuing. Oth-
erwise, it suppresses the warning message and executes the command.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 291