public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: "Ingo Jürgensmann" <ij@2012.bluespice.org>
Cc: xfs@oss.sgi.com
Subject: Re: mkfs.xfs states log stripe unit is too large
Date: Sun, 24 Jun 2012 14:28:16 -0500	[thread overview]
Message-ID: <4FE76A50.2010902@hardwarefreak.com> (raw)
In-Reply-To: <4954261F-D4FB-4589-BE18-2BFCEC05E9B4@2012.bluespice.org>

On 6/24/2012 8:17 AM, Ingo Jürgensmann wrote:
> Am 24.06.2012 um 15:05 schrieb Stan Hoeppner:
> 
>> On 6/23/2012 9:20 PM, Eric Sandeen wrote:
>>> On 6/23/12 6:44 PM, Dave Chinner wrote:
>>>> On Sat, Jun 23, 2012 at 02:50:49PM +0200, Ingo Jürgensmann wrote:
>>>>> muaddib:~# cat /proc/mdstat 
>>>>> Personalities : [raid1] [raid6] [raid5] [raid4] 
>>>>> md7 : active raid5 sdf4[3] sdd4[1] sde4[0]
>>>>>      7811261440 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
>>                                               ^^^^^^^^^^
>>
>> The the log stripe unit mismatch error is a direct result of Ingo
>> manually choosing a rather large chunk size for his two stripe spindle
>> md array, yielding a 1MB stripe, and using an internal log with it.
>> Maybe there is a good reason for this, but I'm going to challenge it.
> 
> Correction: I did not manually choose that chunk size, but it was automatically chosen by mdadm when creating the RAID5. 
> 
>> The default md chunk size IIRC is 64KB, 8x smaller than Ingo's chunk.
> 
> 64k is the default for creating RAIDs with 0.90 format superblock. My RAID5 has a 1.2 format superblock. 
> 
>> Does backup PC perform better writing 2048 sectors per stripe write,
>> 1024 per spindle, with two spindles, than 256 sectors per stripe write,
>> 128 per spindle, using two spindles?
> 
> Don't know how BackupPC actually writes the data, but it does make extensive use of hardlinks to save some diskspace. Some sort of deduplicating, if you like to say it that way. 
> 
>>> Rule of Silence: When a program has nothing surprising to say, it should say nothing.
>> I think this goes to the heart of the matter.  Ingo chose an arbitrarily
>> large chunk size apparently without understanding the ramifications.
> 
> That's wrong! I've just worked with the defaults.  

At this point I get the feeling you're sandbagging us Ingo.  AFAIK you
have the distinction of being the very first person on earth to report
this problem.  This would suggest you're the first XFS user with an
internal log to use the mdadm defaults.  Do you think that's likely?

Thus, I'd guess that the metadata format changed from 0.90 to 1.2 with a
very recent release of mdadm.  Are you using distro supplied mdadm, a
backported more recent mdadm, or did you build mdadm from the most
recent source?

If either of the latter two, don't you think it would have been wise to
inform us that "hay, I'm using the bleeding edge mdadm just released"?
Or if you're using a brand new distro release?

-- 
Stan

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-06-24 19:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-23 12:50 mkfs.xfs states log stripe unit is too large Ingo Jürgensmann
2012-06-23 23:44 ` Dave Chinner
2012-06-24  2:20   ` Eric Sandeen
2012-06-24 13:05     ` Stan Hoeppner
2012-06-24 13:17       ` Ingo Jürgensmann
2012-06-24 19:28         ` Stan Hoeppner [this message]
2012-06-24 19:51           ` Ingo Jürgensmann
2012-06-24 22:15             ` Stan Hoeppner
2012-06-25  5:25               ` Ingo Jürgensmann
     [not found]                 ` <4FE8CEED.7070505@hardwarefreak.com>
2012-06-25 21:18                   ` Ingo Jürgensmann
2012-06-24 15:03       ` Ingo Jürgensmann
2012-06-26  2:30         ` Dave Chinner
2012-06-26  8:02           ` Christoph Hellwig
     [not found]             ` <20120702061827.GB16671@infradead.org>
2012-07-02  6:41               ` NeilBrown
2012-07-02  8:08                 ` Dave Chinner
2012-07-09 12:02                   ` kedacomkernel
2012-06-26 19:34           ` Ingo Jürgensmann
2012-06-27  2:06           ` Eric Sandeen
2012-06-25 10:33   ` Ingo Jürgensmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE76A50.2010902@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=ij@2012.bluespice.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox