[Top] [All Lists]

Re: reserved blocks pool default size

To: Łukasz Oleś <lukasz.oles@xxxxxxxxxx>
Subject: Re: reserved blocks pool default size
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 30 Jan 2012 09:20:47 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4F22843E.4050804@xxxxxxxxxx>
References: <4F22843E.4050804@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Jan 27, 2012 at 12:02:22PM +0100, Łukasz Oleś wrote:
> Hi,
> I updated kernel from 2.6.27 to 2.6.35 and noticed that free size on
> my xfs volume changed. Before update there was 7MB free space, now
> there is none.
> After some investigation I found that default size for reserved
> block pool changed [1].
> On this volume I have one very big file which is exported as iSCSI
> disk via SCST and one small configuration file. The big file size
> will never change. Small file size can change only by some KB.
> With this assumptions, can I revert this change and set reserved
> blocks pool size to 1024 blocks?

xfs_io -c "resblks 1024" <mntpt/one-very-big-file>

after the filesystem is mounted will set the reserve block pool back
to the 1024 blocks you had before.


Dave Chinner

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