Knowledge

Logical unit number

Source 📝

22: 236:
There is one LUN which is required to exist in every target: zero. The logical unit with LUN zero is special in that it must implement a few specific commands, most notably Report LUNs, which is how an initiator can find out all the other LUNs in the target. But LUN zero need not provide any other
240:
Many SCSI targets contain only one logical unit (so its LUN is necessarily zero). Others have a small number of logical units that correspond to separate physical devices and have fixed LUNs. A large storage system may have up to thousands of logical units, defined logically, by administrative
223:
The LUN is not the only way to identify a logical unit. There is also the SCSI Device ID, which identifies a logical unit uniquely in the world. Labels or serial numbers stored in a logical unit's storage volume often serve to identify the logical unit. However, the LUN is the only way for an
217:(CDB) to a target (physical unit) and within the CDB is a 3-bit LUN field to identify the logical unit within the target. In current SCSI, the initiator delivers the CDB to a particular logical unit, so the LUN appears in the transport layer data structures and not in the CDB. 201:
In another example: a single disk-drive has one physical SCSI port. It usually provides just a single target, which in turn usually provides just a single logical unit whose LUN is zero. This logical unit represents the entire storage of the disk drive.
230:
The LUN identifies a logical unit only within the context of a particular initiator. So two computers that access the same disk volume may know it by different LUNs.
224:
initiator to address a command to a particular logical unit, so initiators often create, via a discovery process, a mapping table of LUN to other identifiers.
198:. 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. 90: 32: 62: 249:
From the computer perspective, SCSI LUN is only a part of the full SCSI address. The full device's address is made from the:
175: 69: 318:
has abandoned it in favor of more familiar names. HP-UX refers to this as the Legacy Naming Model since version 11i v3.
402: 76: 58: 47: 303: 366: 174:
ports, each with one SCSI target address assigned. An administrator may format the disk array as a
83: 388: 190:
target may provide multiple logical units and thus represent multiple volumes, but this does
179: 43: 331: 315: 155: 132: 8: 398: 283: 158:. Though not technically correct, the term "LUN" is often also used to refer to the 295: 258: 112: 146:
A LUN may be used with any device which supports read/write operations, such as a
311: 170:
To provide a practical example, a typical multi-disk drive has multiple physical
39: 241:
command, and the administrator may choose the LUN or the system may choose it.
424: 418: 195: 182:
this RAID into several separate storage-volumes. To represent each volume, a
136: 159: 151: 394: 343: 147: 21: 302:
would refer to controller 1, target 2, disk 3, slice 4. Presently
298:, these IDs are often combined into a single "name". For example, 214: 330:
also applies to an input/output access channel within certain
307: 140: 314:, and others continue to use "c_t_d_s_" nomenclature, while 291: 187: 183: 171: 128: 213:
In the early versions of SCSI, an initiator delivers a
186:
target is configured to provide a logical unit. Each
416: 268:identifying the SCSI target on that controller, 244: 361: 359: 48:introducing citations to additional sources 386: 356: 135:protocols that encapsulate SCSI, such as 390:Storage Networking Protocol Fundamentals 38:Relevant discussion may be found on the 150:, but is most often used to refer to a 417: 367:"What is a Logical Unit Number (LUN)?" 127:, which is a device addressed by the 237:services, such as a storage volume. 15: 13: 14: 436: 275:identifying a LUN on that target, 123:, is a number used to identify a 31:relies largely or entirely on a 20: 380: 1: 349: 321: 245:c_t_d_s_ nomenclature in Unix 194:mean that those volumes are 7: 337: 165: 10: 441: 215:Command Descriptor Block 282:identifying a specific 221:LUN vs. SCSI Device ID: 205: 332:programming languages 59:"Logical unit number" 211:How to select a LUN: 133:Storage Area Network 44:improve this article 387:James Long (2006). 328:logical unit number 117:logical unit number 228:Context sensitive: 300:/dev/dsk/c1t2d3s4 296:operating systems 109: 108: 94: 432: 409: 408: 384: 378: 377: 375: 374: 363: 259:host bus adapter 154:as created on a 113:computer storage 104: 101: 95: 93: 52: 24: 16: 440: 439: 435: 434: 433: 431: 430: 429: 415: 414: 413: 412: 405: 397:. p. 111. 385: 381: 372: 370: 365: 364: 357: 352: 340: 324: 247: 208: 168: 131:protocol or by 105: 99: 96: 53: 51: 37: 25: 12: 11: 5: 438: 428: 427: 411: 410: 403: 379: 354: 353: 351: 348: 347: 346: 339: 336: 323: 320: 288: 287: 276: 269: 262: 246: 243: 207: 204: 167: 164: 107: 106: 42:. Please help 28: 26: 19: 9: 6: 4: 3: 2: 437: 426: 423: 422: 420: 406: 404:9781587051609 400: 396: 392: 391: 383: 368: 362: 360: 355: 345: 342: 341: 335: 333: 329: 319: 317: 313: 309: 305: 301: 297: 293: 286:on that disk. 285: 281: 277: 274: 270: 267: 263: 260: 256: 255:controller ID 252: 251: 250: 242: 238: 235: 231: 229: 225: 222: 218: 216: 212: 203: 199: 197: 193: 189: 185: 181: 177: 173: 163: 161: 157: 153: 149: 144: 142: 138: 137:Fibre Channel 134: 130: 126: 122: 118: 114: 103: 92: 89: 85: 82: 78: 75: 71: 68: 64: 61: –  60: 56: 55:Find sources: 49: 45: 41: 35: 34: 33:single source 29:This article 27: 23: 18: 17: 389: 382: 371:. Retrieved 369:. Techopedia 327: 325: 299: 289: 279: 272: 265: 254: 248: 239: 233: 232: 227: 226: 220: 219: 210: 209: 200: 196:concatenated 191: 169: 160:logical disk 152:logical disk 145: 125:logical unit 124: 120: 116: 110: 97: 87: 80: 73: 66: 54: 30: 395:Cisco Press 344:LUN masking 373:2016-03-30 350:References 322:Other uses 294:family of 148:tape drive 100:March 2016 70:newspapers 326:The term 284:partition 266:target ID 180:partition 178:and then 40:talk page 419:Category 338:See also 280:slice ID 278:s-part: 271:d-part: 264:t-part: 253:c-part: 166:Examples 162:itself. 304:Solaris 290:In the 273:disk ID 257:of the 84:scholar 401:  234:LUN 0: 86:  79:  72:  65:  57:  308:HP-UX 141:iSCSI 119:, or 91:JSTOR 77:books 425:SCSI 399:ISBN 292:Unix 188:SCSI 184:SCSI 176:RAID 172:SCSI 143:. 129:SCSI 115:, a 63:news 316:AIX 312:NCR 206:Use 192:not 156:SAN 139:or 121:LUN 111:In 46:by 421:: 393:. 358:^ 334:. 310:, 306:, 407:. 376:. 261:, 102:) 98:( 88:· 81:· 74:· 67:· 50:. 36:.

Index


single source
talk page
improve this article
introducing citations to additional sources
"Logical unit number"
news
newspapers
books
scholar
JSTOR
computer storage
SCSI
Storage Area Network
Fibre Channel
iSCSI
tape drive
logical disk
SAN
logical disk
SCSI
RAID
partition
SCSI
SCSI
concatenated
Command Descriptor Block
host bus adapter
partition
Unix

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.