Chapter 9 Logical Unit Recognition
>9.1 Displaying the Recognized Logical Units
•"dmesg" command for LUN display
Use the "dmesg" command in order to confirm whether Linux has recognized the LUNs in the ETERNUS DX Disk storage systems.
The following shows an example:
#dmemsgless
:
Emulex LightPulse FC SCSI/IP 4.21q PCI:Found IRQ 10 for device 03:06.0 !lpfc0:031:Link Up Event received Data:1 1 1 2 PCI:Found IRQ 5 for device 04:02.0
IRQ routing conflict for 04:02.0,have irq 10,want irq 5 !lpfc0:031:Link Up Event received Data:1 1 1 2
scsi3:Emulex LPFC SCSI on PCI bus 03 | device 30 | irq 10 | ||
scsi4:Emulex LPFC SCSI on PCI bus 04 | device 10 | irq 10 | ||
Vender: FUJITSU | Model: ETERNUS_DX400 Rev: 0000 | |||
Type: | ANSI SCSI revision: 03 | |||
Vender: FUJITSU | Model: ETERNUS_DX400 Rev: 0000 | |||
Type: | ANSI SCSI revision: 03 |
•"cat" command for LUN display
Use the "cat" command to display the "/proc/scsi/scsi" file, where you can confirm the recognized SCSI devices.
The following shows an example of this.
#cat /proc/scsi/scsi Attached devices:
Host: scsi2 Channel: 00 Id: 05 Lun: 00
Vender: | HP | Model: SAFTE; U160/M BP | Rev: 1023 |
Type: | processor | ANSI SCSI revision: 02 | |
Host: scsi2 Channel: 02 Id: 00 Lun: 00 |
| ||
Vender: | MegaRAID Model: LD0 RAID0 8677R | Rev: E | |
Type: | ANSI SCSI revision: 02 | ||
Host: scsi3 Channel: 00 Id: 00 Lun: 00 |
| ||
Vender: | FUJITSU | Model: ETERNUS_DX400 | Rev: 0000 |
Type: | ANSI SCSI revision: 03 | ||
Host: scsi3 Channel: 00 Id: 00 Lun: 01 |
| ||
Vender: | FUJITSU | Model: ETERNUS_DX400 | Rev: 0000 |
Type: | ANSI SCSI revision: 03 |
At this point the Multipath Driver has not been set up yet, so two SCSI devices are shown for each connected LUN (i.e. if there are 3 LUNs, 6 SCSI devices are shown).
31 | Copyright 2010 FUJITSU LIMITED |
|