请教LUN和hdisk对应关系

aix6.1,存储是DELL SC8000,做了一些LUN映射给主机,存储上没找到和hdisk对应的信息,然后映射一个LUN认一个hdisk,一些截图和日志呈上缺少的再补充,请大家帮忙看看,谢谢。1、是否存在LUN和hdisk的对应信息
2、为什么SCSI_ID是一样的
3、ww_id和ww_name的定义
4、所有LUN一起映射完了再CFGMGR,hdisk编号和映射先后顺序对应么

1.png

2.png



# lspath
Enabled   hdisk0  sas0
Enabled   hdisk1  sas0
Available ses0    sas0
Available ses1    sas0
Enabled   hdisk2  fscsi1
Enabled   hdisk3  fscsi1
Enabled   hdisk4  fscsi1
Enabled   hdisk5  fscsi1
Enabled   hdisk6  fscsi1
Enabled   hdisk7  fscsi1
Enabled   hdisk8  fscsi1
Enabled   hdisk9  fscsi1
Enabled   hdisk10 fscsi1
Enabled   hdisk11 fscsi1
Enabled   hdisk12 fscsi1
Enabled   hdisk13 fscsi1
Enabled   hdisk8  fscsi1
Enabled   hdisk9  fscsi1
Enabled   hdisk10 fscsi1
Enabled   hdisk11 fscsi1
Enabled   hdisk12 fscsi1
Enabled   hdisk13 fscsi1
Enabled   hdisk2  fscsi3
Enabled   hdisk3  fscsi3
Enabled   hdisk4  fscsi3
Enabled   hdisk5  fscsi3
Enabled   hdisk6  fscsi3
Enabled   hdisk7  fscsi3
Enabled   hdisk8  fscsi3
Enabled   hdisk9  fscsi3
Enabled   hdisk10 fscsi3
Enabled   hdisk11 fscsi3
Enabled   hdisk12 fscsi3
Enabled   hdisk13 fscsi3
Enabled   hdisk2  fscsi3
Enabled   hdisk3  fscsi3
Enabled   hdisk4  fscsi3
Enabled   hdisk5  fscsi3
Enabled   hdisk6  fscsi3
Enabled   hdisk7  fscsi3
Enabled   hdisk14 fscsi1
Enabled   hdisk14 fscsi1
Enabled   hdisk14 fscsi3
Enabled   hdisk15 fscsi1
Enabled   hdisk15 fscsi1
Enabled   hdisk15 fscsi3
# lsdev -Ccdisk
hdisk0  Available 04-00-00 SAS Disk Drive
hdisk1  Available 04-00-00 SAS Disk Drive
hdisk2  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk3  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk4  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk5  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk6  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk7  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk8  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk9  Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk10 Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk11 Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk12 Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk13 Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk14 Available 02-01-02 Compellent FC SCSI Disk Drive
hdisk15 Available 01-01-02 Compellent FC SCSI Disk Drive

#lsattr -El hdisk0
PCM             PCM/friend/scsiscsd                        Path Control Module           False
algorithm       fail_over                                  Algorithm                     True
dist_err_pcnt   0                                          Distributed Error Percentage  True
dist_tw_width   50                                         Distributed Error Sample Time True
hcheck_interval 0                                          Health Check Interval         True
hcheck_mode     nonactive                                  Health Check Mode             True
max_coalesce    0x10000                                    Maximum Coalesce Size         True
max_transfer    0x100000                                   Maximum TRANSFER Size         True
pvid            00f7e6c8ecc191ab0000000000000000           Physical volume identifier    False
queue_depth     16                                         Queue DEPTH                   True
reserve_policy  no_reserve                                 Reserve Policy                True
size_in_mb      300000                                     Size in Megabytes             False
unique_id       2A1135000C5005948F1170BST9300653SS03IBMsas Unique device identifier      False
ww_id           5000c5005948f117                           World Wide Identifier         False

