public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@sun.com>
To: Doug Hunley <doug@hunley.homeip.net>
Cc: linux-ext4@vger.kernel.org
Subject: Re: changing stride and stripe_width post-fs-creation?
Date: Tue, 20 Oct 2009 15:08:51 -0600	[thread overview]
Message-ID: <EA1A7036-FD43-4996-9665-E04FD32A449F@sun.com> (raw)
In-Reply-To: <7284e2210910201032h74cf437bm6043d97748ece4c9@mail.gmail.com>

On 20-Oct-09, at 11:32, Doug Hunley wrote:
> Is it safe to use tune2fs to alter stride and stripe_width on an ext4
> fs once it has been created? Any caveats I should know about? Thanks


The stride is mostly used at fs creation time, but there is no problem
with changing it.  The stripe_width is used by the allocator to align
file allocations with the RAID layout.

One question for Eric is whether the new libdisk patches he made will  
set
the stripe_width to something ridiculous like 512 or 4096 bytes, or if  
it
just leaves that field unset in that case.  I suspect it would be bad  
for
mballoc to see the stripe_width be such a small value.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


  reply	other threads:[~2009-10-20 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 17:32 changing stride and stripe_width post-fs-creation? Doug Hunley
2009-10-20 21:08 ` Andreas Dilger [this message]
2009-10-20 21:16   ` Eric Sandeen
2009-10-20 21:30     ` Andreas Dilger

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=EA1A7036-FD43-4996-9665-E04FD32A449F@sun.com \
    --to=adilger@sun.com \
    --cc=doug@hunley.homeip.net \
    --cc=linux-ext4@vger.kernel.org \
    /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