xfs
[Top] [All Lists]

Re: swidth with mdadm and RAID6

To: cousins@xxxxxxxxxxxxxx
Subject: Re: swidth with mdadm and RAID6
From: Shailendra Tripathi <stripathi@xxxxxxxxx>
Date: Tue, 19 Sep 2006 02:36:38 +0530
Cc: "\"xfs@xxxxxxxxxxx\" <xfs@xxxxxxxxxxx>" <xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.10.10609181639000.1732-100000@limpet.umeoce.maine.edu>
References: <Pine.LNX.4.10.10609181639000.1732-100000@limpet.umeoce.maine.edu>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
-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@xxxxxxxxxxxxxx
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:




<Prev in Thread] Current Thread [Next in Thread>