mfiutil and raid level

Danilo G. Baio dbaio at bsd.com.br
Wed Jan 5 11:02:51 UTC 2011


Em 04/01/2011 14:37, John Baldwin escreveu:
> 
> Previous RAID-10 volumes that I've seen MFI BIOSes create used a non-zero 
> secondary raid level (they all used '3', which is what mfiutil uses to
> create RAID-10 volumes itself).
> 

Thank you for the answer,
i will use the array created with mfiutil...

Just for confirm, i´ve made more tests and more one time the array from
bios still stay with secondary raid level = 0 when creates a raid 10.


Creating with mfiutil, OK...

mfiutil create raid10 e1:s0,e1:s1 e1:s2,e1:s3
mfiutil name mfid1 DADOS

noname# mfiutil show volumes
mfi0 Volumes:
  Id     Size    Level   Stripe  State   Cache   Name
 mfid0 (  465G) RAID-1      64K OPTIMAL Disabled <SO>
 mfid1 (  272G) RAID-10     64K OPTIMAL Writes   <DADOS>


noname# ./mfiutil debug
mfi0 Configuration (Debug): 3 arrays, 2 volumes, 0 spares
  array size: 288
  volume size: 256
  spare size: 40
    array 0 of 2 drives:
      size = 975699968
        drive 4 ONLINE
          raw size: 976773168
          non-coerced size: 975724592
          coerced size: 975699968
        drive 5 ONLINE
          raw size: 976773168
          non-coerced size: 975724592
          coerced size: 975699968
    array 1 of 2 drives:
      size = 285474816
        drive 0 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
        drive 1 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
    array 2 of 2 drives:
      size = 285474816
        drive 2 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
        drive 3 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
    volume mfid0 RAID-1 OPTIMAL <SO>
      primary raid level: 1
      raid level qualifier: 0
      secondary raid level: 0
      stripe size: 7
      num drives: 2
      init state: 0
      consistent: 1
      no bgi: 0
      spans:
        array 0 @ 0 : 975699968
    volume mfid1 RAID-10 OPTIMAL <DADOS>
      primary raid level: 1
      raid level qualifier: 0
      secondary raid level: 3
      stripe size: 7
      num drives: 2
      init state: 0
      consistent: 0
      no bgi: 0
      spans:
        array 1 @ 0 : 285474816
        array 2 @ 0 : 285474816
noname#



------------------------------------------------------------

Creating with BIOS... secondary raid level = 0


noname# mfiutil show volumes
mfi0 Volumes:
  Id     Size    Level   Stripe  State   Cache   Name
 mfid0 (  465G) RAID-1      64K OPTIMAL Disabled <SO>
 mfid1 (  272G) RAID-1      64K OPTIMAL Disabled <NEWDADOS>

noname# ./mfiutil debug
mfi0 Configuration (Debug): 3 arrays, 2 volumes, 0 spares
  array size: 288
  volume size: 256
  spare size: 40
    array 0 of 2 drives:
      size = 975699968
        drive 4 ONLINE
          raw size: 976773168
          non-coerced size: 975724592
          coerced size: 975699968
        drive 5 ONLINE
          raw size: 976773168
          non-coerced size: 975724592
          coerced size: 975699968
    array 1 of 2 drives:
      size = 285474816
        drive 0 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
        drive 1 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
    array 2 of 2 drives:
      size = 285474816
        drive 2 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
        drive 3 ONLINE
          raw size: 286749480
          non-coerced size: 285700904
          coerced size: 285474816
    volume mfid0 RAID-1 OPTIMAL <SO>
      primary raid level: 1
      raid level qualifier: 0
      secondary raid level: 0
      stripe size: 7
      num drives: 2
      init state: 0
      consistent: 1
      no bgi: 0
      spans:
        array 0 @ 0 : 975699968
    volume mfid1 RAID-1 OPTIMAL <NEWDADOS>
      primary raid level: 1
      raid level qualifier: 0
      secondary raid level: 0
      stripe size: 7
      num drives: 2
      init state: 0
      consistent: 0
      no bgi: 0
      spans:
        array 1 @ 0 : 285474816
        array 2 @ 0 : 285474816
noname#

Screen from BIOS:

http://img808.imageshack.us/i/dellr510h70003lds.jpg/
http://img824.imageshack.us/i/dellr510h70002create.jpg/
http://img338.imageshack.us/i/dellr510h70001noarray.jpg/


Regards.

-- 
Danilo G. Baio (dbaio)


More information about the freebsd-current mailing list