For DMP to work with an LVM root disk over a SAN, configure the system to use the boot device over all possible paths.
To configure DMP support for booting over a SAN
In this example, the LVM root disk is multi-pathed with four paths. The output from the lspv command for the root volume group (rootvg) is as follows:
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active
For example, the following output shows that the hdisk377
path is not set correctly:
# lspv hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 none None
To set the PVID for the path, use the following command:
# chdev -l hdisk377 -a pv=yes hdisk377 changed
The output of the lspv command now shows the correct values:
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active
If a path has the reserve_policy attribute set, change thereserve_policy attribute to no_reserve for all the paths.
# lsattr -E1 hdisk557 | grep res
reserve_policy single_path
Reserve Policy True
# chdev -l hdisk557 -a reserve_policy=no_reserve -P
hdisk557 changed
If a path has the reserve_lock attribute set, change the reserve_lockattribute to no.
# lsattr -E1 hdisk558 | grep reserve_lock
reserve_lock yes
Reserve Device on open True
# chdev -l hdisk558 -a reserve_lock=no -P
hdisk558 changed
# bootlist -m normal hdisk374 hdisk375 hdisk376 hdisk377 blv=hd5
Verify that the boot list includes all paths and that each path shows the default boot volume hd5:
# bootlist -m normal -o hdisk374 blv=hd5 hdisk375 blv=hd5 hdisk376 blv=hd5 hdisk377 blv=hd5
# bootlist -m normal hdisk374 hdisk375 hdisk376 hdisk377 blv=hd5
# vxdmpadm native list vgname=rootvg PATH DMPNODENAME =========================== hdisk374 ams_wms0_491 hdisk375 ams_wms0_491 hdisk376 ams_wms0_491 hdisk377 ams_wms0_491
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active