How to Create/Delete State Database Replicas
1. Creating the first state database replica # metadb -a -f c0t1d0s7 # metadb flags first blk block count … a u 16 8192 /dev/dsk/c0t1d0s7 Note: The -a option adds the additional state database replica to the system, and the -f option forces the creation of the first replica.
How to Check the Status of State Database Replicas (metadb)
1. To view the status of state database replicas. # metadb -i flags first blk block count a m p luo 16 8192 /dev/dsk/c1t0d0s7 a p luo 8208 8192 /dev/dsk/c1t0d0s7 W p luo 16 8192 /dev/dsk/c1t1d0s7 W p luo 8208 8192 /dev/dsk/c1t1d0s7
How to Recover Solaris OS when metadb is Corrupted
Netra 210, No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot X.XX.X, 1024 MB memory installed, Serial #XXXXXXX. Ethernet address X:X:XX:XX:XX:XX, Host ID: XXXXXX. ok boot Cannot mount root on /pseudo/md@0:0,0,blk fstype ufs panic[cpu0]/thread=140a000: vfs_mountroot: cannot mount root 0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 14581f0, 0) %l0-3: 000000000144bc00 000000000144bc00 0000000000002000 00000000014957a8 %l4-7: 000000000149b400 [...]

