vxdclid coredumping every 30mins on VIOM 7.4.2.200 MHs running VxVM 7.4.2.1500/rhel7 and VxVM 7.4.2.1400/rhel8.

book

Article ID: 100050751

calendar_today

Updated On:

Description

Error Message

Jun 20 21:06:33 systemA kernel: vxdclid[89821]: segfault at 20 ip 00007f5cdbba18b6 sp 00007f5cd15bb760 error 4 in libvxdcli.so[7f5cdbb90000+43000]
 

Cause

vxdclid is coredumping when attempting to capture the stats for the volumes and disks. 

Resolution

A new vxdclid plugin has been created to fix this issue and can be installed using the following steps:

1. Stop the dclid process:
/opt/VRTSsfmh/etc/vxdcli.sh stop

2. Confirm that the vxdclid process is not running in the ps -ef output

3. Take the backup of old " libvxlistsf_s.so " file
cp /opt/VRTSsfmh/plugins/vxlist/server/742/libvxlistsf_s.so to /opt/VRTSsfmh/plugins/vxlist/server/742/libvxlistsf_s.so_orig

4. Copy the new "libvxlistsf_s.so" file to the MH and replace the original plugin.

For example if the plugin had been copied to /var/tmp, we would do:

cp /var/tmp/libvxlistsf_s.so to /opt/VRTSsfmh/plugins/vxlist/server/742/

5. Start the dclid process:

/opt/VRTSsfmh/etc/vxdcli.sh start

6. Confirm that the vxdclid process is seen in the ps -ef output.

7. Run the '/opt/VRTSsfmh/bin/vxlist' command and confirm that vxdclid doesn't coredump.

8. Monitor the system for 1-2 hrs and if no further vxdclid coredumps are encountered during this time, then the plugin has resolved the issue.

 

Additionally the deployment tool which can be used to install a plugin on multiple MHs from the VIOM CMS has been updated to include this plugin.  

 

Please contact Veritas Technical Support if encountering this vxdclid coredump.
 

Issue/Introduction

vxdclid coredumping every 30mins on VIOM 7.4.2.200 MHs running VxVM 7.4.2.1500/rhel7 and VxVM 7.4.2.1400/rhel8. The following stack is seen: (gdb) bt
#0 0x00007faf7d27b387 in raise () from /lib64/libc.so.6
#1 0x00007faf7d27ca78 in abort () from /lib64/libc.so.6
#2 0x00007faf7d2bded7 in __libc_message () from /lib64/libc.so.6
#3 0x00007faf7d2c6299 in _int_free () from /lib64/libc.so.6
#4 0x00007faf759a5fd6 in stats_free (rs=0x7faf6000a2d0) at vxbridge/common/logstats.c:111
#5 0x00007faf759a6056 in map_stats_free (ptr=0x7faf6000a2d0) at vxbridge/common/logstats.c:124
#6 0x00007faf7ee99519 in rb_destroy (aMap=0x7faf60025d40) at rbtree.c:518
#7 0x00007faf7ee9a17c in vx_map_destroy (aMap=0x7faf60025d40) at rbtree.c:1402
#8 0x00007faf759a7285 in logstats_work (db=0x7faf75cf3880 <_curDB>) at vxbridge/common/logstats.c:622
#9 0x00007faf759a7504 in logstats_thread (unused=0x0) at vxbridge/common/logstats.c:716
#10 0x00007faf7d61aea5 in start_thread () from /lib64/libpthread.so.0
#11 0x00007faf7d34396d in clone () from /lib64/libc.so.6

Additional Information

JIRA: STESC-6044 JIRA: STESC-6047