HP AH226A HP 8 Internal Port SAS Controller and HP Multi-Port Internal SAS Con - Page 66
dev/dsk/c3t2d0, io_redirect_dsf1M
UPC - 882780748774
View all HP AH226A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
io_redirect_dsf(1M) manpage. To view the manpage, enter this command: man 1m io_redirect_dsf WARNING! If you shut down a server to replace a failed disk offline, the DSF of the failed disk will not be visible in ioscan when the server restarts. The DSF is required by the replace_tgt command to rebuild the array with the new disk. Before you shut down the server, run ioscan and make note of the DSF information for the failed disk. WARNING! The sasmgr replace_tgt and io_redirect_dsf(1M) commands must only be used between identical device types: an IR volume must be replaced by an IR volume, and a non-IR volume must be replaced by a non-IR volume. If you use these commands to remap DSFs for different device types, data loss can occur. To replace a disk online, follow these steps: 1. Use ioscan -fnkC disk to display the list of disk devices, and note the DSF of the failed disk: # ioscan -fnkC 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 N /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t0d0 /dev/rdsk/c3t0d0 disk 3 0/4/1/0.0.0.2.0 sdisk NO_HW DEVICE HP 4 /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0 disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t3d0 /dev/rdsk/c3t3d0 disk 5 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t4d0 /dev/rdsk/c3t4d0 disk 6 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP e /dev/dsk/c3t5d0 /dev/rdsk/c3t5d0 /dev/dsk/c3t5d0s1 /dev/rdsk/c3t5d0s1 /dev/dsk/c3t5d0s2 /dev/rdsk/c3t5d0s2 /dev/dsk/c3t5d0s3 /dev/rdsk/c3t5d0s When the disk is removed, or if it has completely failed, the S/W state will change to NO_HW. In this example, the failed disk is /dev/dsk/c3t2d0 and its hardware path is 0/4/1/0.0.0.2.0. 2. Replace the disk. A new device path and device files are assigned to the replacement disk. 3. Use ioscan -fnC disk to display the list of disk devices, and make note of the hardware path of the replacement disk: # 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 N /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t0d0 /dev/rdsk/c3t0d0 disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP 4 disk 3 0/4/1/0.0.0.2.0 sdisk NO_HW DEVICE HP 4 /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0 disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t3d0 /dev/rdsk/c3t3d0 disk 5 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP 4 /dev/dsk/c3t4d0 /dev/rdsk/c3t4d0 disk 6 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP e /dev/dsk/c3t5d0 /dev/rdsk/c3t5d0 /dev/dsk/c3t5d0s1 /dev/rdsk/c3t5d0s1 /dev/dsk/c3t5d0s2 /dev/rdsk/c3t5d0s2 /dev/dsk/c3t5d0s3 /dev/rdsk/c3t5d0s In this example, the hardware path of the new disk is 0/4/1/0.0.0.1.0. 66 Configuring and Troubleshooting the Controller Online