How Do I Find the Lun Id in Linux?
Contents for Each Additional Logical Unit Number (Lun) That Needs to Be Discovered by the Linux Kernel, Perform the Following Steps: at the Command Prompt Type...
For each additional logical unit number (LUN) that needs to be discovered by the Linux kernel, perform the following steps: At the command prompt type echo “scsi-add-single-device H C I L” >/proc/scsi/scsi where H is the host adapter, C is the channel, I id the ID and L is the LUN and press the
How do I find the LUN number in Linux?
The numbers marked at the end represent host, channel, target and LUN respectively. 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.
Must Read
How do I find my LUN ID?
Using Disk Manager
- Access Disk Manager under “Computer Management” in “Server Manager” or in the command prompt with diskmgmt.msc.
- Right-Click on the side-bar of the disk you wich to view and select “Properties”
- You will see the LUN number and the target name. In this example it’s “LUN 3” and “PURE FlashArray”