Professional Documents
Culture Documents
How To Cleanup NO - HW For Disks in Ioscan Without A Reboot
How To Cleanup NO - HW For Disks in Ioscan Without A Reboot
QUESTION
How to cleanup NO_HW for disks in ioscan without a reboot?
ANSWER
The following info is solely based upon my testing.
<br />
Example 1 HPUX 11.11
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 2 8/8/1/0.2.18.0.0.0 tgt CLAIMED DEVICE
disk 12 8/8/1/0.2.18.0.0.0.0 sdisk CLAIMED DEVICE
HP
A6189A
/dev/dsk/c36t0d0 /dev/rdsk/c36t0d
disk 1136 8/8/1/0.2.18.0.0.0.1 sdisk NO_HW DEVICE
HP
A6189A
/dev/dsk/c36t0d1 /dev/rdsk/c36t0d
target 21 8/8/1/0.2.18.0.0.9 tgt CLAIMED DEVICE
disk 1145 8/8/1/0.2.18.0.0.9.6 sdisk CLAIMED DEVICE
HP
A6189A
/dev/dsk/c36t9d6 /dev/rdsk/c36t9d
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c01621091 1/3
19/11/2019 How to cleanup NO_HW for disks in ioscan without a reboot?
#rmsf -H 8/8/1/0.2.18.0.0.0.1
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 2 8/8/1/0.2.18.0.0.0 tgt CLAIMED DEVICE
disk 12 8/8/1/0.2.18.0.0.0.0 sdisk CLAIMED DEVICE
HP
A6189A
/dev/dsk/c36t0d0 /dev/rdsk/c36t0d
target 21 8/8/1/0.2.18.0.0.9 tgt CLAIMED DEVICE
disk 1145 8/8/1/0.2.18.0.0.9.6 sdisk CLAIMED DEVICE
HP
A6189A
/dev/dsk/c36t9d6 /dev/rdsk/c36t9d
Since Lun 1 in this example did not have a class target associated, it wa
removed completely from the ioscan.
<br />
Example 2 HPUX 11.0
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 10 0/5/0/0.6 tgt NO_HW DEVICE
disk 6 0/5/0/0.6.0 sdisk NO_HW DEVICE HP
73.4GATLAS10
K3_73_SCA
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
#rmsf -H 0/5/0/0.6.0
<B#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 10 0/5/0/0.6 tgt NO_HW DEVICE
Notice that the NO_HW for the class target still exists.
<br />
Example 3 HPUX 11.23
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 3 0/1/1/0.1 tgt NO_HW DEVICE
disk 1 0/1/1/0.1.0 sdisk NO_HW DEVICE HP
36.4GATLAS1
0K3_36_SCA
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
/dev/dsk/c2t1d0s4 /dev/rdsk/c2t1d0s4
# rmsf -H 0/1/1/0.1.0
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c01621091 2/3
19/11/2019 How to cleanup NO_HW for disks in ioscan without a reboot?
=====================================================================
target 3 0/1/1/0.1 tgt NO_HW DEVICE
<br />
Example 4 HPUX 11.00
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 1 10/0.1 tgt NO_HW DEVICE
disk 1 10/0.1.0 sdisk NO_HW DEVICE
1
8.2GST318452LC
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
target 7 10/4/4.1 target NO_HW DEVICE
disk 6 10/4/4.1.0 disc3 NO_HW DEVICE
1
8.2GST318452LC
/dev/dsk/c1t1d0 /dev/rdsk/c1t1
/dev/floppy/c1t1d0 /dev/rfloppy/c
# rmsf -H 10/0.1.0
# rmsf -H 10/4/4.1.0
#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 1 10/0.1 tgt NO_HW DEVICE
target 7 10/4/4.1 target NO_HW DEVICE
disk 6 10/4/4.1.0 disc3 NO_HW DEVICE
1
8.2GST318452LC
The device files and the sdisk bound device have been removed.
ALT KEYWORDS
rmsf special files
Original KMine QANDA HARAYKBQA00000438
Avis juridique : Les produits vendus avant le 1er novembre 2015, date de la séparation de Hewlett-Packard Company en Hewlett Packard
Enterprise Company et HP Inc. peuvent avoir d'autres noms et des numéros de modèle différents des versions actuelles.
© Copyright 2019 Hewlett Packard Enterprise Development LPConfidentialité | Choix des publicités et cookies | Conditions générales
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c01621091 3/3