Quick Answer: How Do You Present a Lun in Linux?
Contents How Do You Access Lun in Linux? So the First Device in Command “Ls -Ld /Sys/Block/Sd*/Device” Corresponds to the First Device Scene in the Command...
How do you access LUN in Linux?
so the first device in command “ls -ld /sys/block/sd*/device” corresponds to the first device scene in the command “cat /proc/scsi/scsi” command above. i.e. Host: scsi2 Channel: 00 Id: 00 Lun: 29 corresponds to 2:0:0:29. Check the highlighted portion in both commands to correlate. Another way is to use sg_map command.
What is a LUN in Linux?
A logical unit number (LUN) is a number used for identifying a logical unit relating to computer storage. A logical unit is a device addressed by protocols and related to fiber channel, small computer system interface (SCSI), Internet SCSI (iSCSI) and other comparable interfaces.