Gavin_Peng 发表于 2007-11-08 12:16

solaris volume manager do RAID 1+0 failed

solaris volume manager raid 1+0 failed and do raid 0+1
1.hardware:se3310 (8x146G),V490
software:Soloris volume manager ,solaris 10
2.when build the mirror ,then stripe and concation report error
root@V490
# metastat d39
d39: Mirror
    Submirror 0: d19
      State: Okay         
    Submirror 1: d29
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 286413696 blocks (136 GB)
d19: Submirror of d39
    State: Okay         
    Size: 286413696 blocks (136 GB)
    Stripe 0:
      Device      Start BlockDbase      State Reloc Hot Spare
      c2t12d0s0          0   No            Okay   Yes
d29: Submirror of d39
    State: Okay         
    Size: 286413696 blocks (136 GB)
    Stripe 0:
      Device      Start BlockDbase      State Reloc Hot Spare
      c2t13d0s0          0   No            Okay   Yes
root@V490
#metainit d40 1 4 /dev/md/dsk/d39 /dev/md/dsk/d38 /dev/md/dsk/d37 /dev/md/dsk/d36
         error:         d39 is metadevice
         
root@V490
# metaclear -f -r d39
d39: Mirror is cleared
d19: Concat/Stripe is cleared
d29: Concat/Stripe is cleared
root@V490
# metaclear -f -r d38
root@V490
# metaclear -f -r d37
root@V490
# metaclear -f -r d36
root@V490
# metainit d99 1 4 /dev/dsk/c2t4d0s0 /dev/dsk/c2t5d0s0 /dev/dsk/c2t8d0s0 /dev/dsk/c2t9d0s0
d99: Concat/Stripe is setup
root@V490
# metainit d98 1 4 /dev/dsk/c2t10d0s0 /dev/dsk/c2t11d0s0 /dev/dsk/c2t12d0s0 /dev/dsk/c2t13d0s0
d98: Concat/Stripe is setup
root@V490
# metainit d100 -m d99
d100: Mirror is setup
root@V490
# metattach d100 d98
d100: submirror d98 is attached
root@V490
# metastat d100
d100: Mirror
    Submirror 0: d99
      State: Okay         
    Submirror 1: d98
      State: Resyncing   
    Resync in progress: 0 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1145573376 blocks (546 GB)
d99: Submirror of d100
    State: Okay         
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device   Start BlockDbase      State Reloc Hot Spare
      c2t4d0s0          0   No            Okay   Yes
      c2t5d0s0      20352   No            Okay   Yes
      c2t8d0s0      20352   No            Okay   Yes
      c2t9d0s0      20352   No            Okay   Yes
d98: Submirror of d100
    State: Resyncing   
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device      Start BlockDbase      State Reloc Hot Spare
      c2t10d0s0          0   No            Okay   Yes
      c2t11d0s0      20352   No            Okay   Yes
      c2t12d0s0      20352   No            Okay   Yes
      c2t13d0s0      20352   No            Okay   Yes
Device Relocation Information:
Device    Reloc Device ID
c2t4d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VRC____AAC0P5703VRC
c2t5d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03WH8____AAC0P5703WH8
c2t8d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024PH____
c2t9d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J9____
c2t10d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024HS____
c2t11d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024BT____
c2t12d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J1____
c2t13d0   Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VGF____AAC0P5703VGF
root@V490
# metastat d100
d100: Mirror
    Submirror 0: d99
      State: Okay         
    Submirror 1: d98
      State: Resyncing   
    Resync in progress: 0 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1145573376 blocks (546 GB)
d99: Submirror of d100
    State: Okay         
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device   Start BlockDbase      State Reloc Hot Spare
      c2t4d0s0          0   No            Okay   Yes
      c2t5d0s0      20352   No            Okay   Yes
      c2t8d0s0      20352   No            Okay   Yes
      c2t9d0s0      20352   No            Okay   Yes
d98: Submirror of d100
    State: Resyncing   
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device      Start BlockDbase      State Reloc Hot Spare
      c2t10d0s0          0   No            Okay   Yes
      c2t11d0s0      20352   No            Okay   Yes
      c2t12d0s0      20352   No            Okay   Yes
      c2t13d0s0      20352   No            Okay   Yes
Device Relocation Information:
Device    Reloc Device ID
c2t4d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VRC____AAC0P5703VRC
c2t5d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03WH8____AAC0P5703WH8
c2t8d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024PH____
c2t9d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J9____
c2t10d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024HS____
c2t11d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024BT____
c2t12d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J1____
c2t13d0   Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VGF____AAC0P5703VGF
root@V490
# metastat d100
d100: Mirror
    Submirror 0: d99
      State: Okay         
    Submirror 1: d98
      State: Resyncing   
    Resync in progress: 0 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1145573376 blocks (546 GB)
d99: Submirror of d100
    State: Okay         
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device   Start BlockDbase      State Reloc Hot Spare
      c2t4d0s0          0   No            Okay   Yes
      c2t5d0s0      20352   No            Okay   Yes
      c2t8d0s0      20352   No            Okay   Yes
      c2t9d0s0      20352   No            Okay   Yes
d98: Submirror of d100
    State: Resyncing   
    Size: 1145573376 blocks (546 GB)
    Stripe 0: (interlace: 32 blocks)
      Device      Start BlockDbase      State Reloc Hot Spare
      c2t10d0s0          0   No            Okay   Yes
      c2t11d0s0      20352   No            Okay   Yes
      c2t12d0s0      20352   No            Okay   Yes
      c2t13d0s0      20352   No            Okay   Yes
Device Relocation Information:
Device    Reloc Device ID
c2t4d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VRC____AAC0P5703VRC
c2t5d0    Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03WH8____AAC0P5703WH8
c2t8d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024PH____
c2t9d0    Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J9____
c2t10d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024HS____
c2t11d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024BT____
c2t12d0   Yes   id1,sd@SFUJITSU_MAP3147N_SUN146G00R024J1____
c2t13d0   Yes   id1,sd@SFUJITSU_MAT3147N_SUN146G000528C03VGF____AAC0


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52003/showart_417445.html
页: [1]
查看完整版本: solaris volume manager do RAID 1+0 failed