[SunHELP] Disksuite - conflicting info
Magnus Abrante
sunhelp at sunhelp.org
Wed Feb 14 07:35:36 CST 2001
The metatool uses a deamon which is started from inetd (rpc.metad), in
Solaris 2.6 the path to this daemon should be something like /usr/opt/SUNWmd/sbin/rpc.metad. You will run into this problem if this daemon is removed from
inetd.conf or if its commented out.
Metastat and metadb are the trusted tools in this case :)
//Magnus Abrante
/* This is my opinion and not the one of my empolyer */
> > I have a Solaris 2.6 box running Disksuite to mirror all the
> > slices/filesystems between two physical disks, all off one controller (yes,
> > I realize this is sub-optimal, but the boxes are nodes in a
> > Stonebeat/Checkpoint cluster, so the failure of one isn't a drop dead
> > emergency, just a hassle).
> >
> > Anyway, from the command line, metastat and metadb tell me everything is OK,
> > as far as I can tell. However, I went into the graphical tool (metatool)
> > today, and everything is shown in a "critical" state. The problem appears to
> > be that metatool doesn't think that there are any valid state databases.
> >
> > So, who do I believe- and how should I CYA so that there are no/minimal
> > problems when I have to eventually reboot this machine?
> >
> > Output of appropriate commands below. . .sorry for the verbosity.
> >
> > TIA,
> >
> > Steve
> >
> > ./metadb -i
> >
> > flags first blk block count
> > a m p luo 16 1034 /dev/dsk/c0t0d0s4
> > a p luo 1050 1034 /dev/dsk/c0t0d0s4
> > a p luo 16 1034 /dev/dsk/c0t8d0s4
> > a p luo 1050 1034 /dev/dsk/c0t8d0s4
> >
> > 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/opt/SUNWmd/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
> >
> > ./metastat
> >
> > d2: Mirror
> > Submirror 0: d0
> > State: Okay
> > Submirror 1: d1
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 445284 blocks
> >
> > d0: Submirror of d2
> > State: Okay
> > Size: 445284 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s0 0 No Okay
> >
> > d1: Submirror of d2
> > State: Okay
> > Size: 445284 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s0 0 No Okay
> >
> > d5: Mirror
> > Submirror 0: d3
> > State: Okay
> > Submirror 1: d4
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 6144201 blocks
> >
> > d3: Submirror of d5
> > State: Okay
> > Size: 6144201 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s1 0 No Okay
> >
> > d4: Submirror of d5
> > State: Okay
> > Size: 6144201 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s1 0 No Okay
> >
> > d8: Mirror
> > Submirror 0: d6
> > State: Okay
> > Submirror 1: d7
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 1052163 blocks
> >
> > d6: Submirror of d8
> > State: Okay
> > Size: 1052163 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s3 0 No Okay
> >
> > d7: Submirror of d8
> > State: Okay
> > Size: 1052163 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s3 0 No Okay
> >
> > d11: Mirror
> > Submirror 0: d9
> > State: Okay
> > Submirror 1: d10
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 2847663 blocks
> >
> > d9: Submirror of d11
> > State: Okay
> > Size: 2847663 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s5 0 No Okay
> >
> > d10: Submirror of d11
> > State: Okay
> > Size: 2847663 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s5 0 No Okay
> >
> > d14: Mirror
> > Submirror 0: d12
> > State: Okay
> > Submirror 1: d13
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 6144201 blocks
> >
> > d12: Submirror of d14
> > State: Okay
> > Size: 6144201 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s6 0 No Okay
> >
> > d13: Submirror of d14
> > State: Okay
> > Size: 6144201 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s6 0 No Okay
> >
> > d17: Mirror
> > Submirror 0: d15
> > State: Okay
> > Submirror 1: d16
> > State: Okay
> > Pass: 1
> > Read option: roundrobin (default)
> > Write option: parallel (default)
> > Size: 1027026 blocks
> >
> > d15: Submirror of d17
> > State: Okay
> > Size: 1027026 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t0d0s7 0 No Okay
> >
> > d16: Submirror of d17
> > State: Okay
> > Size: 1027026 blocks
> > Stripe 0:
> > Device Start Block Dbase State Hot Spare
> > c0t8d0s7 0 No Okay
> >
> > Metatool log:
> >
> > 010213 12:00:13 MetaDB: No replicas.
> > MetaDB: One or more replicas are in an errored state.
> > MetaDB: All replicas are on fewer than 3 controllers.
> >
> >
> > 010213 12:00:13 d0: Slice "c0t0d0s0" has erred.
> >
> >
> > 010213 12:00:13 d1: Slice "c0t8d0s0" has erred.
> >
> >
> > 010213 12:00:13 d10: Slice "c0t8d0s5" has erred.
> >
> >
> > 010213 12:00:13 d11: No valid submirrors.
> >
> >
> > 010213 12:00:13 d12: Slice "c0t0d0s6" has erred.
> >
> >
> > 010213 12:00:13 d13: Slice "c0t8d0s6" has erred.
> >
> >
> > 010213 12:00:13 d14: No valid submirrors.
> >
> >
> > 010213 12:00:13 d15: Slice "c0t0d0s7" has erred.
> >
> >
> > 010213 12:00:13 d16: Slice "c0t8d0s7" has erred.
> >
> >
> > 010213 12:00:13 d17: No valid submirrors.
> >
> >
> > 010213 12:00:13 d2: No valid submirrors.
> >
> >
> > 010213 12:00:13 d3: Slice "c0t0d0s1" has erred.
> >
> >
> > 010213 12:00:13 d4: Slice "c0t8d0s1" has erred.
> >
> >
> > 010213 12:00:13 d5: No valid submirrors.
> >
> >
> > 010213 12:00:13 d6: Slice "c0t0d0s3" has erred.
> >
> >
> > 010213 12:00:13 d7: Slice "c0t8d0s3" has erred.
> >
> >
> > 010213 12:00:13 d8: No valid submirrors.
> >
> >
> > 010213 12:00:13 d9: Slice "c0t0d0s5" has erred.
> >
> > -----------------------------------------------------------------------
> > Steve Hatle
> > VUE - a Pearson company
> > shatle at vue.com
> > -----------------------------------------------------------------------
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list