On Thu, Dec 10, 2015 at 1:23 PM, Kok, Auke-jan H
On Thu, Dec 10, 2015 at 7:13 AM, Prateek Sharma
> Hello everyone,
> I am running clear containers on an ubuntu 15.10 host. I am using
> the docker interface. I seem to be able to launch the containers just
> fine ( lkvm runs, and I can run commands inside the containers).
> However, when I try running "apt-get update" inside the containers
> (ubuntu 14.04 standard docker image), I get a bunch of these errors:
> lsetxattr: Operation not supported
> fsetxattr: Operation not supported
> Here is the lkvm processes:
> 0 S root 5756 4951 33 80 0 - 519842 futex_ 09:54 pts/17
> 00:00:03 lkvm run -c 6 -m 1024 --name
> --console virtio --kernel /usr/lib/kernel/vmlinux.container --params
> root=/dev/plkvm0p1 rootfstype=ext4 rootflags=dax,data=ordered
> init=/usr/lib/systemd/systemd systemd.unit=container.target rw
> tsc=reliable systemd.show_status=false no_timer_check
> rcupdate.rcu_expedited=1 console=hvc0 quiet
> ip=172.17.0.2::172.17.0.1::7b65e78b9df5::off --shmem
> --network mode=tap,script=none,tapif=tb-7b65e78b9df5,guest_mac=02:42:ac:11:00:02
> Where should I start debugging this?
So, you are getting these errors from lkvm in the host, right?
I spot that you are using AUFS, and some googling shows me that aufs
has had issues with xattr support in the past:
Hmm, I have now switched to overlayfs to make this problem go away,
and it does. But there is now a new error:
E: Unable to determine file size for fd 7 - fstat (2: No such file or directory)
This seems to be plan-9-fs related.
What is the recommended storage engine/configuration for clear
containers? I presume that I am using DAX in my setup --- is there
some way to confirm that?