xfs
[Top] [All Lists]

Re: Is it possible to change sunit of log section post-mkfs

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: Is it possible to change sunit of log section post-mkfs
From: Michael Weissenbacher <mw@xxxxxxxxxxxx>
Date: Tue, 3 Nov 2015 20:22:33 +0100
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20151103130246.GA24445@xxxxxxxxxxxxxxx>
References: <5638A62D.1020802@xxxxxxxxxxxx> <20151103130246.GA24445@xxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
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?

thanks,
Michael

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