After checking the prerequisites ("Prerequisites for Maintaining DiskSuite Objects"), use the metadb(1M) command with the -i option to view the status of state database replicas. Refer to the metadb(1M) man page for more information.
# metadb -i flags first blk block count a u 16 1034 /dev/dsk/c4t3d0s2 a u 16 1034 /dev/dsk/c3t3d0s2 a u 16 1034 /dev/dsk/c2t3d0s2 o - state database replica active prior to last mddb configuration change u - state database replica is up to date l - locator for this state database replica was read successfully c - state database replica's location was in /etc/opt/SUNWmd/mddb.cf p - state database replica's location was patched in kernel m - state database replica is master, this is state database replica selected as input W - state database replica has device write errors a - state database replica is active, commits are occurring to this state database replica M - state database replica had problem with master blocks D - state database replica had problem with data blocks F - state database replica had format problems S - state database replica is too small to hold current data base R - state database replica had device read errors |
The characters in the front of the device name represent the status. All of the state database replicas in this example are active, as indicated by the a flag. A legend of all the flags follows the status.
Uppercase letters indicate a problem status. Lowercase letters indicate an "Okay" status.