AIX系统下查看磁盘阵列

在AIX中DISK 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 DATA02linux
本篇文章来源于 Linux公社网站(
www.linuxidc.com )  原文链接: http://www.linuxidc.com/Linux/2012-07/64654.htm

你可能感兴趣的:(AIX系统下查看磁盘阵列)