Stale State Database Replicas
Hi,
I have a mirror setup between c1t2d0s0 and c1t3d0s0 as d30. Submirror has come up as being unavailable and the metadb on this slice was in an "unknown" state, with a metastat giving me a "Stale state database replicas" warning. I removed the stale metadb's using metadb -d and recreated them, but the disk c1t2d0s0 (submirror 0) is still unavailable. The production file system is currently mounted to the disk device/not to the mirror.
Any suggestions to fix the "unavailable" disk? Could i just remove the mirror and re-create it without loosing data on the mounted disk /dev/dsk/c1t3d0s0?
See output below:
--
# metastat
****
WARNING: Stale state database replicas. Metastat output may be inaccurate.
****
d30: Mirror
Submirror 0: d10
State: Unavailable
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 143237376 blocks (68 GB)
d10: Submirror of d30
State: Unavailable
Size: 143237376 blocks (68 GB)
Stripe 0:
DeviceStart Block DbaseState Reloc Hot Spare
c1t2d0s0 0No-Yes
d20: Submirror of d30
State: Okay
Size: 143237376 blocks (68 GB)
Stripe 0:
DeviceStart Block DbaseState Reloc Hot Spare
c1t3d0s0 0NoOkayYes
hsp001: is empty
Device Relocation Information:
DeviceReloc Device ID
c1t3d0Yesid1,sd@SSEAGATE_ST373307LSUN72G_3HZ9AA1N000075123ZGF
# metadb -i
flagsfirst blkblock count
au 16 8192/dev/dsk/c1t2d0s7
au 82088192/dev/dsk/c1t2d0s7
au 16 8192/dev/dsk/c1t3d0s7
au 82088192/dev/dsk/c1t3d0s7
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

