LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2016, 05:10 PM   #1
Sivagurunathan
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
difference between fc_host and scsi_host


Hi,

What is the difference between fc_host & scsi_host and usage of both

/sys/class/fc_host/host0
/sys/class/scsi_host/host0

Regards,
Siva
 
Old 10-27-2016, 07:12 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
fiber channel controllers or SCSI controllers.

All it is doing is identifying the underlying controller interface/driver.

Fiber channel controllers have a different topology as they allow for multiple connections to the same device - giving rise to multiple device names for the same storage device (hence the wwn names being assigned in /dev/disk/by-id). Fiber channel is a network based connection - thus allowing for two fiber channel controllers to connect to two (or more) fiber channel routers (cross connected) and then cross connect the disk devices. It also permits multiple systems to be added to the network, with both systems having parallel access to the SAME devices.

SCSI controllers rarely do that except when a disk device has multi-port capability, and then that multi-port connection is most often used to attach different systems. I have only seen SCSI as point-to-point connections.

NAS devices can fake things out (like iSCSI), or foe (fiber over ethernet), but it is the ethernet providing the routing in those cases, not SCSI (or fiber).

Last edited by jpollard; 10-27-2016 at 07:14 PM.
 
Old 10-28-2016, 07:21 AM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
"fc_host" refers to the fibre channel transport layer. The same adapter also has a "scsi_host" which refers to the SCSI device protocol layer. The reason to have two is that fibre channel can run other protocols than SCSI.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to identify ports of the same HBA from the details provided in /sys/class/fc_host PrasannaKumariMS Linux - General 0 07-10-2011 10:57 PM
LXer: Making a Difference; Selling a Difference LXer Syndicated Linux News 0 09-23-2010 05:00 AM
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
[SOLVED] What is the difference between ./ls and . ./ls? jcky Linux - Newbie 8 09-14-2009 12:07 AM
What's the difference between 'su' and 'su -' rickh Linux - Newbie 2 09-10-2005 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration