之前一直使用asmlib来绑定存储,现在由于操作系统升级了,之前的asmlib不兼容,想着使用udev绑定存储,可是网上的文档有的懵了,不太会操作,我将相关的信息写在下面
version:red hat enterprise linux server release 7.0(maipo)
执行命令
# cd /dev/mapper/
# ll -ls
总用量 0
0 crw------- 1 root root 10, 236 12月 6 16:44 control
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 mpatha -> ../dm-2
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 mpatha1 -> ../dm-6
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 mpathb -> ../dm-3
0 lrwxrwxrwx 1 root root 8 12月 7 14:06 mpathb1 -> ../dm-17
0 lrwxrwxrwx 1 root root 8 12月 7 14:06 mpathb2 -> ../dm-18
0 lrwxrwxrwx 1 root root 8 12月 7 14:07 mpathb3 -> ../dm-19
0 lrwxrwxrwx 1 root root 8 12月 7 14:07 mpathb4 -> ../dm-20
0 lrwxrwxrwx 1 root root 8 12月 7 14:07 mpathb5 -> ../dm-21
0 lrwxrwxrwx 1 root root 8 12月 7 14:08 mpathb6 -> ../dm-22
0 lrwxrwxrwx 1 root root 8 12月 7 14:08 mpathb7 -> ../dm-23
0 lrwxrwxrwx 1 root root 8 12月 7 14:09 mpathb8 -> ../dm-24
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 mpathc -> ../dm-5
0 lrwxrwxrwx 1 root root 7 12月 7 14:10 mpathc1 -> ../dm-7
0 lrwxrwxrwx 1 root root 7 12月 7 14:10 mpathc2 -> ../dm-8
0 lrwxrwxrwx 1 root root 7 12月 7 14:11 mpathc3 -> ../dm-9
0 lrwxrwxrwx 1 root root 8 12月 7 14:11 mpathc4 -> ../dm-10
0 lrwxrwxrwx 1 root root 8 12月 7 14:11 mpathc5 -> ../dm-11
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 mpathd -> ../dm-4
0 lrwxrwxrwx 1 root root 8 12月 7 14:12 mpathd1 -> ../dm-12
0 lrwxrwxrwx 1 root root 8 12月 7 14:12 mpathd2 -> ../dm-13
0 lrwxrwxrwx 1 root root 8 12月 7 14:11 mpathd3 -> ../dm-14
0 lrwxrwxrwx 1 root root 8 12月 7 14:11 mpathd4 -> ../dm-15
0 lrwxrwxrwx 1 root root 8 12月 7 14:12 mpathd5 -> ../dm-16
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 rhel-root -> ../dm-0
0 lrwxrwxrwx 1 root root 7 12月 6 16:44 rhel-swap -> ../dm-1
两台服务器都要执行吗