HP AH226A HP 8 Internal Port SAS Controller and HP Multi-Port Internal SAS Con - Page 65

Performing Other Common Operations

Page 65 highlights

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 : 0x0001 : B0 : 1.23.42.0 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 specified with the old_dev qualifier and the 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 65

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72

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
: 0x0001
Hardware Revision ID
: B0
Firmware Revision
: 1.23.42.0
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
65