Re: mfiutil and raid level

From: Danilo G. Baio <dbaio_at_bsd.com.br>
Date: Tue, 04 Jan 2011 13:26:18 -0200
Em 04/01/2011 13:05, John Baldwin escreveu:
> On Tuesday, January 04, 2011 8:06:25 am Danilo G. Baio wrote:
>> Hi guys,
>>
>> mfiutil don't show raid level right with Perc H700.
>> Before to post i've read all /usr/src/usr.sbin/mfiutil
>> and sorry, i dont have the knowledge for that. :(
> 
> Can you get the output of 'mfiutil show debug' when compiled with DEBUG?
> 

Sorry... i forgot to post.

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 _at_ 0 : 975699968
    volume mfid1 RAID-1 OPTIMAL <DADOS>
      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 1 _at_ 0 : 285474816
        array 2 _at_ 0 : 285474816
noname#




I used this patch to compile with debug:

http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20101004/52f0782c/fix-mfiutil-debug.obj

-- 
Danilo G. Baio (dbaio)
Received on Tue Jan 04 2011 - 14:26:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC