Operating System - Linux
1748204 Members
3138 Online
108759 Solutions
New Discussion юеВ

How to see the SAN connection

 
Mohammed Yasar
Occasional Advisor

How to see the SAN connection

Hi,

What is the equivalent command for ioscan -funC disk in linux to see the SAN connection

4 REPLIES 4

Re: How to see the SAN connection

See in "dmesg" output
VK2COT
Honored Contributor

Re: How to see the SAN connection

Hello,

a) If you are using HP Blades, the check
/opt/hp/hp_fibreutils directory.
Number of good tools.

b) Generic tool that I find
most useful is:

http://sg.torque.net/scsi/lsscsi.html

There are other methods but this should suffice.

VK2COT
VK2COT - Dusan Baljevic
Andrew Cowan
Honored Contributor

Re: How to see the SAN connection

Mohammed,

The generic way to see your SAN connections is to boot your machine to the BIOS level and ensure that you can see your fibre cards. At this level you should also be able to see your WWN (World-Wide-Names), and then confirm with your SAN people that there is no LUN-Masking setup, which may block your access.

Assuming this is all working, boot into LInux and then examine the contents of your "/proc/scsi/scsi" and "/etc/modules.conf" to see if your fibre-card has been correctly configured. Next run "lsmod" to check that the device-driver/modules have loaded for your card.
Finally take a look at the output of "fdisk -l" to see if you can see your disks/LUNs, and "/var/log/boot.log", and "/var/log/syslog.log" to check that your card(s) have been recognised.
Basheer_2
Trusted Contributor

Re: How to see the SAN connection

Hi Mohammed,

Mine was a linux 4.x connected to HP EVA 5000.

here are some commands i used
1) /opt/hp/hp_fibreutils/hp_rescan -a
2) lssd
3) lvmdiskscan
4) scsi_info /dev/sde
5) cat /proc/scsi/scsi
6) fdisk -l