Root disk encapsulation fails after first reboot with vxmake error VxVM vxmake WARNING V-5-1-2136

Problem

Root disk encapsulation failure after 4.0 to 5.1 upgrade

 

Error Message

VxVM vxvm-reconfig INFO V-5-2-323 The Volume Manager is now reconfiguring (initialization phase)... VxVM vxvm-reconfig INFO V-5-2-497 Volume Manager:

Adding rootvol (c1t1d0) as an encapsulated disk. VxVM vxcap-vol INFO V-5-2-89 Adding volumes for c1t1d0...

VxVM vxmake WARNING V-5-1-2136 Search name rootvol-%%00 and type=3, found mismatch type 2
VxVM vxmake WARNING V-5-1-2136 Search name rootvol-%%00 and type=3, found mismatch type 2
VxVM vxmake ERROR V-5-1-10127 forming record name from template : Record not in disk group
VxVM vxvm-reconfig ERROR V-5-2-329 The creation of encapsulated volumes for c1t1d0 failed.
VxVM vxvm-reconfig ERROR V-5-2-361 The following disks failed encapsulation: c1t1d0

Solution

Manual reencapsulation needed as below -

1.  clear  public and private partiton  with tags 14 and 15 using  prtvtoc and format

# prtvtoc -h /dev/rdsk/c1t1d0s2
      0      2    00      81408  25175424  25256831
      1      3    01   25256832  10430400  35687231
      2      5    00          0 143349312 143349311
      3     15    01      10176     71232     81407                           ** private region
      4     14    01      81408 143267904 143349311                 ** public region

      6      2    00   98635968  41945472 140581439
      7      7    00   35687232  20982912  56670143

# format c1t0d0 
zero out slice 3 and 4 and label

2. Check /etc/vfstab and /etc/system for any entry for disk encapsulation bits , and remove or comment them out

3. re-encapsulate

# /etc/vx/bin/vxencap -c -g rootdg -f sliced rootdisk=c1t1d0
 

 


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)