4.
Reassign the original device file to the new I/O path using
sasmgr
with the
replace_tgt
qualifier:
# sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c3t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.1.0
WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue ?(y/n) [n]...y
LUN has been replaced with new Target.
NOTE:
To perform the equivalent operation using a persistent DSF, you must use the new
io_redirect_dsf(1M)
command. For more details, see the
io_redirect_dsf(1M)
manpage. To view the manpage, enter this command:
man 1m io_redirect_dsf
NOTE:
The
sasmgr replace_tgt
and
io_redirect_dsf(1M)
commands only work
on devices that have the S/W state
NO_HW
or
CLAIMED
.
5.
The S/W state is swapped. Use
ioscan
to verify that you can access the disk using the
original device file:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Descripn
================================================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG072A8B54
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 2 0/4/1/0.0.0.1.0 sdisk NO_HW DEVICE HP DG072A8B54
disk 3 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG072A8B54
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG072A8B54
/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0
disk 5 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG072A8B54
/dev/dsk/c3t4d0 /dev/rdsk/c3t4d0
disk 6 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP HP IR Volume
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
/dev/dsk/c3t5d0s1 /dev/rdsk/c3t5d0s1
/dev/dsk/c3t5d0s2 /dev/rdsk/c3t5d0s2
/dev/dsk/c3t5d0s3 /dev/rdsk/c3t5d0s3
Recommendations
Updating Physical Disk Firmware
HP recommends that you consider the following when you update the firmware of physical
disks attached to the HP 8 Internal Port SAS Controller with
sasmgr(1M)
:
•
If you are updating the firmware on more than one disk, do not issue multiple disk firmware
download commands on the same command line. Use individual commands for each disk
that is to be updated.
•
If the disk firmware download to a disk that is part of a RAID volume fails or is terminated,
the controller must be reset using the
sasmgr(1M) reset
command:
sasmgr -f reset -D /dev/sasdX
(where
X
is the instance of the SAS controller).
For example:
# sasmgr -f reset -D /dev/sasd0
Device (/dev/sasd0) has been RESET.
Replacing Physical Disks
HP recommends that you consider the following when you replace spare physical disks in a
RAID volume controlled by the HP 8 Internal Port SAS Controller:
•
Before replacing a spare disk, delete it first using
sasmgr(1M)
:
sasmgr delete -D /dev/sasdX -q raid -q spare
(where
X
is the instance of the SAS controller).
Recommendations
67