Disksuit Qestion ?? SUMMARY

From: Eddy Fafard (eddy@slimepuppy.apple.com)
Date: Thu Nov 12 1998 - 20:21:41 CST


Thanks to Seth Rothenberg and Ralph Dell

metareplace -e d9 c0t11d0s5 Was the answer...

Thanks Again Eddy

Original Question

I have an E250 running 2.6 w recomended patches with a patched version of
disksuit
VERSION: 4.1-FCS,REV=6.0. This is a new system and I am playing buiding
raids/mirrors
breaking them and fixing again. I have 4 disks built with raid 5 and have
hot spare pool
attached to it with one equal disk. So I go in and pull one of the
disks in the raid ( they are hot swappable)
and the hot spare kicks in resyncs and all is happy. So now I try to fix
it and place the drive back
in the sytem and would like to activate the new drive and put the spare
back in the pool,
So I try a metareplace and the following error.

bertha.apple.com ROOT [/] 77# metareplace d9 c0t11d0s5 c0t11d0s5
metareplace: bertha.apple.com: c0t11d0s5: has appeared more than once in
the specification of d9

 I figure I am replaceing the drive with the same one so this should work
... Then I try metareplace
 with the hot spare and get the same thing...
 
 bertha.apple.com ROOT [/usr/export/home1] 115# metareplace d9 c1t3d0s5
c0t11d0s5
metareplace: bertha.apple.com: c0t11d0s5: has appeared more than once in
the specification of d9

Here is a metastat of the metadevice d9

bertha.apple.com ROOT [/usr/export/home1] 116# metastat d9
d9: RAID
    State: Okay
    Hot spare pool: hsp000
    Interlace: 32 blocks
    Size: 53010342 blocks
Original device:
    Size: 53012928 blocks
        Device Start Block Dbase State Hot Spare
        c0t10d0s5 330 No Okay
        c0t11d0s5 330 No Okay c1t3d0s5
        c0t12d0s5 330 No Okay
        c0t9d0s5 330 No Okay

And here is the full metastat of the whole thing. I know I am missing
something real
easy here, but I have Sun Support Baffled.

Thanks in Advance, Eddy ..

Full metastat if its needed...

d16: Trans
    State: Okay
    Size: 53010342 blocks
    Master Device: d9
    Logging Device: d12

d9: RAID
    State: Okay
    Hot spare pool: hsp000
    Interlace: 32 blocks
    Size: 53010342 blocks
Original device:
    Size: 53012928 blocks
        Device Start Block Dbase State Hot Spare
        c0t10d0s5 330 No Okay
        c0t11d0s5 330 No Okay c1t3d0s5
        c0t12d0s5 330 No Okay
        c0t9d0s5 330 No Okay

d12: Logging device for d16
    State: Okay
    Size: 2042142 blocks

d12: Mirror
    Submirror 0: d10
      State: Okay
    Submirror 1: d11
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 2042400 blocks

d10: Submirror of d12
    State: Okay
    Size: 2046840 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c1t4d0s5 0 No Okay

d11: Submirror of d12
    State: Okay
    Size: 2043216 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c1t5d0s5 0 No Okay

d2: Mirror
    Submirror 0: d0
      State: Okay
    Submirror 1: d1
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 4475520 blocks

d0: Submirror of d2
    State: Okay
    Size: 4475520 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t0d0s0 0 No Okay

d1: Submirror of d2
    State: Okay
    Size: 4475520 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: 3073680 blocks

d3: Submirror of d5
    State: Okay
    Size: 3073680 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t0d0s1 0 No Okay

d4: Submirror of d5
    State: Okay
    Size: 3073680 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: 820800 blocks

d6: Submirror of d8
    State: Okay
    Size: 820800 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t0d0s3 0 No Okay

d7: Submirror of d8
    State: Okay
    Size: 820800 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t8d0s3 0 No Okay

hsp000: 1 hot spare
        c1t3d0s5 In use 17683680 blocks

                          \|||/
                          (o o)
#######################ooO-(.)-Ooo########################
# Ed Fafard #
# Apple Computer #
# eddy@slimepuppy.apple.com #
# 408-974-4747 Phone #
# 408-862-7210 Fax #
# .oooO #
# ( ) Oooo. #
######################\ (####( )########################
                       \_) ) /
                             (_/

 IF IT'S CALLED THE TOURIST SEASON, WHY CAN'T WE SHOOT THEM?

 24 hours in a day, 24 beers in a case - coincidence?? ... I think not !

"I'm as confused as a baby in a topless bar!"



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:52 CDT