Received: with ECARTIS (v1.0.0; list xfs); Tue, 19 Sep 2006 12:23:13 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k8JJN2aG032733 for ; Tue, 19 Sep 2006 12:23:03 -0700 X-ASG-Debug-ID: 1158693743-19056-941-0 X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from limpet.umeoce.maine.edu (limpet.umeoce.maine.edu [130.111.192.115]) by cuda.sgi.com (Spam Firewall) with ESMTP id F3448D176759 for ; Tue, 19 Sep 2006 12:22:23 -0700 (PDT) Received: from localhost (cousins@localhost) by limpet.umeoce.maine.edu (8.9.3/8.9.3) with ESMTP id PAA02665; Tue, 19 Sep 2006 15:22:16 -0400 Date: Tue, 19 Sep 2006 15:22:16 -0400 (EDT) From: Steve Cousins Reply-To: cousins@umit.maine.edu To: Shailendra Tripathi cc: "xfs@oss.sgi.com" X-ASG-Orig-Subj: Re: swidth with mdadm and RAID6 Subject: Re: swidth with mdadm and RAID6 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.21553 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 9027 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: cousins@limpet.umeoce.maine.edu Precedence: bulk X-list: xfs Content-Length: 576 Lines: 25 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