ITPub博客

首页 > Linux操作系统 > Linux操作系统 > EMC存储在AIX的查看命令

EMC存储在AIX的查看命令

Linux操作系统 作者:ewelamb 时间:2014-04-09 08:46:29 0 删除 编辑
上次弄小机,出现了关于这个问题的情况,今天看到几个贴有相关的内容,整理了下转了。
#powermt display dev=all
这个是常用命令,通过它你可以看到以下信息
Pseudo name=hdiskpower1    (你在主机上看到的power盘)
CLARiiON ID=CK200031****** [HR SG](存储上的组别)
Logical device ID=60060167EB0C000022A83E3908C3D711 [LUN 1](逻辑单元号)
state=alive; (状态不错^_^)
policy=CLAROpt;(中档产品) 
()priority=0; 
queued-IOs=0
Owner: default=SP A, current=SP A(当前控制器spA)
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
  0 fscsi0                    hdisk10    SP B1     active  alive      0      0
  1 fscsi1                    hdisk17    SP B0     active  alive      0      0
  1 fscsi1                    hdisk24    SP A1     active  alive      0      0
  0 fscsi0                    hdisk3     SP A0     active  alive      0      0
呵呵,当然,这里面还有很多信息,双光纤卡,四个通道,一个power盘映射4个hdisk。
下面看看这个hdiskpower1的信息
命令2:
#lspv(呵呵,这个命令很常用吧)
在这里看到主机识别到的所有存储上的盘,对应的vg。
hdiskpower0     005f2c6aa2851229                    vg1          
hdiskpower1     005f2c6aa284d3ce                    vg1          
hdiskpower2     005f2c7aa2c86899                    vg2          
hdiskpower3     005f2c6aa30fbe31                    vg2          
hdiskpower4     005f2c7aa2c69692                    vg3          active
hdiskpower5     005f2c6aa309468d                    vg4          active
hdiskpower6     005f2c6aa3101de2                    vg4          active
看看大小:(total pps 就是了,看看hdiskpower是100G)
# lspv hdiskpower1 
PHYSICAL VOLUME:    hdiskpower1              VOLUME GROUP:     h85vg1
PV IDENTIFIER:      005f2c6aa284d3ce VG IDENTIFIER     005f2c6a00004c000000010eb353ee73
PV STATE:           active                                     
STALE PARTITIONS:   0                        ALLOCATABLE:      yes
PP SIZE:            128 megabyte(s)          LOGICAL VOLUMES:  1
TOTAL PPs:          799 (102272 megabytes)   VG DESCRIPTORS:   1
FREE PPs:           0 (0 megabytes)          HOT SPARE:        no
USED PPs:           799 (102272 megabytes)                     
FREE DISTRIBUTION:  00..00..00..00..00                         
USED DISTRIBUTION:  160..160..159..160..160
同样的方法就可以查到主机识别到的所有存储lun的大小了。
 
