Operating System - HP-UX
1833267 Members
3393 Online
110051 Solutions
New Discussion

Removal of Unnecessary hardware path

 
Sharjeel Saleem
Regular Advisor

Removal of Unnecessary hardware path

Hi,
How i can remove old hardware path,there is no hardware attached anymore with it? but still diplay in ioscasn.

-Sharjeel

P.S: doubt in rmsf syntex.
12 REPLIES 12
Ron Irving
Trusted Contributor

Re: Removal of Unnecessary hardware path

Hi!!

Are there still 'devices' attached to the path? A reboot will clear anything there. System type?

thx
Should have been an astronaut.
Pete Randall
Outstanding Contributor

Re: Removal of Unnecessary hardware path

Try "rmsf -H".


Pete

Pete
AwadheshPandey
Honored Contributor

Re: Removal of Unnecessary hardware path

for hw in `ioscan -fun|grep -i no_hw|awk '{print $3}'`
do
rmsf -H $hw
done
It's kind of fun to do the impossible
Sharjeel Saleem
Regular Advisor

Re: Removal of Unnecessary hardware path

No more hardware attached with it anymore.system type is rp3440.
(Not using anymore default SCSI port for TA5300,either scsi cable attached with dual card scsi card).
Torsten.
Acclaimed Contributor

Re: Removal of Unnecessary hardware path

Not sure if I undestand your question. Can you provide the "ioscan -fn" output related to this?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sharjeel Saleem
Regular Advisor

Re: Removal of Unnecessary hardware path

see the attached output...dont want to see any unclaimed hardware path.
Torsten.
Acclaimed Contributor

Re: Removal of Unnecessary hardware path

status "NO_HW" means the hardware is removed?

Try

rmsf -k -H 0/1/1/1.1.0

for this entry for example:

scsi:wsio:T:T:F:31:188:200704:disk:sdisk:0/1/1/1.1.0:5 128 2 50 0 0 0 0 230 177 180 216 31 76 246 199 :1:root.sba.lba.c8xx.tgt.sdisk:sdisk:NO_HW:DEVICE:_NEC DVD_RW ND-3550A:3
/dev/dsk/c3t1d0



There is nor problem to only "see" these entries. After a reboot they are gone anyway.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
AVV
Super Advisor

Re: Removal of Unnecessary hardware path

Can you try with the below command ? Then do an ioscan ...

#rmsf -k -H 0/1/1/1.1.0

If the -k option is specified, the definition of all devices at that
hardware path are removed from the system, again without removing any
special files.

Thanks -ajesh
Ron Irving
Trusted Contributor

Re: Removal of Unnecessary hardware path

Hi again!

The NO_HW indicates that the OS is expecting hardware in that path, which is not there. Normally, things like bad hard-drives will report NO_HW. Like I said above, a reboot will clear the NO_HW. I know that the rmsf command will do so also, but my peers would be better prepared to give you the correct syntax.

Hope this helps.

ron
Should have been an astronaut.
sachit patil
Regular Advisor

Re: Removal of Unnecessary hardware path

use rmsf -h
chris huys_4
Honored Contributor

Re: Removal of Unnecessary hardware path

reboot the system.

The rmsf commands will not help. (and can make the problem worse)
Sajjad Sahir
Honored Contributor

Re: Removal of Unnecessary hardware path

dear Sharjeel

u can use rmsf -H then hardware path

first use ioscan -funC disk
then u will get hardware path
then use rmsf -H then hardware path
it will remove from u system