Operating System - HP-UX
1748195 Members
3967 Online
108759 Solutions
New Discussion

Re: How to remove lun h/w path

 
SOLVED
Go to solution
GSGPrakash
Occasional Advisor

How to remove lun h/w path

hello, how to remove lun path from below output, it should not be showin ioscan after removing.

Please let me know command it do it.  thanks in advance.

 

# ioscan -m lun

Class     I  Lun H/W Path  Driver  S/W State   H/W Type     Health   Description
======================================================================= 

disk     14  64000/0xfa00/0xb    esdisk  CLAIMED     DEVICE       limited  DGC     CX4-240WDR5      
             0/0/0/5/0/0/0.0x500601643ce0225c.0x4001000000000000
             0/0/0/5/0/0/0.0x5006016c3ce0225c.0x4001000000000000
                      /dev/disk/disk14   /dev/rdisk/disk14

5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: How to remove lun h/w path

Since the health is limited, I assume at least one path to the LUN has disappeared. Do you want to remove this single path or the complete LUN?

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!   
GSGPrakash
Occasional Advisor

Re: How to remove lun h/w path

I need to remove it the path and it should not shows in ioscan output..pls help

Torsten.
Acclaimed Contributor
Solution

Re: How to remove lun h/w path

I think

/sbin/rmsf -x -H hw_path

or

/sbin/rmsf -x

should do 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!   
Bill Hassell
Honored Contributor

Re: How to remove lun h/w path

The proper way is to use rmsf. In your example, use the hardware path:

 

rmsf -H 64000/0xfa00/0xb

 

 



Bill Hassell, sysadmin
JayroSaycon
Occasional Advisor

Re: How to remove lun h/w path

I agree. This will do.

 

# rmsf -H 64000/0xfa00/0xb