metadb question (flags missing)

From: RoLinux (rolinux_at_online.ie)
Date: 08/25/05

  • Next message: Tom Crummey: "LDAP client library problems"
    To: sunmanagers@sunmanagers.org
    Date: Thu, 25 Aug 2005 10:50:51 +0100
    
    

    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


  • Next message: Tom Crummey: "LDAP client library problems"

    Relevant Pages

    • Re: unmirroring swap partition
      ... eventhough i could make unmointing of /. ... Submirror 0: d20 ... i want to remove d2 mirror with its submirror ...
      (comp.unix.solaris)
    • unmirroring swap partition
      ... Searching for disks...done ... Submirror 0: d20 ... i want to remove d2 mirror with its submirror ...
      (comp.unix.solaris)
    • Re: Live Upgrade.
      ... Initialize the new disk slice as metadevice d30 ... Initialize the new mirror device d1 using d30 as a submirror ... IF ALL IS WELL with the new BE, remove the d20 submirror from d0 ...
      (comp.unix.solaris)
    • How to break a mirror?
      ... I have some bad disks on (d20: Submirror of d30). ... d30: Mirror ...
      (comp.unix.solaris)
    • How to break a mirror?
      ... I have some bad disks on (d20: Submirror of d30). ... d30: Mirror ...
      (comp.sys.sun.admin)