State Database Replicas Status

On systems using Solaris Volume Manager (SVM), use the following command to inspect state database replicas and display the flag legend.
# 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.

In this example, the W flags on c1t1d0s7 indicate write errors. Investigate the affected storage and verify replica availability before restarting the host or changing the configuration. See Oracle Solaris Volume Manager documentation.

You May Also Like

Leave a Reply?