#lsattr -El hdisk1
PCM             PCM/friend/scsiscsd                        Path Control Module           False
algorithm       fail_over                                  Algorithm                     True
dist_err_pcnt   0                                          Distributed Error Percentage  True
dist_tw_width   50                                         Distributed Error Sample Time True
hcheck_interval 0                                          Health Check Interval         True
hcheck_mode     nonactive                                  Health Check Mode             True
max_coalesce    0x10000                                    Maximum Coalesce Size         True
max_transfer    0x100000                                   Maximum TRANSFER Size         True
pvid            00f7e6c88a3bdb650000000000000000           Physical volume identifier    False
queue_depth     16                                         Queue DEPTH                   True
reserve_policy  no_reserve                                 Reserve Policy                True
size_in_mb      300000                                     Size in Megabytes             False
unique_id       2A1135000C500594C83730BST9300653SS03IBMsas Unique device identifier      False
ww_id           5000c500594c8373                           World Wide Identifier         False

#lsattr -El hdisk2
PCM             PCM/friend/compellent_sc         Path Control Module              False
PR_key_value    123456                           Persistant Reserve Key Value     True
algorithm       round_robin                      Algorithm                        True
clr_q           no                               Device CLEARS its Queue on error True
dist_err_pcnt   0                                Distributed Error Percentage     True
dist_tw_width   50                               Distributed Error Sample Time    True
dvc_support                                      Device Support                   False
hcheck_cmd      test_unit_rdy                    Health Check Command             True
hcheck_interval 60                               Health Check Interval            True
hcheck_mode     enabled                          Health Check Mode                True
location                                         Location Label                   True
lun_id          0x1000000000000                  Logical Unit Number ID           False
max_transfer    0x100000                         Maximum TRANSFER Size            True
node_name       0x5000d31000556001               FC Node Name                     False
pvid            00f7e6c886d25a420000000000000000 Physical volume identifier       False
q_err           yes                              Use QERR bit                     True
q_type          simple                           Queuing TYPE                     True
queue_depth     32                               Queue DEPTH                      True
reassign_to     120                              REASSIGN time out value          True
reserve_policy  no_reserve                       Reserve Policy                   True
rw_timeout      60                               READ/WRITE time out value        True
scsi_id         0x670100                         SCSI ID                          False
start_timeout   60                               START unit time out value        True
ww_name         0x5000d31000556007               FC World Wide Name               False

#lsattr -El hdisk3
PCM             PCM/friend/compellent_sc         Path Control Module              False
PR_key_value    123456                           Persistant Reserve Key Value     True
algorithm       round_robin                      Algorithm                        True
clr_q           no                               Device CLEARS its Queue on error True
dist_err_pcnt   0                                Distributed Error Percentage     True
dist_tw_width   50                               Distributed Error Sample Time    True
dvc_support                                      Device Support                   False
hcheck_cmd      test_unit_rdy                    Health Check Command             True
hcheck_interval 60                               Health Check Interval            True
hcheck_mode     enabled                          Health Check Mode                True
location                                         Location Label                   True
lun_id          0x3000000000000                  Logical Unit Number ID           False
max_transfer    0x100000                         Maximum TRANSFER Size            True
node_name       0x5000d31000556001               FC Node Name                     False
pvid            00f7e6c886d25a930000000000000000 Physical volume identifier       False
q_err           yes                              Use QERR bit                     True
q_type          simple                           Queuing TYPE                     True
queue_depth     32                               Queue DEPTH                      True
reassign_to     120                              REASSIGN time out value          True
reserve_policy  no_reserve                       Reserve Policy                   True
rw_timeout      60                               READ/WRITE time out value        True
scsi_id         0x670100                         SCSI ID                          False
start_timeout   60                               START unit time out value        True
ww_name         0x5000d31000556007               FC World Wide Name               False
参与11

6同行回答

GatewaywadeGatewaywade系统工程师小企业有限公司
1、存在LUN和hdisk的对应信息2、因为是同一块卡,所以ID是一样的(这里的ID指的是卡的ID)3、ww_id:World Wide Identifier  ISCSI设备的唯一标识   ww_name:FC World Wide Name 是光纤交换机的唯一标识4、对应...显示全部
1、存在LUN和hdisk的对应信息
2、因为是同一块卡,所以ID是一样的(这里的ID指的是卡的ID)
3、ww_id:World Wide Identifier  ISCSI设备的唯一标识
   ww_name:FC World Wide Name 是光纤交换机的唯一标识

