vxconfigd debug output file stops at 2GB on Solaris 11

book

Article ID: 100043877

calendar_today

Updated On:

Description

Error Message

n/a

Cause

Solaris 32-bit limit was hit

Resolution

In this instance, vxconfigd (the binary being debugged) was 32-bit:

# file /usr/sbin/vxconfigd
/usr/sbin/vxconfigd:    ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped

The debug output file stopped growing at the 2 GB limit:

# cd /var/tmp
# ls -l
total 4198178
-rw-------   1 root     root     2147483647 Aug 17 16:33 vx.out


The 2 GB issue is documented in an online article:

https://blogs.oracle.com/d/enabling-large-file-support

 

To work round the issue, a means of rotating such log files is needed. Solaris has a utility called 'logadm', which can be used for this purpose.

... VxVM vxdmpadm ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible root@gf02sxdb201v:/SYSSHARE/PERFORMANCE/gf02sxdb201v,# pgrep -f vxconfig -l root@gf02sxdb201v:/SYSSHARE/PERFORMANCE/gf02sxdb201v,# root@gf02sxdb201v:/,# /usr/sbin/vxconfigd -k 06/14 11:03:20: VxVM vxconfigd ERROR V-5-1-0 Segmentation violation - core dumped I then tried to clean up the device tree, as learned from Veritas: root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# devfsadm -Cv root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# vxddladm stop eventsource root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# mv /etc/vx/disk.info /etc/vx/disk.info.old.backup || echo "ERROR: Cannot move /etc/vx/disk.info" >&2 root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# mv /etc/vx/array.info /etc/vx/array.info.old.backup || echo "ERROR: Cannot move /etc/vx/array.info" >&2 root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# rm /dev/vx/dmp/* root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# rm /dev/vx/rdmp/* root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# vxconfigd -k -x cleartempdir 06/14 11:05:32: VxVM vxconfigd ERROR V-5-1-0 Segmentation violation - core dumped Did not help. root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# ls /var/share/cores/global/ total 351454 -rw------- 1 root root 30651282 Jun 14 10:42:00 2018 core_gf02sxdb201v_vxdclid_0_0_1528965719_13300 -rw------- 1 root root 104529132 Jun 14 10:46:47 2018 core_gf02sxdb201v_vxconfigd_0_0_1528966003_587 -rw------- 1 root root 22228760 Jun 14 11:03:20 2018 core_gf02sxdb201v_vxconfigd_0_0_1528966996_28273 -rw------- 1 root root 22261528 Jun 14 11:05:32 2018 core_gf02sxdb201v_vxconfigd_0_0_1528967129_3265 root@gf02sxdb201v:/SYSSHARE/tackerma/bin,# pkg list VRTSvxvm NAME (PUBLISHER) VERSION IFO VRTSvxvm (Veritas) 7.2.0.301 i--

Issue/Introduction

vxconfigd debug output file stopped growing on Solaris platform at 2 GB