Performing Other Common Operations; Replacing A Disk Online Using Sasmgr Replace_Tgt Or Io_Redirect_Dsf - HP AH226A - Smart Array E500/256MB Controller RAID Support Manual

Hp 8 internal port sas controller and hp multi-port internal sas controller support guide, september 2009
Table of Contents

Advertisement

NOTE:
To update SAS controller firmware online, you must be running version 11.31.0909 or
higher of the sasd driver. Online SAS controller firmware updates are not supported on systems
running HP-UX 11i v2.
For example, to update the firmware of the controller with the device file /dev/sasd0 online with
the firmware file sas1068_b0fw.fw:
sasmgr download -D /dev/sasd0 -q downloadfile=sas1068_b0fw.fw -q hba
NOTE:
If the firmware is being downgraded to a lower version, an incompatible older version
of the firmware may get rejected. This occurs if the downgraded version of firmware is
significantly older then the version currently installed on the controller.
Use sasmgr get_info to determine the hardware revision of the controller, in order to select
the correct firmware file to download. For example, to determine the hardware revision of the
controller with the device file /dev/sasd0:
# sasmgr get_info -D /dev/sasd0 | grep Revision
PCI Revision ID
Hardware Revision ID
Firmware Revision

Performing Other Common Operations

Clear statistics for a port with PHY ID 1 of the controller with the device file /dev/sasd0:
sasmgr clear_stat -D /dev/sasd0 -q phy_in_port=1
Forcefully issue disable request to the controller with the device file /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 controller
with the device file /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 controller with the device file /dev/sasd0:
sasmgr add -D /dev/sasd0 -q raid -q spare -q enc_bay=1:8
Delete a RAID volume with volume ID 4 to the controller with the device file /dev/sasd0:
sasmgr delete -D /dev/sasd0 -q raid -q raid_vol=4
Delete the HBA Spare on the controller with the device file /dev/sasd0:
sasmgr delete -D /dev/sasd0 -q raid -q spare

Replacing a Disk Online Using sasmgr replace_tgt or io_redirect_dsf

When you replace a disk, a new Device Special File (DSF) is created for the replacement disk;
this can cause data restoration or recovery operations to fail. To avoid this situation, perform an
online replacement of the failed disk:
For HP-UX 11i v2, perform an online replacement of the failed disk using the sasmgr
command with the replace_tgt qualifier. This enables you to remap the DSF of the failed
disk to the replacement disk.
For HP-UX 11i v3, the sasmgr replace_tgt command can be used with legacy DSFs,
but it does not support the persistent DSF format. The <lun_dsf> specified with the
old_dev qualifier and the <new_hw_path> specified with the new_tgt_hwpath qualifier
must still use the legacy device file and the legacy hardware path.
To perform the equivalent operation on HP-UX 11i v3 using a persistent DSF, you must use
the new io_redirect_dsf(1M) command. For more details, see the
Replacing a Disk Online Using sasmgr replace_tgt or io_redirect_dsf
: 0x0001
: B0
: 1.23.42.0
65

Advertisement

Table of Contents
loading

Table of Contents