# rpm -qa VRTSvxvm
VRTSvxvm-8.0.0.2600-RHEL8.x86_64
Prior to excluding any DMPNODE
# cat /etc/vx/vxvm.exclude
exclude_all 0
paths
#
controllers
#
product
#
In this instance, Veritas DMPNODE emc0_0433 is not excluded from "vxdisk list" when running the command:
# vxdmpadm exclude dmpnodename=emc0_0433
The /etc/vx/vxvm.exclude file is not populated with the required hardware path information to persistently exclude the specified DMPNODE name.
Incorrect format:
# cat /etc/vx/vxvm.exclude
exclude_all 0
paths
sdv /dev/sdv emc0_0433
sdau /dev/sdau emc0_0433
sdbs /dev/sdbs emc0_0433
sdcr /dev/sdcr emc0_0433
#
controllers
#
product
#
The VRTSvxvm 8.0.0.2600 public patch is missing key changes to the respective /etc/vx/vxpath_links and /lib/udev/vxpath_links scripts.
Fix missing with VRTSvxvm 8.0.0.2600 rpm:
# wc -l /lib/udev/vxpath_links
378 /lib/udev/vxpath_links
# wc -l /etc/vx/vxpath_links
378 /etc/vx/vxpath_links
Fix included with VRTSvxvm 8.0.0.2602 rpm:
# wc -l /lib/udev/vxpath_links
399 /lib/udev/vxpath_links
# wc -l /etc/vx/vxpath_links
399 /etc/vx/vxpath_links
Customers must install VRTSvxvm Public hotfix 8.0.0.2602
Download Link:
https://www.veritas.com/content/support/en_US/downloads/update.UPD996016
Once the Public VxVM hotfix 8.0.0.2602 for VRTSvxvm has been applied, run vxinstall to ensure the VxVM services are enabled.
# vxinstall
Note: To ensure the /dev/vx/.dmp directory contents are populated correctly, the system must be restarted.
# reboot
Following the system reboot, the VxVM device exclusion should now work as designed.
# vxdctl mode
mode: enabled
# rpm -qa VRTSvxvm
VRTSvxvm-8.0.0.2602-RHEL8.x86_64
# cat /etc/vx/vxvm.exclude
exclude_all 0
paths
#
controllers
#
product
#
The Veritas DMPNODE "emc0_0433" can now be excluded as follows:
# vxdmpadm exclude dmpnodename=emc0_0433
The /etc/vx/vxvm.exclude file is correctly populated with the required hardware path to persistently exclude the specified DMPNODE name.
Correct format:
# cat /etc/vx/vxvm.exclude
exclude_all 0
paths
sdcr pci-0000:37:00.1-fc-0x50000975b00af408-lun-18 emc0_0433
sdbs pci-0000:37:00.1-fc-0x50000975b00af448-lun-18 emc0_0433
sdv pci-0000:37:00.0-fc-0x50000975b00af448-lun-18 emc0_0433
sdau pci-0000:37:00.0-fc-0x50000975b00af408-lun-18 emc0_0433
#
controllers
#
product
#
VxVM and Veritas DMP (Dynamic Multipathing) will parse the device files in /dev/disk/by-path and build the respective files under /dev/vx/.dmp.
In this instance, Veritas DMPNODE "emc0_0433" has 4 x OS device paths. The device files must exist in /dev/disk/by-path.
# cd /dev/disk/by-path
Sample data
# pwd
/dev/disk/by-path
# ll | grep -w sdcr
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 fc-0x51402ec01482cbee-0x50000975b00af408-lun-18 -> ../../sdcr
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 pci-0000:37:00.1-fc-0x50000975b00af408-lun-18 -> ../../sdcr
# ll | grep -w sdbs
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 fc-0x51402ec01482cbee-0x50000975b00af448-lun-18 -> ../../sdbs
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 pci-0000:37:00.1-fc-0x50000975b00af448-lun-18 -> ../../sdbs
# ll | grep -w sdv
lrwxrwxrwx. 1 root root 9 Oct 2 18:32 fc-0x51402ec01482cbec-0x50000975b00af448-lun-18 -> ../../sdv
lrwxrwxrwx. 1 root root 9 Oct 2 18:32 pci-0000:37:00.0-fc-0x50000975b00af448-lun-18 -> ../../sdv
# ll | grep -w sdau
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 fc-0x51402ec01482cbec-0x50000975b00af408-lun-18 -> ../../sdau
lrwxrwxrwx. 1 root root 10 Oct 2 18:32 pci-0000:37:00.0-fc-0x50000975b00af408-lun-18 -> ../../sdau
Sample data
In this instance, Veritas DMPNODE "emc0_0433" has 4 x OS device paths. The device files must exist in /dev/vx/.dmp.
# pwd
/dev/vx/.dmp
# ll | grep -w sdv
lrwxrwxrwx. 1 root root 63 Oct 2 18:32 sdv -> /dev/disk/by-path/pci-0000:37:00.0-fc-0x50000975b00af448-lun-18
# ll | grep -w sdbs
lrwxrwxrwx. 1 root root 63 Oct 2 18:32 sdbs -> /dev/disk/by-path/pci-0000:37:00.1-fc-0x50000975b00af448-lun-18
# ll | grep -w sdau
lrwxrwxrwx. 1 root root 63 Oct 2 18:32 sdau -> /dev/disk/by-path/pci-0000:37:00.0-fc-0x50000975b00af408-lun-18
# ll | grep -w sdcr
lrwxrwxrwx. 1 root root 63 Oct 2 18:32 sdcr -> /dev/disk/by-path/pci-0000:37:00.1-fc-0x50000975b00af408-lun-18