4、对应收起
系统集成 · 2015-04-16
浏览3705
csfengcsfeng软件开发工程师华迪
lun id 和 hdisk可以对应,前提是你装了dcmpath,如果么 有装,我就不知怎么看了。坐等高人。另外,hdisk编号和映射先后顺序一般来说可以对应。但是如果你有已用的,就对应不了。比如,你当有hdisk0,hdisk2,然后你加了个盘,那他就是hdisk1。但hdisk1,比hdisk2映射的晚。...显示全部
lun id 和 hdisk可以对应,前提是你装了dcmpath,如果么 有装,我就不知怎么看了。坐等高人。另外,hdisk编号和映射先后顺序一般来说可以对应。但是如果你有已用的,就对应不了。比如,你当有hdisk0,hdisk2,然后你加了个盘,那他就是hdisk1。但hdisk1,比hdisk2映射的晚。收起
互联网服务 · 2015-04-16
浏览5539
abit2007abit2007系统工程师代维
1、如果不使用多路径看lun id与hdisk的对应关系的话,你可以使用lscfg -vpl hdiskx看它的序列号,如Serial Number...............xxxxxxxyyyy , x是存储序列号,y是lun id。2、scsi_id一样的话,测试是封装的相同的协议。3、ww_id和ww_name的定义,lsattr -El 中ww_id表示存储前端...显示全部
1、如果不使用多路径看lun id与hdisk的对应关系的话,你可以使用lscfg -vpl hdiskx看它的序列号,如Serial Number...............xxxxxxxyyyy , x是存储序列号,y是lun id。
2、scsi_id一样的话,测试是封装的相同的协议。
3、ww_id和ww_name的定义,lsattr -El 中ww_id表示存储前端口的WWPN号。
4、映射的前后,对盘的hdisk号有一定影响。收起
互联网服务 · 2015-04-16
浏览3716
OPS911OPS911项目经理南通协趣科技
回复 2# abit2007 谢谢!找到对应信息了:# lsattr -El hdisk15PCM             PCM/friend/compellent_sc Path Control Module              FalsePR_key_value    ...显示全部
回复 2# abit2007

谢谢!找到对应信息了:
# lsattr -El hdisk15
PCM             PCM/friend/compellent_sc Path Control Module              False
PR_key_value    123456                   Persistant Reserve Key Value     True
algorithm       round_robin              Algorithm                        True
clr_q           no                       Device CLEARS its Queue on error True
dist_err_pcnt   0                        Distributed Error Percentage     True
dist_tw_width   50                       Distributed Error Sample Time    True
dvc_support                              Device Support                   False
hcheck_cmd      test_unit_rdy            Health Check Command             True
hcheck_interval 60                       Health Check Interval            True
hcheck_mode     enabled                  Health Check Mode                True
location                                 Location Label                   True
lun_id          0xe000000000000          Logical Unit Number ID           False
max_transfer    0x100000                 Maximum TRANSFER Size            True
node_name       0x5000d31000556001       FC Node Name                     False
pvid            none                     Physical volume identifier       False
q_err           yes                      Use QERR bit                     True
q_type          simple                   Queuing TYPE                     True
queue_depth     32                       Queue DEPTH                      True
reassign_to     120                      REASSIGN time out value          True
reserve_policy  PR_exclusive             Reserve Policy                   True
rw_timeout      60                       READ/WRITE time out value        True
scsi_id         0x650000                 SCSI ID                          False
start_timeout   60                       START unit time out value        True
ww_name         0x5000d31000556009       FC World Wide Name               False
# lscfg -vpl hdisk15
  hdisk15          U5877.001.9K8H488-P1-C4-T2-W5000D31000556009-LE000000000000  Compellent FC SCSI Disk Drive

        Manufacturer................COMPELNT
        Machine Type and Model......Compellent Vol
        Serial Number...............SYS:21856|VOL:1171
        ROS Level and ID............0602

1.png

2.png

3.png

收起
IT分销/经销 · 2015-04-20
浏览3830
OPS911OPS911项目经理南通协趣科技
回复 4# Gatewaywade    明白了。 非常感谢你的解释!显示全部
回复 4# Gatewaywade


   明白了。 非常感谢你的解释!收起
IT分销/经销 · 2015-04-20
浏览3677
OPS911OPS911项目经理南通协趣科技
回复 2# csfeng     谢谢,没有装dcmpath显示全部
回复 2# csfeng


    谢谢,没有装dcmpath收起
IT分销/经销 · 2015-04-20
浏览3780

提问者

OPS911
项目经理南通协趣科技
擅长领域: AIXUnix服务器

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-04-16
  • 关注会员:2 人
  • 问题浏览:10361
  • 最近回答:2015-04-20
  • X社区推广