华为存储不需要在OS层面安装多路径软件,而是通过存储本身聚合后映射至服务器使用。
如下:
[root@lkrac1 rules.d]# fdisk -l
Disk /dev/sda: 1099.5 GB, 1099511627776 bytes
255 heads, 63 sectors/track, 133674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 133674 1073631982+ 8e Linux LVM
Disk /dev/sdb: 1298.8 GB, 1298824953856 bytes
255 heads, 63 sectors/track, 157906 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sde doesn't contain a valid partition table
Disk /dev/sdf: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdf doesn't contain a valid partition table
Disk /dev/sdg: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdg doesn't contain a valid partition table
Disk /dev/sdh: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdh doesn't contain a valid partition table
Disk /dev/sdi: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdi doesn't contain a valid partition table
Disk /dev/sdj: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdj doesn't contain a valid partition table
Disk /dev/sdk: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdk doesn't contain a valid partition table
以上显示的磁盘即为聚合之后的磁盘信息。
多路径软件简单使用如下:
[root@lkrac1 rules.d]# upadmin
UltraPath CLI #0 >show version
Software Version : 6.01.026
Driver Version : 6.01.026
UltraPath CLI #1 >show vlun
-----------------------------------------------------------------------------------------------------------
Vlun ID Name Lun WWN Status Capacity Ctrl(Own/Work) Array Name
0 LK001 62233a44666db65d06642b5b00000006 Normal 10.00GB 0B/0B SN_245608G6MUZ0CA000002
1 LK002 62233a44666db65d06643d0800000007 Normal 10.00GB 0B/0B SN_245608G6MUZ0CA000002
2 LK003 62233a44666db65d0664545f00000008 Normal 10.00GB 0B/0B SN_245608G6MUZ0CA000002
3 LK004 62233a44666db65d0664668700000009 Normal 10.00GB 0B/0B SN_245608G6MUZ0CA000002
4 LK005 62233a44666db65d066473e60000000a Normal 10.00GB 0B/0B SN_245608G6MUZ0CA000002
5 LK006 62233a44666db65d0664833c0000000b Normal 500.00GB 0B/0B SN_245608G6MUZ0CA000002
6 LK007 62233a44666db65d066491e70000000c Normal 500.00GB 0B/0B SN_245608G6MUZ0CA000002
7 LK008 62233a44666db65d0664ab850000000d Normal 500.00GB 0B/0B SN_245608G6MUZ0CA000002
8 LK009 62233a44666db65d0664bbae0000000e Normal 500.00GB 0B/0B SN_245608G6MUZ0CA000002
-----------------------------------------------------------------------------------------------------------
UltraPath CLI #2 >
使用华为存储安装RAC使用磁盘如下(举例):
dd测速参考如下:
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdo bs=8M count=100
100+0 records in
100+0 records out
838860800 bytes (839 MB) copied, 1.53826 s, 545 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdp bs=8M count=100
100+0 records in
100+0 records out
838860800 bytes (839 MB) copied, 1.57544 s, 532 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdq bs=8M count=100
100+0 records in
100+0 records out
838860800 bytes (839 MB) copied, 1.71073 s, 490 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdr bs=8M count=100
100+0 records in
100+0 records out
838860800 bytes (839 MB) copied, 1.54352 s, 543 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sde bs=8M count=1024
1024+0 records in
1024+0 records out
8589934592 bytes (8.6 GB) copied, 18.4599 s, 465 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdh bs=8M count=1024
1024+0 records in
1024+0 records out
8589934592 bytes (8.6 GB) copied, 17.7684 s, 483 MB/s
[root@lkrac1 ~]# dd if=/dev/zero of=/dev/sdk bs=8M count=1024
1024+0 records in
1024+0 records out
8589934592 bytes (8.6 GB) copied, 19.1803 s, 448 MB/s