EMC儲存在AIX的檢視命令
上次弄小機,出現了關於這個問題的情況,今天看到幾個貼有相關的內容,整理了下轉了。
#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
#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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux中檢視指令碼程式是否存在的命令!Linux指令碼
- IBM AIX儲存層結構分析+aix常用命令IBMAI
- 【AWR】DBA_HIST檢視檢視儲存在AWR中的歷史資料
- 【儲存】EMC
- 【資訊採集】IBM AIX系統硬體資訊檢視命令(shell指令碼)IBMAI指令碼
- 【AIX-PS】AIX系統ps命令詳解AI
- AIX相關管理命令AI
- windows下使用命令列檢視已儲存的wifi密碼Windows命令列WiFi密碼
- emc powerpath的powermt命令使用方法
- AIX詳細檢視使用者/程式使用記憶體AI記憶體
- 檢視程序的啟動命令
- EMC-AX4儲存配置
- 檢視系統型別的命令型別
- win10快捷鍵截圖儲存在哪裡 檢視快捷鍵截圖內容的方法Win10
- Linux 系統檢視命令Linux
- linux檢視裝置命令Linux
- 怎麼檢視mysql的儲存引擎MySql儲存引擎
- Oracle檢視執行計劃的命令Oracle
- Linux檢視檔案的命令有哪些?Linux
- 在Linux命令列檢視影像的方法Linux命令列
- Linux 檢視日誌的命令彙總Linux
- 檢視ip地址的cmd命令 cmd查詢ip地址命令
- 磁碟陣列檢視命令 RAID陣列AI
- docker檢視容器日誌命令Docker
- LINUX 檢視硬體配置命令Linux
- win10保留的儲存空間怎麼檢視_win10保留的儲存空間的檢視方法Win10
- win10檢視儲存的wifi密碼_如何檢視win10電腦儲存的wifi密碼Win10WiFi密碼
- 使用netstat命令檢視埠的使用情況
- git檢視日誌的常用命令Git
- 使用 jstat 命令檢視 JVM 的GC資訊JSJVMGC
- 檢視Linux硬體的一些命令Linux
- Linux中常用來檢視程式的命令PSLinux
- AIX操作相關常用命令整理AI
- win10最近使用的檔案是儲存在哪裡的_win10怎麼檢視最近使用的檔案Win10
- EMC儲存Raid故障資料分析報告AI
- 如何檢視Control File中儲存的內容
- Linux檢視環境變數當前資訊和檢視命令Linux變數
- GDB檢視記憶體(x 命令)記憶體
- 檢視hp小型機命令集