全部博文(323)
分类: 服务器与存储
2008-04-28 22:47:51
4.VPATH的一些查询命令:
datapath query device
Total Devices : 9
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY: Optimized
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk33 OPEN NORMAL 2 0
1 fscsi0/hdisk40 OPEN NORMAL 0 0
2 fscsi1/hdisk47 OPEN NORMAL 2 0
3 fscsi1/hdisk54 INVALID NORMAL 0 0
# datapath open device 0 path 3
Success: device 0 path 3 opened
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY: Optimized
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk33 OPEN NORMAL 2 0
1 fscsi0/hdisk40 OPEN NORMAL 0 0
2 fscsi1/hdisk47 OPEN NORMAL 2 0
3 fscsi1/hdisk54 INVALID NORMAL 0 0
# datapath query essmap
Disk Path P Location adapter Type Size LSS Vol Rank C/A S Connection port RaidMode
------- ----- - ----------- ------ ----------- ---- ---- --- ----- ---- - ----------- ---- --------
vpath0 hdisk33 1A-08-01[FC] fscsi0 IBM 2105-800 35.0 19 1 1300 1b Y R1-B2-H1-ZA 20 RAID5
vpath0 hdisk40 1A-08-01[FC] fscsi0 IBM 2105-800 35.0 19 1 1300 1b Y R1-B4-H1-ZA a0 RAID5
vpath0 hdisk47 1D-08-01[FC] fscsi1 IBM 2105-800 35.0 19 1 1300 1b Y R1-B1-H1-ZA 0 RAID5
vpath0 hdisk54 1D-08-01[FC] fscsi1 IBM 2105-800 35.0 19 1 1300 1b Y R1-B3-H1-ZA 80 RAID5
# datapath set device0 path 3 offline
Success: set device 0 path 3 to offline
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY: Optimized
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk33 OPEN NORMAL 2 0
1 fscsi0/hdisk40 OPEN NORMAL 0 0
2 fscsi1/hdisk47 OPEN NORMAL 2 0
3 fscsi1/hdisk54 INVALID OFFLINE 0 0
# datapath set device 0 path 3 online
Success: set device 0 path 3 to online
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY: Optimized
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk33 OPEN NORMAL 2 0
1 fscsi0/hdisk40 OPEN NORMAL 0 0
2 fscsi1/hdisk47 OPEN NORMAL 2 0
3 fscsi1/hdisk54 INVALID NORMAL 0 0
# datapath open device 0 path 3
Success: device 0 path 3 opened
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105800 POLICY: Optimized
SERIAL: 30123253
==========================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi0/hdisk33 OPEN NORMAL 2 0
1 fscsi0/hdisk40 OPEN NORMAL 0 0
2 fscsi1/hdisk47 OPEN NORMAL 2 0
3 fscsi1/hdisk54 INVALID NORMAL 0 0
# datapath query adapter
Active Adapters :2
Adpt# Name State Mode Select Errors Paths Active
0 fscsi0 NORMAL ACTIVE 23922561 0 26 8
1 fscsi1 NORMAL ACTIVE 19474676 0 13 4