How to manually unencapsulate a root disk

book

Article ID: 100002631

calendar_today

Updated On:

Description

Error Message

Various error messages may be encountered.

Cause

Various OS or Volume Manager based issues may cause boot failure

Resolution

* IN  EDIT  *

BACKGROUND

 

  • In versions 4.0 and above, the name of the boot drive disk group may be named to something other than rootdg.  This procedure will use rootdg as an example; please change the name as appropriate when using the procedure.

 

  • If data volumes have been created in rootdg (using boot disk subdisks), they will be lost using this procedure to remove rootdg objects (the creation of volumes in rootdg is not considered Best Practice)

 

SUMMARY

 

  1. Boot computer using CD/DVD, network or ram disk (failsafe).
  2. Clean boot slice (normaly slice 0) using fsck if necessary.
  3. Mount boot slice (s0) onto boot device (CD/DVD and ram disk boot uses /a for mount point).
  4. Verify slices on boot drive using prtvtoc.
  5. Modify /a/etc/vfstab file as appropriate to mount all slices as reported by prtcvtoc (step 4).
  6. Delete or comment the rootdev and vxvi lines in the /a/etc/system file
  7. cd /a/etc/vx/reconfig.d/state.d and remove the 0 length flag file root-done.
  8. Using the output from step 4, determine the two slices which have TAGS of 15 and 14.
  9. Use the OS format tool to zero the length and size of the 2 slices determined in step 8.
  10. Reboot the system to the hard disk.
  11. Using the mount command or something like df -k, validate that all boot drive slices have mounted to their respective mount point.

DETAILED  PROCEDURE

 

  1.  

 


Applies To

May differ.

Issue/Introduction

Normally, if a root disk needs to be unencapsulated, the mirror drive plexes would need to be dissassocciated and/or removed to "break" the mirror.  The vxunroot command would then be run to return boot control to the Operating System (Solaris slices/partions will be mounted).   If an encapsulated boot disk fails to boot and booting to the mirror fails, it may become necessary to manually unencapsulate the root drive.