# cat /etc/default/vxassist
wantmirror=ctlr
# vxassist -g testdg make testvol 100m
Segmentation Fault (core dumped)
or
#vxassist -g
Segmentation Fault (core dumped)
The following is the vxassist core stack:
merge_attributes()
get_attributes()
do_make()
main()
_start()
Known issue documented in the following etrack.
Etrack 2398416 - vxassist coredump after echo "wantmirror=ctlr" > /etc/default/vxassist
SYMPTOM: vxassist dumps core with the following stack:
merge_attributes()
get_attributes()
do_make()
main()
_start()
DESCRIPTION: vxassist dumps core while creating volume when
attribute 'wantmirror=ctlr' is added to the '/etc/default/vxassist' file.
vxassist reads this default file initially and uses the attributes specified to
allocate the storage during the volume creation. However, during the merging of
attributes specified in the default file, it accesses NULL attribute structure
causing the core dump.
RESOLUTION: Necessary code changes have been done to check the attribute
structure pointer before accessing it.
The problem is fixed in the following patches.
VxVM 5.1SP1RP3 on all platforms.
VxVM 6.0.3 on all platforms
Please download the required patches from the Veritas Operation Readiness Tools website.
https://sort.Veritas.com/patch/matrix
Workaround:
Rename the /etc/default/vxassist file
# mv /etc/default/vxassist /etc/default/vxassist.OLD
In order to mirror across controllers you will need to specify wantmirror-ctlr as a CLI option. Example:
# vxassist -g testdg make testvol 100m wantmirror=ctlr
Applies To
The problem affects VxVM 5.1SP1, 6.0 and 6.0.1 on all platforms.