Logical Unit Number

Logical Unit Number

In computer storage, a logical unit number or 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 input/output (I/O) operations. Each SCSI target provides one or more logical units, and does not perform I/O as itself, but only on behalf of a specific logical unit.

Examples

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 separate storage volumes. To represent each volume, a SCSI target is configured to provide a LUN. Each SCSI target may provide multiple LUNs and thus represent multiple volumes, which does "not" mean that those volumes are concatenated.

Another example is a single disk drive with one physical SCSI port. It usually provides just a single target, which in turn usually provides just a single LUN numbered zero. This LUN represents the entire storage of the disk drive.

Other protocols

"LUN" term is applicable not only to traditional parallel SCSI, but also to its descendants, like Fibre Channel Protocol (FCP), iSCSI, HyperSCSI, and others.

cXtXdXsX nomenclature in Unix

From the computer perspective, SCSI LUN is only a part of full SCSI address. The full device's address is made from the:
* "controller ID" of the host bus adapter,
** "target ID" identifying the SCSI target on that bus,
*** "disk ID" identifying a LUN on that target,
**** an optional (and largely obsolete) "slice ID" identifying a specific slice on that disk.In the Unix family of operating systems, these IDs are often combined into a single "name". For example, "/dev/dsk/c1t2d3s4" would refer to controller 1, target 2, disk 3, slice 4. Presently Solaris, HP-UX, NCR, and others continue to use "cXtXdXsX" nomenclature, while AIX has abandoned it in favor of more familiar names.

Other uses

The term "logical unit number" also applies to a file access channel within certain programming languages. For example in FORTRAN, the WRITE statement has a form which identifies the LUN of the target file and the FORMAT of the data to be written as in WRITE(5,32) where 5 is the LUN of the file and 32 is the FORMAT statement for the write.

See also

* LUN masking


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Logical Unit Number —   [Abk. LUN, dt. »logische Einheitennummer«], die, Nummer, unter der ein Laufwerk beim SCSI Host Adapter als logisches Laufwerk angemeldet wird. Die LUNs können Unteradressen ein und derselben SCSI ID bilden, sodass sich unter derselben… …   Universal-Lexikon

  • Logical Unit Number — Un LUN (Logical Unit Number) désigne, dans le domaine du stockage informatique, le numéro d unité logique d un équipement SCSI. Par extension cet acronyme désigne également le numéro d identification d une unité de stockage SAN. Bien que LUN… …   Wikipédia en Français

  • Logical unit number — En almacenamiento, una logical unit number o LUN es una dirección para una unidad de disco duro y por extensión, el disco en sí mismo. El término es originario del protocolo SCSI como una forma de diferenciar unidades de disco individuales dentro …   Wikipedia Español

  • Logical Unit Number Masking — or LUN masking is an authorization process that makes a Logical Unit Number available to some hosts and unavailable to other hosts.The security benefits are limited in that with many HBAs it is possible to forge source addresses (WWNs/MACs/IPs).… …   Wikipedia

  • logical unit number —    Abbreviated LUN. The logical address of a Small Computer System Interface (SCSI) device when several devices are attached to a single SCSI device ID. The LUN is usually set to zero unless the SCSI adapter supports multiple LUNs on a single… …   Dictionary of networking

  • Logical volume management — Gestion par volumes logiques La gestion par volumes logiques (en anglais, logical volume management ou LVM) est une méthode et un logiciel de découpage, de concaténation et d utilisation des espaces de stockage d un serveur. Il permet de gérer,… …   Wikipédia en Français

  • number game — Introduction       any of various puzzles and games that involve aspects of mathematics.       Mathematical recreations comprise puzzles and games that vary from naive amusements to sophisticated problems, some of which have never been solved.… …   Universalium

  • Logical effort — The method of logical effort, a term coined by Ivan Sutherland and Robert Sproull in 1991, is a straightforward technique used to estimate delay in a CMOS circuit. Used properly, it can aid in selection of gates for a given function (including… …   Wikipedia

  • Unit Control Block — In IBM mainframe operating systems from the z/OS line, a Unit Control Block (UCB) is a memory structure, or a control block , that describes any single input/output peripheral device, or a unit , to the operating system.A similar concept in Unix… …   Wikipedia

  • Unit interval — For the data transmission signaling interval, see Unit interval (data transmission). In mathematics, the unit interval is the closed interval [0,1], that is, the set of all real numbers that are greater than or equal to 0 and less than or equal… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”