Forum Discussion

JomaSoftMarcel's avatar
9 years ago

vxconfigd core dumps at vxdisk scandisks after zpool removed from ldom

Hi

I'm testing InfoScale 7.0 on Solaris with LDoms. Creating a ZPOOL in the LDom works.
It seems there is something not working properly. On the LDom Console I see

May 23 16:19:45 g0102 vxdmp: [ID 557473 kern.warning] WARNING: VxVM vxdmp V-5-3-2065 dmp_devno_to_devidstr ldi_get_devid failed for devno 0x11500000000
May 23 16:19:45 g0102 vxdmp: [ID 423856 kern.warning] WARNING: VxVM vxdmp V-5-0-2046 : Failed to get devid for device 0x20928e88

After I destroy the ZPOOL, I would like to remove the Disk from the LDom.
To be able to do that I remove and disable the disk

/usr/sbin/vxdmpadm -f disable path=c1d1s2
/usr/sbin/vxdisk rm c1d1s2

After this I'm able to remove the Disk from the LDom using ldm remove-vdisk.
The dmp configuration is not cleaned up.

# /usr/sbin/vxdmpadm getsubpaths ctlr=c1
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
NONAME       DISABLED(M)    -          NONAME       OTHER_DISKS  other_disks  STANDBY
c1d0s2       ENABLED(A)    -          c1d0s2       OTHER_DISKS  other_disks     -
#

If I run vxdisk scandisks at this stage, the vxdisk command hangs and the vxconfigd core dumps:

# file core
core:           ELF 32-bit MSB core file SPARC Version 1, from 'vxconfigd'
# pstack core
core 'core' of 378:     vxconfigd -x syslog -m boot
------------  lwp# 1 / thread# 1  ---------------
 001dc018 ddl_get_disk_given_path (0, 0, 0, 0, 66e140, 0)
 001d4230 ddl_reconfigure_all (49c00, 0, 400790, 3b68e8, 404424, 404420) + 690
 001b0bfc ddl_find_devices_in_system (492e4, 3b68e8, 42fbec, 4007b4, 4db34, 0) + 67c
 0013ac90 find_devices_in_system (2, 3db000, 3c00, 50000, 0, 3d9400) + 38
 000ae630 ddl_scan_devices (3fc688, 654210, 0, 0, 0, 3fc400) + 128
 000ae4f4 req_scan_disks (660d68, 44fde8, 0, 654210, ffffffec, 3fc400) + 18
 00167958 request_loop (1, 44fde8, 3eb2e8, 1800, 19bc, 1940) + bfc
 0012e1e8 main     (3d8000, ffbffcd4, ffffffff, 42b610, 0, 33bb7c) + f2c
 00059028 _start   (0, 0, 0, 0, 0, 0) + 108

 

Thanks,
Marcel

  • There are some known zpool related issues In 7.0.  Please upgrade to the 7.3 with the latest RP patch.

    regards