1832375 Members
2489 Online
110041 Solutions
New Discussion

how to delete ext_bus?

 
SOLVED
Go to solution
ViS_2
Frequent Advisor

how to delete ext_bus?

Hi!
There were some LUNs presented to my server from the EVA5000 array. The presentations were dropped and now I have many useless ext_bus-es in my ioscan output:
#ioscan -fkCext_bus | tail +3 | awk '{print $1 " " $2 " " $3 " " $4 " " $5}'
ext_bus 0 0/0/0/2/0 c8xx CLAIMED
ext_bus 1 0/0/0/2/1 c8xx CLAIMED
ext_bus 2 0/0/0/3/0 c8xx CLAIMED
ext_bus 3 0/0/0/3/1 c8xx CLAIMED
ext_bus 8 0/0/8/1/0.2.2.255.0 fcpdev CLAIMED
ext_bus 9 0/0/8/1/0.2.3.255.0 fcpdev CLAIMED
ext_bus 10 0/0/8/1/0.2.8.255.0 fcpdev CLAIMED
ext_bus 11 0/0/8/1/0.2.9.255.0 fcpdev CLAIMED
ext_bus 4 0/0/8/1/0.3.4.255.0 fcpdev CLAIMED
ext_bus 5 0/0/8/1/0.3.5.255.0 fcpdev CLAIMED
ext_bus 6 0/0/8/1/0.3.10.255.0 fcpdev CLAIMED
ext_bus 7 0/0/8/1/0.3.11.255.0 fcpdev CLAIMED
ext_bus 12 1/0/0/2/0 c8xx CLAIMED
ext_bus 13 1/0/0/2/1 c8xx CLAIMED
ext_bus 14 1/0/0/3/0 c8xx CLAIMED
ext_bus 15 1/0/0/3/1 c8xx CLAIMED
ext_bus 20 1/0/8/1/0.1.2.255.0 fcpdev CLAIMED
ext_bus 21 1/0/8/1/0.1.3.255.0 fcpdev CLAIMED
ext_bus 22 1/0/8/1/0.1.8.255.0 fcpdev CLAIMED
ext_bus 23 1/0/8/1/0.1.9.255.0 fcpdev CLAIMED
ext_bus 16 1/0/8/1/0.4.4.255.0 fcpdev CLAIMED
ext_bus 17 1/0/8/1/0.4.5.255.0 fcpdev CLAIMED
ext_bus 18 1/0/8/1/0.4.10.255.0 fcpdev CLAIMED
ext_bus 19 1/0/8/1/0.4.11.255.0 fcpdev CLAIMED

Is there any means to delete all ext_bus-es accept local scsi ones?
The securepath software is running on this server.
All "spmgr display *" commands say that no LUNs presented to the host.

Thanks
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: how to delete ext_bus?

Use the rmsh -H hardware_path command. Man rmsf.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: how to delete ext_bus?

Use the rmsf -H hardware_path command. Man rmsf.
If it ain't broke, I can fix that.
ViS_2
Frequent Advisor

Re: how to delete ext_bus?

I've tried
rmsf -v -H 0/0/8/1/0
rmsf -v -H 1/0/8/1/0
with no success
they still in place

Also I,ve tried this one:
for i in `ioscan -fkCext_bus | tail +3 | awk '{print $3}' | grep 255`; do rmsf -H $i; done

It is useless also...

All my SAN ext_bus-es still in the place.

do I have reboot after rmsf?
A. Clay Stephenson
Acclaimed Contributor

Re: how to delete ext_bus?

Try adding the -k option.
If it ain't broke, I can fix that.
ViS_2
Frequent Advisor

Re: how to delete ext_bus?

for i in `ioscan -fkCext_bus | tail +3 | awk '{print $3}' | grep 255`; do rmsf -H $i -k; done

rmsf -H 1/0/8/1/0 -k -v

rmsf -H 0/0/8/1/0 -k -v

None of these succeeds...
A. Clay Stephenson
Acclaimed Contributor

Re: how to delete ext_bus?

Now that you have run the rmsf -H commands, you will need to reboot.
If it ain't broke, I can fix that.
ViS_2
Frequent Advisor

Re: how to delete ext_bus?

sorry
No success
Eric SAUBIGNAC
Honored Contributor
Solution

Re: how to delete ext_bus?

Hi Victor,

"... Is there any means to delete all ext_bus-es accept local scsi ones? ..."
If you plan to access any LUNs on the EVA 5000 in the future, no, there is no means to delete them. For what ?

Something else : in spite of the EVA 5000 doesn't present any LUN to your host, your host stills "see" the EVA 5000. That's why you have many claimed ext_bus in your ioscan.

If you do want to delete them, besides doing some rmsf, you should also edit fabric zoning to prevent your host from accessing the EVA 5000, then reboot.

Hope this will help

Regards
Eric
ViS_2
Frequent Advisor

Re: how to delete ext_bus?

Hi Eric!
yes! the zoning is the right word!
Really, even though eva does not present any LUNs it is still visible by the host in the PDA mode (the 255-s in the HW-pathes).

Why?
Eric SAUBIGNAC
Honored Contributor

Re: how to delete ext_bus?

Well, probably because HP-UX (under 11iv3) handles SAN like SCSI.

For any storage system found on an HBA (and at any new instance of LUN modulo 128) it creates an ext_bus like if you had just added a new SCSI card. With SCSI cards, it you don't want ext_bus, in other terms if you don't want to use the card (that means no sens, no ?), you simply remove it from the box. Same ways with SAN storage : hide it with zoning.

Eric
ViS_2
Frequent Advisor

Re: how to delete ext_bus?

OK
Thanks