Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
storage, a logical unit number or LUN is a number used to identify a
logical unit, which is a device addressed by the SCSI protocol or
similar protocols such as Fibre Channel or iSCSI. A LUN may be used with
any device which supports read/write operations, such as a tape drive,
but is most often used to refer to a logical disk as created on a SAN.
Though not technically correct, the term "LUN" is often also used to
refer to the drive itself. To provide a practical example, a typical
disk array has multiple physical SCSI ports, each with one SCSI target
address assigned. Then the disk array is formatted as a RAID and then
this RAID is partitioned into several separated storage volumes. To
represent each volume, a SCSI target is configured to provide a logical
unit. Each SCSI target may provide multiple logical units and thus
represent multiple volumes, but this does not mean that those volumes
are concatenated. The computer that accesses a volume on the disk array
identifies which volume to read or write with the LUN of the associated
logical unit.