我有一个全新的DS5100 SAN通过两个独立的光纤连接到多个主机(BladeCenter H中的HS22刀片)。 交换机(适用于BladeCenter的Brocade 20p)已正确分区,即BladeCenter中的每台主机都通过两种结构查看LUN。 RHEL检测用于BladeCenter内置QLogic QMI2572 4G FC CIO的qla2xxx驱动程序,我可以“看到”从dmesg输出的LUN:
qla2xxx 0000:24:00.0: Found an ISP2532, irq 209, iobase 0xffffc20000022000 qla2xxx 0000:24:00.0: Configuring PCI space... PCI: Setting latency timer of device 0000:24:00.0 to 64 qla2xxx 0000:24:00.0: Configure NVRAM parameters... qla2xxx 0000:24:00.0: Verifying loaded RISC code... qla2xxx 0000:24:00.0: Allocated (64 KB) for EFT... qla2xxx 0000:24:00.0: Allocated (1414 KB) for firmware dump... scsi4 : qla2xxx qla2xxx 0000:24:00.0: QLogic Fibre Channel HBA Driver: 8.03.00.10.05.04-k QLogic QMI2572 - QLogic 4Gb Fibre Channel Expansion Card (CIOv) for IBM BladeCenter ISP2532: PCIe (5.0Gb/s x4) @ 0000:24:00.0 hdma+, host#=4, fw=4.04.09 (85) PCI: Enabling device 0000:24:00.1 (0140 -> 0143) ACPI: PCI Interrupt 0000:24:00.1[B] -> GSI 42 (level, low) -> IRQ 138 qla2xxx 0000:24:00.1: Found an ISP2532, irq 138, iobase 0xffffc20000024000 qla2xxx 0000:24:00.1: Configuring PCI space... PCI: Setting latency timer of device 0000:24:00.1 to 64 qla2xxx 0000:24:00.1: Configure NVRAM parameters... qla2xxx 0000:24:00.1: Verifying loaded RISC code... qla2xxx 0000:24:00.1: Allocated (64 KB) for EFT... qla2xxx 0000:24:00.1: Allocated (1414 KB) for firmware dump... scsi5 : qla2xxx qla2xxx 0000:24:00.1: QLogic Fibre Channel HBA Driver: 8.03.00.10.05.04-k QLogic QMI2572 - QLogic 4Gb Fibre Channel Expansion Card (CIOv) for IBM BladeCenter ISP2532: PCIe (5.0Gb/s x4) @ 0000:24:00.1 hdma+, host#=5, fw=4.04.09 (85) qla2xxx 0000:24:00.0: LOOP UP detected (4 Gbps). qla2xxx 0000:24:00.1: LOOP UP detected (4 Gbps). Vendor: IBM Model: 1818 FAStT Rev: 0730 Type: Direct-Access ANSI SCSI revision: 05 scsi 4:0:0:0: Attached scsi generic sg1 type 0 Vendor: IBM Model: 1818 FAStT Rev: 0730 Type: Direct-Access ANSI SCSI revision: 05 scsi 4:0:1:0: Attached scsi generic sg2 type 0 Vendor: IBM Model: 1818 FAStT Rev: 0730 Type: Direct-Access ANSI SCSI revision: 05 scsi 5:0:0:0: Attached scsi generic sg3 type 0 Vendor: IBM Model: 1818 FAStT Rev: 0730 Type: Direct-Access ANSI SCSI revision: 05 scsi 5:0:1:0: Attached scsi generic sg4 type 0
现在的问题是,它们不被识别为beeing SCSI磁盘,而是普通的SCSI设备(/ dev / sg {1-4})。 “sg_map -i -sd -x”的输出显示如下:
/dev/sg1 4 0 0 0 0 IBM 1818 FAStT 0730 /dev/sg2 4 0 1 0 0 IBM 1818 FAStT 0730 /dev/sg3 5 0 0 0 0 IBM 1818 FAStT 0730 /dev/sg4 5 0 1 0 0 IBM 1818 FAStT 0730
我的基本理解是,即使这是一个多path设置,我不必使它启用或实际使用MPIO。 我已经通过设备映射器多path尝试了一个快速的解决方法,但没有从multipathd得到任何输出。 “sg_map''显示这些设备是磁盘(-sd标志),但是这些LUN不是作为/ dev / sd *连接的。 我是否必须手动创build适当的设备节点? 我必须使用IBM的RDAC或SDD驱动程序来查看它们吗?
那很简单, 忘了设置LUN和节点之间的映射。