The command vxbrk_mir hangs

Problem

When running vxbrk_mir in HP-UX to create a bootable mirror, after performing several steps, it hangs after:

 

"Setting dg_name field"

Error Message

aegis:> /etc/vx/bin/vxbrk_rootmir -vb c2t6d0
VxVM vxbrk_rootmir INFO V-5-2-4023 13:25: Checking specified disk(s) for presence and type
VxVM vxbrk_rootmir INFO V-5-2-4025 13:25: DA c2t6d0s2, DM rootdisk03 is a valid root mirror
VxVM vxbrk_rootmir INFO V-5-2-4052 13:25: Saving configuration data for later restoration
VxVM vxbrk_rootmir INFO V-5-2-4022 13:25: Breaking off root mirror on DA c2t6d0s2
VxVM vxbrk_rootmir INFO V-5-2-4054 13:25: Setting broken off mirror on c2t6d0s2 as unique root disk
VxVM vxbrk_rootmir INFO V-5-2-2566 13:25: Preparing disk c2t6d0s2 as a VxVM root disk
VxVM vxdisk ERROR V-5-1-558 Disk c2t6d0: Disk not in the configuration
VxVM vxbrk_rootmir INFO V-5-2-4046 13:25: Patching devnodes, fstab and volboot file in new Root FS
VxVM vxbrk_rootmir INFO V-5-2-4045 13:25: Patching /stand/bootconf file to contain new root disk
VxVM vxbrk_rootmir INFO V-5-2-4055 13:25: Setting dg_name field to rootdg.25820 on new root disk c2t6d0s2

 
aegis:> ps -ef |grep brk
    root  6722  9513  0 13:25:16 pts/2     0:00 /sbin/sh /etc/vx/bin/vxbrk_rootmir -vb c2t6d0
    root  8677 11349  0 13:43:40 pts/4     0:00 grep brk
aegis:> ptree 6722
1     init
  3161  /opt/ssh/sbin/sshd
    9485  sshd: bishal [priv]
      9495  sshd: bishal@pts/1
        9497  -ksh
          9511  sudosh
            9513  -ksh
              6722  /sbin/sh /etc/vx/bin/vxbrk_rootmir -vb c2t6d0
                7600  /etc/vx/diag.d/vxprivutil -D set /dev/rdsk/c2t6d0s2 dg_name=rootdg.25820 hostid=aegis autoimport

 
aegis:> truss -p 7600                       munmap(0x7effa000, 4096)                                   = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7effa000
munmap(0x7effb000, 4096)                                   = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7effb000

(note: this truss output is displayed repeatedly)

Solution

fixed in vm-hpux1123-5.0MP2RP3

fixed incident:

e1719779 (1468885) The vxbrk_rootmir script does not complete and is hanging after invoking vxprivutil


Applies To

PHCO_38830   1.0            VRTS 5.0 MP1RP6 VRTSvxvm Command Patch (MP2)
PHKL_38829    1.0            VRTS 5.0 MP1RP6 VRTSvxvm kernel Patch (MP2)
VRTSvxvm    5.0            Veritas Volume Manager by Symantec

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)