Vasily Tarasov
2017-06-07 20:13:36 UTC
Hi J. R. and others,
I'm using aufs in Docker environment and experience the following problem:
1. Writing in the *middle* of the file fails from inside the container with
ENOSUP error. Writes do work without errors if I overwrite the whole file
from the start.
2. Underlying file system is XFS. If I use Ext4 it works.
3. My aufs version is 4.x-rcN-20170522, kernel version is 4.11.3 (see more
details in the end of the e-mail).
Before, I dig deeper, I wonder you have any ideas on what can be the reason?
Some setup details (sorry for not providing more):
$ cat /sys/module/aufs/version
4.x-rcN-20170522
$ uname -a
Linux localhost 4.11.3-1.el7.centos.x86_64 #1 SMP Sat May 27 00:19:26 EDT
2017 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep 4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-libs-devel-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-headers-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-libs-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-devel-4.11.3-1.el7.centos.x86_64
$ cat /boot/config-4.11.3-1.el7.centos.x86_64 | grep AUFS
CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
CONFIG_AUFS_EXPORT=y
CONFIG_AUFS_INO_T_64=y
CONFIG_AUFS_XATTR=y
CONFIG_AUFS_FHSM=y
# CONFIG_AUFS_RDU is not set
# CONFIG_AUFS_SHWH is not set
CONFIG_AUFS_BR_RAMFS=y
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
# CONFIG_AUFS_BR_HFSPLUS is not set
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set
Thank you!
Vasily
I'm using aufs in Docker environment and experience the following problem:
1. Writing in the *middle* of the file fails from inside the container with
ENOSUP error. Writes do work without errors if I overwrite the whole file
from the start.
2. Underlying file system is XFS. If I use Ext4 it works.
3. My aufs version is 4.x-rcN-20170522, kernel version is 4.11.3 (see more
details in the end of the e-mail).
Before, I dig deeper, I wonder you have any ideas on what can be the reason?
Some setup details (sorry for not providing more):
$ cat /sys/module/aufs/version
4.x-rcN-20170522
$ uname -a
Linux localhost 4.11.3-1.el7.centos.x86_64 #1 SMP Sat May 27 00:19:26 EDT
2017 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep 4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-libs-devel-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-headers-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-tools-libs-4.11.3-1.el7.centos.x86_64
kernel-ml-aufs-devel-4.11.3-1.el7.centos.x86_64
$ cat /boot/config-4.11.3-1.el7.centos.x86_64 | grep AUFS
CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
CONFIG_AUFS_EXPORT=y
CONFIG_AUFS_INO_T_64=y
CONFIG_AUFS_XATTR=y
CONFIG_AUFS_FHSM=y
# CONFIG_AUFS_RDU is not set
# CONFIG_AUFS_SHWH is not set
CONFIG_AUFS_BR_RAMFS=y
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
# CONFIG_AUFS_BR_HFSPLUS is not set
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set
Thank you!
Vasily