public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Foster <bfoster@redhat.com>
To: Michael Weissenbacher <mw@dermichi.com>
Cc: xfs@oss.sgi.com
Subject: Re: Is it possible to change sunit of log section post-mkfs
Date: Tue, 3 Nov 2015 14:39:48 -0500	[thread overview]
Message-ID: <20151103193948.GD24445@bfoster.bfoster> (raw)
In-Reply-To: <56390979.2090509@dermichi.com>

On Tue, Nov 03, 2015 at 08:22:33PM +0100, Michael Weissenbacher wrote:
> Hi Brian!
> 
> On 2015-11-03 14:02, Brian Foster wrote:
> > I don't believe there's any supported way to do this.
> Well, at least i didn't miss anything in the documentation :-)
> 
> On 2015-11-03 14:02, Brian Foster wrote:
> > Out of curiosity,
> > I just tried an experiment to modify the superblock logsunit via xfs_db
> > and run repair to zero the log. That seemed to work in terms of taking
> > effect on the subsequent mount, but that's certainly not something I
> > would suggest to do in production.
> Ok, so it would definitely be too risky for a production system.
> 
> On 2015-11-03 14:02, Brian Foster wrote:
> > Note that mkfs aligns the physical
> > log based on the stripe unit as well, so it wouldn't really have the
> > same effect anyways.
> TBH, i didn't quite understand that part :-)
> Are you saying, even if i would modify the log's sunit size using
> xfs_db, it would still not be aligned correctly?
> 

Yes, exactly. mkfs uses the log stripe unit to decide where to put the
log on disk. If the log itself is not aligned, then there's little use
in aligning the writes to the log.

Brian

> thanks,
> Michael
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

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

  reply	other threads:[~2015-11-03 19:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 12:18 Is it possible to change sunit of log section post-mkfs Michael Weissenbacher
2015-11-03 13:02 ` Brian Foster
2015-11-03 19:22   ` Michael Weissenbacher
2015-11-03 19:39     ` Brian Foster [this message]
2015-11-03 19:11 ` Dave Chinner
2015-11-03 19:32   ` Michael Weissenbacher
2015-11-03 19:48     ` Dave Chinner

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=20151103193948.GD24445@bfoster.bfoster \
    --to=bfoster@redhat.com \
    --cc=mw@dermichi.com \
    --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