Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

19/11/2019 How to cleanup NO_HW for disks in ioscan without a reboot?

Ce site utilise des cookies. Si certains cookies sont Cookies optionnels


nécessaires au fonctionnement du site, vous pouvez toutefois Oui Non
activer d'autres cookies non essentiels pour personnaliser et
améliorer votre expérience. Pour en savoir plus, veuillez
consulter notre Déclaration de confidentialité.

Hewlett Packard Enterprise Support 1

Menu Center Rechercher Notifications Aide Connexion

Imprimer | Évaluer ce contenu

How to cleanup NO_HW for disks in ioscan without a


reboot?
How to cleanup NO_HW for disks in ioscan without a reboot?
DocId: HARAYKBQA00000438 Updated: 7/2/04 4 08 00 PM

QUESTION
How to cleanup NO_HW for disks in ioscan without a reboot?
ANSWER
The following info is solely based upon my testing.

It is possible to remove devicefiles with the rmsf command and cleanup io


in some instances. When a disk or disk array is bound to the sdisk drive
is possible to use the rmsf -H command with predictable results. We can
remove the NO_HW for the class disk, but if a class target has NO_HW this
remain until a reboot. This is especially helpful for cleaning up disk a
configuration changes. If the disk is bound to the disc3 driver you will
to reboot.

<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.

Envoyez vos commentaires


Merci de bien vouloir évaluer les informations de cette page pour nous aider à améliorer notre contenu. Merci !
Les informations de cette page vous ont été :
Très utiles
Assez utiles
Inutiles

© 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

You might also like