vxconfigd dumps core in ddl_remove_ghost_entries after dynamic LUN provisioning (addition and deletion) and can't be restarted.

book

Article ID: 100031451

calendar_today

Updated On:

Description

Error Message

Pstack of the vxconfigd core file

Example #1
core 'core_vxconfigd_0_0_1437734109_75' of 75:      vxconfigd -x syslog -m boot
-----------------  lwp# 1 / thread# 1  --------------------
 001c2d28 ddl_remove_ghost_entries (0, 4000, 391e80, 800000, a726e8, 0) + c8
 001bb2a8 ddl_reconfigure_all (0, 0, 3deb9c, 391e80, 490a0, 431298) + 6d4
 00197010 ddl_find_devices_in_system (4cc00, 391e80, 0, 7a4600, 3b4c0c, 3b4c08)  + 664
 00122e04 find_devices_in_system (2, 71a820, 391e80, 0, 0, 3b4c00) + 38
 0009b460 ddl_scan_devices (3d6e38, 79c510, 0, 0, 3b4c00, 3d6c00) + 110
 0009b33c req_scan_disks (508308, 4273f0, 0, 79c510, 3be400, 3d6c00) + 18
 0015099c request_loop (427400, 3c06ec, 508308, a8c0, ffffffff, 6586dc) + b50
 0011599c main     (0, 3b3400, 3adc00, 0, ffbffe20, 0) + 1024

Example #2
t@null (l@1) terminated by signal SEGV (no mapping at the fault address)
=>[1] vxconfigd:ddl_adjust_metanode_subpaths(0x22c00, 0x7a42c, 0x7a400, 0x398780, 0xff, 0xffffffff), at 0x1d7c78
  [2] vxconfigd:ddl_migration_devlist_removed(0x999e88, 0x81be88, 0xffbfe92c, 0x411b38, 0x44480, 0x44400), at 0x1cb388
  [3] vxconfigd:ddl_reconfig_full(0x999e88, 0x411b30, 0xffbfe92c, 0x81be88, 0x999eb0, 0x999eda), at 0x1cb31c
  [4] vxconfigd:ddl_reconfigure_all(0x0, 0x6, 0x3e1890, 0x398780, 0x3e5524, 0x3e5520), at 0x1ca050
  [5] vxconfigd:ddl_find_devices_in_system(0x4854c, 0x398780, 0x40f35c, 0x3e18b4, 0x4cd9c, 0x0), at 0x1a7724
  [6] vxconfigd:find_devices_in_system(0x2, 0xffbff5d0, 0x32a3c0, 0x40b210, 0x6, 0x3bb400), at 0x135324
  [7] vxconfigd:mode_set(0x2, 0xffbff84c, 0x40b210, 0x0, 0x32a3c0, 0x1400), at 0x134724
  [8] vxconfigd:setup_mode(0x2, 0x326ae4, 0x4755e4, 0x326b54, 0x326800, 0x1010101), at 0x12897c
  [9] vxconfigd:startup(0x492858, 0x0, 0x3bb400, 0x7ee7, 0x326a64, 0x3b9e1c), at 0x1288c8
  [10] vxconfigd:main(0x8, 0xffbffabc, 0xffffffff, 0x1, 0x325f18, 0x0), at 0x12814c

Syslog error messages

Jul 16 21:16:28 box1 vxdmp: [ID 557473 kern.warning] WARNING: VxVM vxdmp V-5-3-2065 dmp_devno_to_devidstr ldi_get_devid failed for devno 0x13400000548
Jul 16 21:16:28 box1 vxdmp: [ID 423856 kern.warning] WARNING: VxVM vxdmp V-5-0-2046 : Failed to get devid for device 0x70329720


Cause

The following conditions trigger this bug:

1. Solaris 10 or 11 environment AND
2. EMC Powerpath doing the multipathing and Veritas DMP in passthrough mode AND
3. Storage Foundation 6.2.x AND
4. Dynamic LUN provisioning (addition or deletion) is performed AND
5. Device discovery commands "vxdisk scandisks" or "vxdctl enable" is run.

vxconfigd core dumps due to configuration mismatch between the DMP kernel database and the vxconfigd device tree. vxconfigd fails to startup and only recovery option is to reboot the system.

Resolution

A hotfix is available and customers who might be hitting this issue, can contact VERITAS Technical Services to obtain the patch. Please reference bug id: 3812192.

Issue/Introduction

During dynamic LUN provisioning, when vxdctl enable or vxdisk scandisks command is run, vxconfigd core dumps with SIGSEGV. It can't be restarted unless the box is rebooted.

Additional Information

ETrack: 3812192