On Tue, Nov 18, 2014 at 06:05:58PM +0530, Mukul Malhotra wrote:
> Does xfs have reserved blocks too, like ext* ? if yes, how can they be
> determined ?â
XFS reserves blocks internally such that it can perform operations when
all free space is consumed, etc. It looks like 5% is the default.
I don't think it's "like ext4," however, which reserves blocks for the
root user. I don't believe the reserved blocks in XFS are accessible for
file allocation by any user unless the reserve pool is modified as such.
> Can you provide the specific command.
The following command can get/set the reserved block count on an active
xfs_io -x -c "resblks" <mnt>
Note that this can lead to problems if reduced too much and all space is
consumed, as sometimes block allocation is required to perform space
freeing operations (removing a file, etc.). This is probably a reason
the resblks command is only available in xfs_io expert mode. ;)
> xfs mailing list