Re: swidth with mdadm and RAID6

Steve Cousins
2006-09-19T19:23:13Z

On Tue, 19 Sep 2006, Steve Cousins wrote:

> This is a 2.6.17 kernel. So, with this in mind, is there a change that I
> should try in libdisk/md.c? Tim had suggested:
>
> s/nr_disks/raid_disks/
>
> Would this be sufficient? Or should nr_disks be initialized as raid_disks
> and then go into the switch clause?

I ended up just adding:

md.nr_disks = md.raid_disks;

right be fore the switch statement and it worked fine in my situation.
Not sure how this would work with other kernels etc. but I'll let you
figure that out.

Thanks very much for your help.

Steve