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!
- Insert Solaris Installation CD in CD-ROM drive.
- Break to the ok> prompt.
- Boot to the CD-ROM: ok> boot cdrom -s
- 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)
- Ensure that Veritas won’t start when the system boots with this disk:
- 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
- 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.
- Boot the to the new device ok> boot
- 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.
Remove references to Vxvm in /mnt/etc/vfstab i.e. change /dev/vx/dsk/rootvol to /dev/dsk/c1t10d0 …