From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 43AB37FAE for ; Tue, 3 Nov 2015 13:39:52 -0600 (CST) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id 1452330404E for ; Tue, 3 Nov 2015 11:39:51 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id sGbao05d9SiMccVu (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 03 Nov 2015 11:39:50 -0800 (PST) Date: Tue, 3 Nov 2015 14:39:48 -0500 From: Brian Foster Subject: Re: Is it possible to change sunit of log section post-mkfs Message-ID: <20151103193948.GD24445@bfoster.bfoster> References: <5638A62D.1020802@dermichi.com> <20151103130246.GA24445@bfoster.bfoster> <56390979.2090509@dermichi.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <56390979.2090509@dermichi.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Michael Weissenbacher Cc: xfs@oss.sgi.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