Hello,
I have compiled nginx on ubuntu 12.04 but I’m seeing a really strange
error when I try and POST a file through nginx. I get a line in my logs
that says:
I don’t understand exactly how AUFS passes writev to the underlying
filesystem, but there might be some weird interaction with ZFS. I tried
with tmpfs, ext4, and btrfs, they all worked.
Then I wondered if it could have been caused by something special in
Docker, so I tried within a Docker container (not just in a manual AUFS
mount) - and it worked.
Would you mind trying with a non-ZFS backend? (I’m asking just because
it will be much faster for you to test with a non-ZFS backend, than for
me to re-install ZFS on my Linux machine :-))
The first one was I used -v /var/lib/nginx to create a volume which bind
mounted a zfs directory inside my container. This worked correctly.
I was about to suggest that as a workaround.
I’m glad that it worked!
The second was I created an ext4 partition and used docker -g to set the
graph path. When I tried my test again it worked. So it does seem to be
a strange interaction between AUFS and zfs.
I’m wondering why your setup is working but mine isn’t.
Indeed. I’m using ZFS on Linux with DKMS, as packaged by Debian:
ii spl-dkms 0.6.1-2
ii zfs-dkms 0.6.1-1~wheezy
The first one was I used -v /var/lib/nginx to create a volume which bind
mounted a zfs directory inside my container. This worked correctly.
The second was I created an ext4 partition and used docker -g to set the
graph path. When I tried my test again it worked. So it does seem to be
a strange interaction between AUFS and zfs.
I’m wondering why your setup is working but mine isn’t.