Re: swidth with mdadm and RAID6

Shailendra Tripathi
2006-09-18T21:07:31Z

-shailendra

>Since I have a spare in there do you think it is starting with md.nr_disks
>= 11 and then subtracting two?
>
>
You can verify that very quickly by removing the spare_disks option and see it gives proper results.

>Thanks,
>
>Steve
>______________________________________________________________________
> Steve Cousins, Ocean Modeling Group Email: cousins@umit.maine.edu
> Marine Sciences, 452 Aubert Hall http://rocky.umeoce.maine.edu
> Univ. of Maine, Orono, ME 04469 Phone: (207) 581-4302
>
>On Mon, 18 Sep 2006, Shailendra Tripathi wrote:
>
>
>
>>Hi Steve,
>> Both of us are using old xfsprogs. It is handled in new
>>xfsprogs.
>>
>> */
>> switch (md.level) {
>> case 6:
>> md.nr_disks--;
>> /* fallthrough */
>> case 5:
>> case 4:
>> md.nr_disks--;
>> /* fallthrough */
>> case 1:
>> case 0:
>> case 10:
>> break;
>> default:
>> return 0;
>>
>>
>>Regards,
>>
>>Shailendra Tripathi wrote:
>>
>>