运行Red Hat Enterprise Linux Server 6.6版。
创建新LUN,重新扫描总线,在创建的4个新设备之一上创建PV,然后创建相同的VG-LV。LUN是多路径的,但我忘了修改LUN的blacklist_exceptions和multipaths部分的multipah.conf。所以我最终得到了:
PV Name /dev/sdbq
/dev/disk/by-id
lrwxrwxrwx 1 root root 10 Oct 13 17:56 scsi-360002ac00000000055000b01000071a6 -> ../../sdbq
lrwxrwxrwx 1 root root 10 Oct 13 17:56 wwn-0x60002ac00000000055000b01000071a6 -> ../../sdbq
/dev/disk/by-path
lrwxrwxrwx 1 root root 10 Oct 13 17:52 pci-0000:04:00.1-fc-0x20210002ac0071a6-lun-16 -> ../../sdbn
lrwxrwxrwx 1 root root 10 Oct 13 17:34 pci-0000:04:00.1-fc-0x21210002ac0071a6-lun-16 -> ../../sdbo
lrwxrwxrwx 1 root root 10 Oct 13 17:34 pci-0000:07:00.1-fc-0x24220002ac0071a6-lun-16 -> ../../sdbp
lrwxrwxrwx 1 root root 10 Oct 13 17:56 pci-0000:07:00.1-fc-0x25220002ac0071a6-lun-16 -> ../../sdbq
那么,我怎样才能创建指向LUN的mpath设备呢?而且,我如何将多路径设备与PV相关联?