metadb question (flags missing)

From: RoLinux (rolinux@online.ie)
Date: Thu Aug 25 2005 - 05:50:51 EDT


Hi
We had a failure on a raid 1 software configuration on a Netra t1.
We changed the hard drive, done the repartition, used metareplace, used "metadb -d" and "metadb -c 2 -a"
but the metadb is not showing the correct info (we need the L and O flags for the second hard disk).

AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1,1/scsi@2/sd@0,0
       1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,0/pci@1,1/scsi@2/sd@1,0

Before failure the metadb and metastat output (from BigBrother) was:

        flags first blk block count
     a m p luo 16 1034 /dev/dsk/c0t0d0s3
     a p luo 1050 1034 /dev/dsk/c0t0d0s3
     a p luo 16 1034 /dev/dsk/c0t1d0s3
     a p luo 1050 1034 /dev/dsk/c0t1d0s3

d10: Mirror
d11: Submirror of d10
      Device Start Dbase State Hot Spare Time
      c0t0d0s0 0 No Okay Wed Sep 20 00:43:45 2000
d12: Submirror of d10
      Device Start Dbase State Hot Spare Time
      c0t1d0s0 0 No Okay Wed Sep 20 00:43:56 2000
d20: Mirror
d21: Submirror of d20
      Device Start Dbase State Hot Spare Time
      c0t0d0s1 0 No Okay Wed Sep 20 01:06:16 2000
d22: Submirror of d20
      Device Start Dbase State Hot Spare Time
      c0t1d0s1 0 No Okay Wed Sep 20 01:06:26 2000
d60: Mirror
d61: Submirror of d60
      Device Start Dbase State Hot Spare Time
      c0t0d0s5 0 No Okay Wed Sep 20 01:06:54 2000
d62: Submirror of d60
      Device Start Dbase State Hot Spare Time
      c0t1d0s5 0 No Okay Wed Sep 20 01:07:10 2000

After the replacement the metadb and metastat output (from BigBrother) is:

        flags first blk block count
     a m p luo 16 1034 /dev/dsk/c0t0d0s3
     a p luo 1050 1034 /dev/dsk/c0t0d0s3
     a u 16 1034 /dev/dsk/c0t1d0s3
     a u 1050 1034 /dev/dsk/c0t1d0s3

d10: Mirror
d11: Submirror of d10
      Device Start Dbase State Hot Spare Time
      c0t0d0s0 0 No Okay Wed Sep 20 00:43:45 2000
d12: Submirror of d10
      Device Start Dbase State Hot Spare Time
      c0t1d0s0 0 No Okay Wed Aug 03 18:15:17 2005
d20: Mirror
d21: Submirror of d20
      Device Start Dbase State Hot Spare Time
      c0t0d0s1 0 No Okay Wed Sep 20 01:06:16 2000
d22: Submirror of d20
      Device Start Dbase State Hot Spare Time
      c0t1d0s1 0 No Okay Wed Aug 03 17:45:39 2005
d60: Mirror
d61: Submirror of d60
      Device Start Dbase State Hot Spare Time
      c0t0d0s5 0 No Okay Wed Sep 20 01:06:54 2000
d62: Submirror of d60
      Device Start Dbase State Hot Spare Time
      c0t1d0s5 0 No Okay Wed Aug 03 17:29:57 2005

We are missing the L and O flags on the second hard drive.

Can you please help me understand what steps have to be done to solve the problem?

Thank you,
Radu
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:23 EDT