Birut Patel’s Weblog

May 30, 2008

Working with Solaris Volume Manager

Filed under: Sun Solaris OS — birutpatel @ 10:41 am

How to boot from SDS mirror disk
=======================================

 - c0t0d0 – rootdisk
 - c0t1d0 – mirrordisk

 - Find out the alias if any in eeprom
 - Boot from CD or jumpstart or anyway and mount the S0 of mirror disk.
 
 e.g. # mount /dev/dsk/c0t1d0s0 /mnt

 # vi /mnt/etc/vfstab

 modify all /dev/md/dsk/d0 ,d1, d2, d3 entries back to cxtxdxsx format.

 # vi /etc/system

 comment out rootdev:/pseudo/md@0:0,10,blk entry as below.

 * rootdev:/pseudo/md@0:0,10,blk

 # init 0 :go to ok prompt

 {0} ok boot mirrordisk

System Should come up normally.
Boot from main disk – root disk after mirror detach:
==========================================================

No modification required, system should boot normally

 

How to clear out all meta devices even from root disk:
==========================================================

 - detach mirror
 - clear mirror metadevices (submirrors)
 - modify /etc/vfstab and /etc/system in mirror disk, so incase you have to
   boot from mirror, you can boot from it.
 - modify /etc/vfstab and /etc/system same way as mirror disk, to completely
   clear md devices and change back to ctd format.

 

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.