Tour the Linux generic SCSI driver
Feb 26, 2009, 19:04 (0 Talkback[s])
(Other stories by Mao Tao)
[ Thanks to An Anonymous Reader for
this link. ]
"During the communication between a host and storage, a
host generally acts as a SCSI initiator. In computer storage, the
SCSI initiator is the endpoint that initiates a SCSI session,
meaning it sends a SCSI command. The storage often acts as a SCSI
target which receives and processes SCSI commands. The SCSI target
waits for the initiator's commands and then provides required
input/output data transfers.
"The target usually provides the initiators one or more logical
unit numbers (LUN). In computer storage, a LUN is simply the number
assigned to a logical unit. A logical unit is a SCSI protocol
entity, the only one which may be addressed by the actual I/O
operations. Each SCSI target provides one or more logical units; it
does not perform I/O as itself, but on behalf of a specific logical
unit.
"In a storage area, a LUN often represents a SCSI disk on which
a host can perform a read and write operation. Figure 1 shows how
the SCSI client/server model works."
Complete Story
Related Stories:
- Linux 2.6 kernel Storage Tuning Tips(Jan 19, 2009)
- The hdparm Command(Jan 05, 2009)
- Linux: Setup iSCSI Target ( SAN )(Nov 13, 2008)
- Centralized Access With iSCSI Wraps it up: Open Source SANs, part 4(Sep 06, 2008)
- Build Your Own iSCSI SAN Appliances With Linux, part 1(Sep 06, 2008)
- SCSI Targets(Feb 04, 2008)
- Anatomy of the Linux SCSI Subsystem(Nov 20, 2007)
- Anatomy of the Linux File System(Nov 09, 2007)