8 Krypton

Re: redhat 6.2 detect DD890 drivers issue

用中文总结下本帖的问题与回答,以便网友围观。

我有50个驱动器,其中一半映射到了active 1a passive 1b,另一半映射到了1b active 1a passive。现在redhat不能自动识别到映射到host2上的驱动器,我只能用如下命令手动添加。

echo "scsi add-single-device 2 0 1 #" > /proc/scsi/scsi "#" is (2,4,6,8...50)

请问:如何能让redhat自动检测到所有驱动器?

zone:

host1----1a

host2----1b

HBA card :emulex driver 8.3.5.45.4p

redhat6.2

[root@eslp92202 dp_depot]# lsscsi

[0:0:0:0]    storage HP       P410i            5.14  -     

[0:0:0:1]    disk    HP       LOGICAL VOLUME   5.14  /dev/sda

[1:0:0:0]    mediumx STK      L180             0306  /dev/sch0

[1:0:0:1]    tape    IBM      ULTRIUM-TD3      8711  /dev/st0

[1:0:0:3]    tape    IBM      ULTRIUM-TD3      8711  /dev/st1

[1:0:0:5]    tape    IBM      ULTRIUM-TD3      8711  /dev/st2

[1:0:0:7]    tape    IBM      ULTRIUM-TD3      8711  /dev/st3

[1:0:0:9]    tape    IBM      ULTRIUM-TD3      8711  /dev/st4

[1:0:0:11]   tape    IBM      ULTRIUM-TD3      8711  /dev/st5

[1:0:0:13]   tape    IBM      ULTRIUM-TD3      8711  /dev/st6

[1:0:0:15]   tape    IBM      ULTRIUM-TD3      8711  /dev/st7

[1:0:0:17]   tape    IBM      ULTRIUM-TD3      8711  /dev/st8

[1:0:0:19]   tape    IBM      ULTRIUM-TD3      8711  /dev/st9

[1:0:0:21]   tape    IBM      ULTRIUM-TD3      8711  /dev/st10

[1:0:0:23]   tape    IBM      ULTRIUM-TD3      8711  /dev/st11

[1:0:0:25]   tape    IBM      ULTRIUM-TD3      8711  /dev/st12

[1:0:0:27]   tape    IBM      ULTRIUM-TD3      8711  /dev/st13

[1:0:0:29]   tape    IBM      ULTRIUM-TD3      8711  /dev/st14

[1:0:0:31]   tape    IBM      ULTRIUM-TD3      8711  /dev/st15

[1:0:0:33]   tape    IBM      ULTRIUM-TD3      8711  /dev/st16

[1:0:0:35]   tape    IBM      ULTRIUM-TD3      8711  /dev/st17

[1:0:0:37]   tape    IBM      ULTRIUM-TD3      8711  /dev/st18

[1:0:0:39]   tape    IBM      ULTRIUM-TD3      8711  /dev/st19

[1:0:0:41]   tape    IBM      ULTRIUM-TD3      8711  /dev/st20

[1:0:0:43]   tape    IBM      ULTRIUM-TD3      8711  /dev/st21

[1:0:0:45]   tape    IBM      ULTRIUM-TD3      8711  /dev/st22

[1:0:0:47]   tape    IBM      ULTRIUM-TD3      8711  /dev/st23

[1:0:0:49]   tape    IBM      ULTRIUM-TD3      8711  /dev/st24

[1:0:2:0]    disk    EMC      SYMMETRIX        5874  /dev/sdb

[1:0:2:1]    disk    EMC      SYMMETRIX        5874  /dev/sdc

[1:0:3:0]    disk    EMC      SYMMETRIX        5874  /dev/sdd

[1:0:3:1]    disk    EMC      SYMMETRIX        5874  /dev/sde

[2:0:2:0]    disk    EMC      SYMMETRIX        5874  /dev/sdf

[2:0:2:1]    disk    EMC      SYMMETRIX        5874  /dev/sdg

[2:0:3:0]    disk    EMC      SYMMETRIX        5874  /dev/sdh

[2:0:3:1]    disk    EMC      SYMMETRIX        5874  /dev/sdi

回答:

创建两个access groups,每个group有一个initiator,在每个组上重新启动LUN。

Group: ESLP92202_VTL101_1

Initiators:

Initiator Alias   Initiator WWPN       

---------------   -----------------------

ESLP92202_05      10:00:00:00:c9:d5:c8:8c

---------------   -----------------------

Devices:

Device Name            LUN   Primary Ports   Secondary Ports   In-use Ports

--------------------   ---   -------------   ---------------   ------------

VTL101_Open changer      0              1a                1b             1a

VTL101_Open drive 1      1              1a                1b             1a

VTL101_Open drive 2      2              1a                1b             1a

VTL101_Open drive 3      3              1a                1b             1a

VTL101_Open drive 4      4              1a                1b             1a

.

.

.

.

.

VTL101_Open drive 25      25              1a                1b             1a

-----------

Group: ESLP92202_VTL101_2

Initiators:

Initiator Alias   Initiator WWPN       

---------------   -----------------------

ESLP92202_06      10:00:00:00:c9:d5:c8:8d

---------------   -----------------------

Devices:

Device Name            LUN   Primary Ports   Secondary Ports   In-use Ports

--------------------   ---   -------------   ---------------   ------------

VTL101_Open drive 26      0              1b                1a             1b

VTL101_Open drive 27      1              1b                1a             1b

VTL101_Open drive 28      2              1b                1a             1b

VTL101_Open drive 29      3              1b                1a             1b

.

.

.

.

.

VTL101_Open drive 50      24              1b                1a             1b

0 项奖励