HPE EVA Storage
1849473 Members
6107 Online
104044 Solutions
New Discussion

Re: SAN switch path problem ?

 
Shah Gaurang B.
Frequent Advisor

SAN switch path problem ?

Hi,
In my network i have 2 SAN switch with 2 hba and 1 VA-7110 storage (7 disk encloser)with raid 1+0 . VA both controllers are connected through hba & switch as a redundacy path.

Now problem is i replaced SAN switch (model 2/12 open fabric edge switch)due to prob. in switch .Now through ioscan -funC disk command few path of disk showing no_hw result but in off condition of 2nd working switch, replaced switch is working fine .so no mistake in connectivity or in path but show how to check that on which path new switch is working ? old path showing as a error .in ioscan command so manny path displyed on screen .
8 REPLIES 8
Charles McCary
Valued Contributor

Re: SAN switch path problem ?

Have you checked connectivity between all devices? Are all the lights on?

Slawomir Gora
Honored Contributor

Re: SAN switch path problem ?

Hi,

maby path to disks have changed after switch replacement (check if there are some new devices) and maby you need to run vgexport/vgimport for vg group. Try to check number of disks after switch replacement.
Kofi ARTHIABAH
Honored Contributor

Re: SAN switch path problem ?

A couple of things come to mind:
1. Have your configurations from the running switch been copied over to the replaced switch. I am thinking that maybe your new switch does not have the requisite zoning information?
2. You can verify which paths are showing as NO_HW as follows:
- run ioscan -fnC disk
Note the HW Path (its the third column of) something like 0/10/0/ etc. for the devices that are reporting NO_HW.
If all the NO_HW devices are going through the same path (and that path is the new switch) then chances are that your zones may not be configured on the new switch.
You can also try
for i in /dev/td?
do
fcmsutil $i
done
you should check the status - things like link speed, Number of active logins etc. should give you an idea if your HBA is "seeing" physically and logically, the switch/disks

Good luck.
Kofi
nothing wrong with me that a few lines of code cannot fix!
Torsten.
Acclaimed Contributor

Re: SAN switch path problem ?

Did you check all settings for the new switch? Zoning and

*Domain ID*

are really important.

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!   
Shah Gaurang B.
Frequent Advisor

Re: SAN switch path problem ?

Thaks for prompt reply to all .
i test zoning is ok and even in off condition of working switch second (replaced) switch is working fine only problem is why it shows no_hw when i applied command ioscan -funC disk

and how to on which path it is connected ?

Torsten.
Acclaimed Contributor

Re: SAN switch path problem ?

The hw path in ioscan consists of the internal path in the server, the switch domain id and the switchport, on which the storage is connected. You can plug the cable from server to switch wherever you want, but you must always use the same port for the cable between switch and array.
Perhaps it will be helpful if you post a ioscan -fn.

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!   
Shared TSS Unix
Occasional Advisor

Re: SAN switch path problem ?

Since the device numbers would change while you change the switch, you may want to do
vgscan -a -v
and then
for i in /dev/vg*
do
vgchange -a y $i
done

Use pvchange, vgreduce, vgextend commands to do load balancing on HBA's if necessary.
avik
Valued Contributor

Re: SAN switch path problem ?

this is expected, if the path thro which the luns are accessed is not available later. since you are able to access the lun thro' new path (of the new switch), the non existing device path/file may be deleted using rmsf command.