State Database Replicas Status

1. To check 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

r - replica does not have device relocation information
o - replica active prior to last mddb configuration change
u - replica is up to date
l - locator for this replica was read successfully
c - replica's location was in /etc/lvm/mddb.cf
p - replica's location was patched in kernel
m - replica is master, this is replica selected as input
W - replica has device write errors
a - replica is active, commits are occurring to this replica
M - replica had problem with master blocks
D - replica had problem with data blocks
F - replica had format problems
S - replica is too small to hold current data base
R - replica had device read errors

Additional note:
Uppercase letters indicate a problem status. Lowercase letters indicate an okay status.

You May Also Like

Leave a Reply?