- 论坛徽章:
- 0
|
本帖最后由 xxwang1984 于 2011-09-28 11:24 编辑
最近在学习hitachi的hdlm知识,遇到一些问题,烦请高手赐教!
# /opt/DynamicLinkManager/bin/dlnkmgr view -lu
Product : AMS
SerialNumber : 83040634
LUs : 2
iLU HDevName Device PathID Status
0000 sddlmaa /dev/sdb 000000 Online
/dev/sdg 000002 Online
/dev/sdd 000004 Offline(E)
/dev/sdf 000005 Online
0001 sddlmab /dev/sdc 000001 Online
/dev/sdi 000003 Online
/dev/sde 000006 Offline(E)
/dev/sdh 000007 Online
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2011/09/28 10:36:33
# /opt/DynamicLinkManager/bin/dlnkmgr view -path
Paths:000008 OnlinePaths:000006
PathStatus IO-Count IO-Errors
Reduced 2551375341 704
PathID PathName DskName iLU ChaPort Status Type IO-Count IO-Errors DNum HDevName
000000 0003.0000.0000000000000000.0000 HITACHI .DF600F .83040634 0000 1A Online Own 2283901562 0 0 sddlmaa
000001 0003.0000.0000000000000000.0001 HITACHI .DF600F .83040634 0001 1A Online Own 959682435 0 0 sddlmab
000002 0003.0000.0000000000000001.0000 HITACHI .DF600F .83040634 0000 0A Online Own 2281424428 0 0 sddlmaa
000003 0003.0000.0000000000000001.0001 HITACHI .DF600F .83040634 0001 0A Online Own 1000636382 0 0 sddlmab
000004 0004.0000.0000000000000000.0000 HITACHI .DF600F .83040634 0000 0B Offline(E) Own 591168551 4 0 sddlmaa
000005 0004.0000.0000000000000001.0000 HITACHI .DF600F .83040634 0000 1B Online Own 2288134419 0 0 sddlmaa
000006 0004.0000.0000000000000000.0001 HITACHI .DF600F .83040634 0001 0B Offline(E) Own 4226664974 700 0 sddlmab
000007 0004.0000.0000000000000001.0001 HITACHI .DF600F .83040634 0001 1B Online Own 1804664478 0 0 sddlmab
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2011/09/28 10:37:42
# fdisk -l /dev/sddlmaa
WARNING: GPT (GUID Partition Table) detected on '/dev/sddlmaa'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sddlmaa: 2947.5 GB, 2947521970176 bytes
255 heads, 63 sectors/track, 358349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sddlmaa1 1 267350 2147483647+ ee EFI GPT
# ll /dev/sddlma*
brw-r----- 1 root disk 252, 0 2009-11-08 /dev/sddlmaa
brw-r----- 1 root disk 252, 1 2010-05-07 /dev/sddlmaa1
brw-rw---- 1 root root 252, 10 2009-11-08 /dev/sddlmaa10
brw-rw---- 1 root root 252, 11 2009-11-08 /dev/sddlmaa11
brw-rw---- 1 root root 252, 12 2009-11-08 /dev/sddlmaa12
brw-rw---- 1 root root 252, 13 2009-11-08 /dev/sddlmaa13
brw-rw---- 1 root root 252, 14 2009-11-08 /dev/sddlmaa14
brw-rw---- 1 root root 252, 15 2009-11-08 /dev/sddlmaa15
brw-r----- 1 root disk 252, 2 2010-05-07 /dev/sddlmaa2
brw-rw---- 1 root root 252, 3 2009-11-08 /dev/sddlmaa3
brw-rw---- 1 root root 252, 4 2009-11-08 /dev/sddlmaa4
brw-rw---- 1 root root 252, 5 2009-11-08 /dev/sddlmaa5
brw-rw---- 1 root root 252, 6 2009-11-08 /dev/sddlmaa6
brw-rw---- 1 root root 252, 7 2009-11-08 /dev/sddlmaa7
brw-rw---- 1 root root 252, 8 2009-11-08 /dev/sddlmaa8
brw-rw---- 1 root root 252, 9 2009-11-08 /dev/sddlmaa9
brw-r----- 1 root disk 252, 16 2009-11-08 /dev/sddlmab
brw-r----- 1 root disk 252, 17 2011-02-10 /dev/sddlmab1
brw-rw---- 1 root root 252, 26 2009-11-08 /dev/sddlmab10
brw-rw---- 1 root root 252, 27 2009-11-08 /dev/sddlmab11
brw-rw---- 1 root root 252, 28 2009-11-08 /dev/sddlmab12
brw-rw---- 1 root root 252, 29 2009-11-08 /dev/sddlmab13
brw-rw---- 1 root root 252, 30 2009-11-08 /dev/sddlmab14
brw-rw---- 1 root root 252, 31 2009-11-08 /dev/sddlmab15
brw-r----- 1 root disk 252, 18 2011-02-10 /dev/sddlmab2
brw-rw---- 1 root root 252, 19 2009-11-08 /dev/sddlmab3
brw-rw---- 1 root root 252, 20 2009-11-08 /dev/sddlmab4
brw-rw---- 1 root root 252, 21 2009-11-08 /dev/sddlmab5
brw-rw---- 1 root root 252, 22 2009-11-08 /dev/sddlmab6
brw-rw---- 1 root root 252, 23 2009-11-08 /dev/sddlmab7
brw-rw---- 1 root root 252, 24 2009-11-08 /dev/sddlmab8
brw-rw---- 1 root root 252, 25 2009-11-08 /dev/sddlmab9
# pvscan
PV /dev/sddlmab1 VG vgarch lvm2 [1.34 TB / 1.01 TB free]
PV /dev/sddlmab2 VG vgarch lvm2 [1.34 TB / 372.25 GB free]
PV /dev/sddlmaa1 VG vgdata lvm2 [1.34 TB / 3.50 GB free]
PV /dev/sddlmaa2 VG vgdata lvm2 [1.34 TB / 0 free]
Total: 4 [5.36 TB] / in use: 4 [5.36 TB] / in no VG: 0 [0 ]
问题:
1、上面的输出能否看到主机装了几个hba卡,每个hba卡的id是多少?
2、上面是输出中是否是4条path?
3、hdev设备sddlmaa 是否是有四个基盘 /dev/sdb 、 /dev/sdg 、 /dev/sdd 、 /dev/sdf 组成吗?
4、hdev设备sddlmaa只有一个逻辑分区/dev/sddlmaa1,为什么# ll /dev/sddlma*命令输出又那么多呢?
上面的问题可能问的幼稚,请不要拍砖,没有办法,绝对的新手,谢谢! |
|