cancel
Showing results for 
Search instead for 
Did you mean: 

encapsulation process ends in segmentation fault

Lumir_Unzeitig
Not applicable

Hi all,

encapsulation process ends in segmentation fault erro (part )r. The failed command is "vxslicer" binary writing file /etc/vx/reconfig.d/slicer.lastlog. The disk layout is properly partitioned for encapsulation.

The vxencap error message  is:

 ...................................................

 Continue with encapsulation? [y,n,q,?] (default: y)

  A new disk group dg00 will be created and the disk device sdc will
  be encapsulated and added to the disk group with the disk name rootdisk.

Enter desired private region length
[<privlen>,q,?] (default: 65536)

  VxVM vxencap INFO V-5-2-1923 Encapsulating root disk...

  VxVM  ERROR V-5-2-2604 The encapsulation operation failed with the following error:
/usr/lib/vxvm/bin/vxencap: line 1529: 16733 Segmentation fault      vxslicer $r_op $p_op $q_op $s_op $f_op $x_op -d "$dmname=$diskpath" <$tmpfile2 >$DISKDIR/$disk/newpart 2>$tmpfile3

  VxVM vxencap ERROR V-5-2-213
It is not possible to encapsulate sdc, for the following reason:
     <>

 --------------------------------------------------

 

 

There is part of strace log file with the error:

 

 

 . . . . . . . . . .

 

  read(7, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) = 806
close(7)                                = 0
munmap(0xf7de1000, 4096)                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 7
fstat64(0x7, 0xffffc9d8)                = 0
mmap2(NULL, 21544, PROT_READ, MAP_SHARED, 7, 0x5428) = 0xfffffffff7ddc000
close(7)                                = 0
futex(0x74e14c, FUTEX_WAKE, 2147483647) = 0
fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=32913055943753729, le n=32606154760650866}) = 0
write(3, "# 0, 14424, Wed Nov 12 16:03:06 "..., 103) = 103
fcntl64(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=30064771073, len=33922 012481049848}) = 0
lseek(3, 0, SEEK_END)                   = 353423
close(3)                                = 0
open("/etc/vx/reconfig.d/slicer.lastlog", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat64(0, 0xffffd30c)                  = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) =  0xfffffffff7ddb000
read(0, "/dev/vx/dmp/sdc 125829120 64 32 "..., 4096) = 507
fstat64(0x3, 0xffffcd00)                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) =  0xfffffffff7dda000
write(3, "Entry dname:/dev/sda5 mpoint:/ f"..., 42) = 42
write(3, "Entry dname:/dev/sda1 mpoint:/bo"..., 46) = 46
write(3, "Entry dname:none mpoint:/dev/pts"..., 46) = 46
write(3, "Entry dname:none mpoint:/dev/shm"..., 45) = 45
write(3, "Entry dname:/dev/sda10 mpoint:/h"..., 47) = 47
write(3, "Entry dname:/dev/sda7 mpoint:/op"..., 45) = 45
write(3, "Entry dname:none mpoint:/proc fs"..., 41) = 41
write(3, "Entry dname:none mpoint:/sys fst"..., 41) = 41
write(3, "Entry dname:/dev/sda9 mpoint:/tm"..., 45) = 45
write(3, "Entry dname:/dev/sda6 mpoint:/us"..., 45) = 45
write(3, "Entry dname:/dev/sda8 mpoint:/va"..., 45) = 45
write(3, "Entry dname:/dev/sda2 mpoint:non"..., 45) = 45
read(0, "", 4096)                       = 0
write(3, "no existing public private\nno ov"..., 199) = 199
write(3, "ext_start=64253952, ext_end=1195"..., 64) = 64
write(3, "ext_start=64253952, ext_end=1195"..., 75) = 75
write(3, "ext_start=64253952, ext_end=1195"..., 75) = 75
write(3, "swap_shrink called for (64186368"..., 260) = 260
write(3, "Returning 1\nTrying for logical p"..., 312) = 312
write(3, "min_start: minpart=1, maxpart=4\n", 32) = 32
write(3, "max_end: minpart=1, maxpart=4\n", 30) = 30
write(3, "privnum=11, privstart=119472128,"..., 51) = 51
write(3, "pubnum=4, pubstart=32, pubend=11"..., 40) = 40
write(3, "Found public part# = 4, private "..., 105) = 105
fstat64(0x1, 0xffffce8c)                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) =  0xfffffffff7dd9000
write(3, "Next slice for 3 is 5\n", 22) = 22
write(3, "Ext: this: 64253952\nExt: next: 6"..., 62) = 62
write(3, "this: 64253984 4001760\nnext: 682"..., 69) = 69
write(3, "this: 68255776 16003040\nnext: 84"..., 69) = 69
write(3, "this: 84258848 8001504\nnext: 922"..., 68) = 68
write(3, "this: 92260384 8001504\nnext: 100"..., 70) = 70
write(3, "this: 100261920 4001760\nnext: 10"..., 73) = 73
write(3, "this: 104263712 14929888\nnext: 1"..., 71) = 71
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

 

 

---------------------------------------------------------------------

 

This bahaviour is on both 2 systems which we have tested (RedhatEL4.3, Veritas Storage Foundation 5.00, Oracle, SAP). When we installed a new system in this config, the sam diska layout, it works fine.

 

Any help is appricated.

 

Thanks

 

Lumir

 

 

 

 

 

 

 

0 REPLIES 0