XFS issue under 2.6.25.13 kernel

Sławomir Nowakowski
2008-08-22T10:02:23Z

Dear All,

We have a problem with implementing xfs file system for Linux. The problem
appears after mounting xfs file system on 2.6.25.13 kernel that is created on
2.6.17.13 kernel.

File system is created on logical volume in the following way:

lvcreate -L 4G volume1 -n test
mkfs.xfs /dev/volume1/test
mount /dev/volume1/test /mnt/x

After mounting it on 2.6.17.13 kernel "df -B 1" output looks like this:

/dev/volume1/test 4284481536 147456 4284334080 1% /mnt/x

but in case of 2.6.25.13 kernel:

/dev/volume1/test 4284481536 4489216 4279992320 1% /mnt/x

The same happens in case of 2.6.26.3 kernel.

As it is shown after mounting the volume in newer kernel size of file system
is visible smaller. The problem appears when on this volume exists one big
file, occupying all available space. After trying to mount it under newer
kernel, the file is cut because available free space is smaller.

Is it known issue and/or does solution or workaround exists?

Thank you in advance for your help.

Best Regards
Roland