| To: | Shailendra Tripathi <stripathi@xxxxxxxxx> |
|---|---|
| Subject: | Re: swidth with mdadm and RAID6 |
| From: | Steve Cousins <cousins@xxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 19 Sep 2006 15:22:16 -0400 (EDT) |
| Cc: | "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx> |
| In-reply-to: | <Pine.LNX.4.10.10609191335491.2460-100000@limpet.umeoce.maine.edu> |
| Reply-to: | cousins@xxxxxxxxxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: swidth with mdadm and RAID6, Steve Cousins |
|---|---|
| Next by Date: | Re: swidth with mdadm and RAID6, Steve Cousins |
| Previous by Thread: | Re: swidth with mdadm and RAID6, Steve Cousins |
| Next by Thread: | Re: swidth with mdadm and RAID6, Shailendra Tripathi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |