Veritas VxVM : Booting Veritas root disk without VxVM, for maintenance

Volume Manager failed during the boot process, and we would like to boot from encapsulated root disk without vxvm.  This assumes that the root disk mirror has not been corrupted yet!

  1. Insert Solaris Installation CD in CD-ROM drive.
  2. Break to the ok> prompt.
  3. Boot to the CD-ROM: ok> boot cdrom -s
  4. When the system comes up, mount the root mirror or primary root disk (whichever has a bootable OS)as follows:
    • mount /dev/dsk/c1t10d0 /mnt                <– (boot disk)
  5. Ensure that Veritas won’t start when the system boots with this disk:
  6. remove VxVM entries in /mnt/etc/system:
    • “rootdev:/pseudo/vxio…” “set vxio:vol_rootdev_is…” – optionally, comment out “forceload drv/vx*”
    • rm /mnt/etc/vx/reconfig.d/state.d/root-done touch /mnt/etc/vx/reconfig.d/state.d/install-db

  7. Remove references to Vxvm in /mnt/etc/vfstab i.e. change /dev/vx/dsk/rootvol to /dev/dsk/c1t10d0 …

  8. Point eeprom to new boot device.ok> boot-device=/sbus@3,0/QLGC,isp@0,10000/sd@10,0:a The boot device varies quite a bit and Sun may need to assist on getting the correct device.
  9. Boot the to the new device ok> boot
  10. After the system is up and any changes have been made to correct the original problem, Use the vxinstall script to re-encapsulate the root device and start up Volume manager.  This will enable you to mount all of the non-root filesystems.
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us