查看当前磁盘path、所属端口、I/O数量
AIX命令:
# /usr/DynamicLinkManager/bin/dlnkmgr view -path   
HP命令:
# /opt/DynamicLinkManager/bin/dlnkmgr view -path       
正常情况,IO-Errors为0,path状态为online。
示例:
Paths:000039 OnlinePaths:000039
PathStatus   IO-Count    IO-Errors
Online       3768105389  465       
PathID PathName                        DskName                                    iLU              ChaPort Status     Type IO-Count   IO-Errors  DNum HDevName
000000 08.4F.0000000000010100.0000     HITACHI .OPEN-V          .**8**            0102             1H      Online     Own        1005          0    0 dlmfdrv0 
000001 08.5F.0000000000010100.0000     HITACHI .OPEN-V          .**8**            0102             2H      Online     Own        1007          0    0 dlmfdrv0 
000002 08.4F.0000000000010100.0001     HITACHI .OPEN-V          .**8**            010A             1H      Online     Own         167          0    0 dlmfdrv1 
000003 08.5F.0000000000010100.0001     HITACHI .OPEN-V          .**8**            010A             2H      Online     Own         147          0    0 dlmfdrv1 
000004 08.4F.0000000000010100.0002     HITACHI .OPEN-V          .**8**            0112             1H      Online     Own         167          0    0 dlmfdrv2 
000005 08.5F.0000000000010100.0002     HITACHI .OPEN-V          .**8**            0112             2H      Online     Own         147          0    0 dlmfdrv2 
000006 08.4F.0000000000011100.0000     HITACHI .DF600F          .5805             0045             0A      Online     Own   334773831          5    0 dlmfdrv3 
000007 08.5F.0000000000011100.0000     HITACHI .DF600F          .5805             0045             1A      Online     Non       18833          4    0 dlmfdrv3 
000008 08.4F.0000000000011100.0001     HITACHI .DF600F          .5805             0046             0A      Online     Non           9          4    0 dlmfdrv4 
000009 08.5F.0000000000011100.0001     HITACHI .DF600F          .5805             0046             1A      Online     Own   333935682          4    0 dlmfdrv4 
000010 08.4F.0000000000011100.0002     HITACHI .DF600F          .5805             0047             0A      Online     Own   333843076          6    0 dlmfdrv5 
000011 08.5F.0000000000011100.0002     HITACHI .DF600F          .5805             0047             1A      Online     Non       18363          5    0 dlmfdrv5 
000012 08.4F.0000000000011100.0003     HITACHI .DF600F          .5805             0048             0A      Online     Non           9          4    0 dlmfdrv6 
000013 08.5F.0000000000011100.0003     HITACHI .DF600F          .5805             0048             1A      Online     Own   334118777          4    0 dlmfdrv6 
000014 08.4F.0000000000011100.0004     HITACHI .DF600F          .5805             0049             0A      Online     Own   333988197         17    0 dlmfdrv7 
000015 08.5F.0000000000011100.0004     HITACHI .DF600F          .5805             0049             1A      Online     Non       18323         16    0 dlmfdrv7 
000016 08.4F.0000000000011100.0005     HITACHI .DF600F          .5805             0050             0A      Online     Non          20          2    0 dlmfdrv8 
000017 08.5F.0000000000011100.0005     HITACHI .DF600F          .5805             0050             1A      Online     Own   333522437          2    0 dlmfdrv8 
000018 08.4F.0000000000011100.0006     HITACHI .DF600F          .5805             0051             0A      Online     Own   333802253          3    0 dlmfdrv9 
000019 08.5F.0000000000011100.0006     HITACHI .DF600F          .5805             0051             1A      Online     Non       18371          2    0 dlmfdrv9 
000020 08.4F.0000000000011100.0007     HITACHI .DF600F          .5805             0052             0A      Online     Non           9          2    0 dlmfdrv10
000021 08.5F.0000000000011100.0007     HITACHI .DF600F          .5805             0052             1A      Online     Own   333605177          2    0 dlmfdrv10
000022 08.4F.0000000000011100.0008     HITACHI .DF600F          .5805             0053             0A      Online     Own   333806938          3    0 dlmfdrv11
000023 08.5F.0000000000011100.0008     HITACHI .DF600F          .5805             0053             1A      Online     Non       18356          2    0 dlmfdrv11
000024 08.4F.0000000000011100.0009     HITACHI .DF600F          .5805             0054             0A      Online     Non           9          6    0 dlmfdrv12
000025 08.5F.0000000000011100.0009     HITACHI .DF600F          .5805             0054             1A      Online     Own   334283006          6    0 dlmfdrv12
000026 08.5F.0000000000010100.0003     HITACHI .OPEN-9*5        .**8**            023F             2H      Online     Own         170          0    0 dlmfdrv13
000027 08.4F.0000000000010100.0003     HITACHI .OPEN-9*5        .**8**            023F             1H      Online     Own         157          0    0 dlmfdrv13
000028 08.5F.0000000000010100.0004     HITACHI .OPEN-9*5        .**8**            0262             2H      Online     Own         167          0    0 dlmfdrv14
000029 08.4F.0000000000010100.0004     HITACHI .OPEN-9*5        .**8**            0262             1H      Online     Own         147          0    0 dlmfdrv14
000030 08.5F.0000000000010100.0005     HITACHI .OPEN-9*5        .**8**            0287             2H      Online     Own         167          0    0 dlmfdrv15
000031 08.4F.0000000000010100.0005     HITACHI .OPEN-9*5        .**8**            0287             1H      Online     Own         147          0    0 dlmfdrv15
000032 08.5F.0000000000010100.0006     HITACHI .OPEN-9*5        .**8**            02A3             2H      Online     Own         167          0    0 dlmfdrv16
000033 08.4F.0000000000010100.0006     HITACHI .OPEN-9*5        .**8**            02A3             1H      Online     Own         147          0    0 dlmfdrv16
KAPL01001-I The HDLM command completed normally. Operation name = view
 
EMC:
检查PowerPath版本及注册码
#powermt version        
#powermt check_registration        

2、检查链路状态
#powermt display 
所有链路summary =optimal,没有Dead
Symmetrix logical device count=0
CLARiiON logical device count=13
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
### HW Path                        Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
12 0/5/1/0.100.30.0.0             optimal      13      0       -     0      0
13 0/4/2/0.100.30.0.0             optimal      13      0       -     0      0
14 0/5/1/0.100.94.0.0             optimal      13      0       -     0      0
15 0/4/2/0.100.94.0.0             optimal      13      0       -     0      0

检查每块盘的状态        
# powermt display dev=all
所有磁盘mode 和State均为alive
CLARiiON ID=***** [MIS]
Logical device ID=******* [LUN 16]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
12 0/5/1/0.100.30.0.0.1.3    c12t1d3    SP A0     active  alive      0      0
13 0/4/2/0.100.30.0.0.1.3    c13t1d3    SP A0     active  alive      0      0
14 0/5/1/0.100.94.0.0.1.3    c14t1d3    SP B0     active  alive      0      0
15 0/4/2/0.100.94.0.0.1.3    c15t1d3    SP B0     active  alive      0      0

检查是否有Dead链路
# powermt display dev=all | grep dead

如果有Dead列,说明出现问题。
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
12 0/5/1/0.100.30.0.0.1.3    c12t1d3    SP A0     active  dead       0      0

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7191998/viewspace-1138281/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-10-23

  • 博文量
    92
  • 访问量
    242170