【AIX】AIX系統下檢視磁碟陣列

landf發表於2012-06-08
Xinhy 12.00 Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONEAIXDISK ARRAY的相關裝置是用如下AIX裝置名來表現的:

連線一臺Disk Array,那麼系統中應對應一個dar,若DS為雙控,那麼應對應dac0/1

dar: 磁碟陣列路由器

dac: 磁碟陣列控制器

hdisk: 每一個 hdisk 裝置名對應DISK ARRAY中的一個LUN

 

可以通過AIX的命令檢視磁碟陣列的屬性以及相關裝置之間的關係。

1,lsdev:顯示裝置名及其特點

p550a:/#lsdev -C |grep dar0

dar0         Available          1814     DS4700 Disk Array Router

 

p550a:/#lsdev -C |grep dac

dac0         Available 04-00-01 1814     DS4700 Disk Array Controller

dac1         Available 05-00-01 1814     DS4700 Disk Array Controller

 

p550a:/#lsdev -C |grep disk

hdisk0       Available 00-08-00 SAS Disk Drive

hdisk1       Available 00-08-00 SAS Disk Drive

hdisk2       Available 04-00-01 1814     DS4700 Disk Array Device

hdisk3       Available 05-00-01 1814     DS4700 Disk Array Device

hdisk4       Available 04-00-01 1814     DS4700 Disk Array Device

hdisk5       Available 05-00-01 1814     DS4700 Disk Array Device

hdisk6       Available 04-00-01 1814     DS4700 Disk Array Device

hdisk7       Available 05-00-01 1814     DS4700 Disk Array Device

 

p550a:/#lsdev -p dar0

hdisk2 Available 04-00-01 1814     DS4700 Disk Array Device

hdisk3 Available 05-00-01 1814     DS4700 Disk Array Device

hdisk4 Available 04-00-01 1814     DS4700 Disk Array Device

hdisk5 Available 05-00-01 1814     DS4700 Disk Array Device

hdisk6 Available 04-00-01 1814     DS4700 Disk Array Device

hdisk7 Available 05-00-01 1814     DS4700 Disk Array Device

 

p550a:/#lsdev -p fcs0

fcnet0 Defined   04-00-02 Fibre Channel Network Protocol Device

fscsi0 Available 04-00-01 FC SCSI I/O Controller Protocol Device

 

p550a:/#lsdev -p fscsi0

dac0 Available 04-00-01 1814     DS4700 Disk Array Controller

 

p550a:/#lsdev -p fcs1 

fcnet1 Defined   05-00-02 Fibre Channel Network Protocol Device

fscsi1 Available 05-00-01 FC SCSI I/O Controller Protocol Device

 

p550a:/#lsdev -p fscsi1

dac1 Available 05-00-01 1814     DS4700 Disk Array Controller

rmt0 Available 05-00-01 Other FC SCSI Tape Drive

rmt1 Available 05-00-01 Other FC SCSI Tape Drive

 

2,lsattr:顯示裝置的屬性及可能設定的值

p550a:/#lsattr -El dar0

act_controller dac0,dac1 Active Controllers                          False

aen_freq       600       Polled AEN frequency in seconds             True

all_controller dac0,dac1 Available Controllers                       False

autorecovery   no        Autorecover after failure is corrected      True

balance_freq   600       Dynamic Load Balancing frequency in seconds True

cache_size     1792      Cache size for both controllers             False

fast_write_ok  no        Fast Write available                        False

held_in_reset  none      Held-in-reset controller                    True

hlthchk_freq   600       Health check frequency in seconds           True

load_balancing no        Dynamic Load Balancing                      True

switch_retries 5         Number of times to retry failed switches    True

 

3,fget_config:顯示指定的dar 裝置上的磁碟控制器和hdisk 之間的關係,及磁碟控制器的狀態

p550a:/#fget_config -l dar0

dac0 ACTIVE dac1 ACTIVE

hdisk2   dac0

hdisk3   dac1

hdisk4   dac0

hdisk5   dac1

hdisk6   dac0

hdisk7   dac1

 

p550a:/#fget_config -Av

---dar0---

User array name = ''

dac0 ACTIVE dac1 ACTIVE

Disk     DAC   LUN Logical Drive

utm             31

hdisk2   dac0    0 OCR_disk

hdisk3   dac1    1 VOTE_disk

hdisk4   dac0    2 P550A_arch

hdisk5   dac1    3 P550B_arch

hdisk6   dac0    4 DATA01

hdisk7   dac1    5 DATA02

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14359/viewspace-732298/,如需轉載,請註明出處,否則將追究法律責任。

相關文章