LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   difference between fct_transport, fc_remote (https://www.linuxquestions.org/questions/linux-newbie-8/difference-between-fct_transport-fc_remote-4175422546/)

laijucbabu 08-17-2012 12:03 AM

difference between fct_transport, fc_remote
 
Hi Team,

In one of our servers running RHEL 5.8 some tapes are connected through fc . This is a remote server. My aim was to know about the connectivity of these tapes . ie
1) how many HBAs are there
2) how many ports are connected

When i checked one of the document (online storage reconfiguration guide) i got below doubt

What is the difference between the link file "device "in the directories /sys/class/fc_transport,/sys/class/fc_remote and /sys/class/fc_host/host3

Inside /sys/class/fc_transport/target3:0:0
==========================================
lrwxrwxrwx 1 root root 0 Aug 10 08:23 device -> ../../../devices/pci0000:00/0000:00:09.0/0000:07:00.0/host3/rport-3:0-2/target3:0:0

Inside /sys/class/fc_remote_ports/rport-3:0-2
=============================================
lrwxrwxrwx 1 root root 0 Aug 10 08:23 device -> ../../../devices/pci0000:00/0000:00:09.0/0000:07:00.0/host3/rport-3:0-2

Inside /sys/class/fc_host/host3
===============================
lrwxrwxrwx 1 root root 0 Aug 10 08:23 device -> ../../../devices/pci0000:00/0000:00:09.0/0000:07:00.0/host3

What i can understand from this ..

And when i went to /sys/class/fc_host i can see 2 directories host3 and host4

[20]> pwd
/sys/class/fc_host

[19]> ls -lrt
total 0
drwxr-xr-x 3 root root 0 Aug 16 09:33 host3
drwxr-xr-x 3 root root 0 Aug 16 09:37 host4

Is these two directories implies that this server has two fc ports .

Could you pelease help me on this

Regards


All times are GMT -5. The time now is 04:11 PM.