reserved blocks pool default size

Dave Chinner david at fromorbit.com
Sun Jan 29 16:20:47 CST 2012


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.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list