[Bug 1515615] Re: Disk quotas don't work in LXC containers
Serge Hallyn
1515615 at bugs.launchpad.net
Thu Nov 12 16:27:05 UTC 2015
Ok, I asked because according to mount(2) that option appears to be
ignored except for xfs filesystems.
If you look at /proc/self/mountinfo you'll see that usrquota is in fact
in the list of mount options, so lxc is respecting that.
At the moment your problem is that the device backing your rootfs,
/dev/lxc/test, does not exist in the container. Once you add that (for
instance using a lxc.mount.entry to bind it in or using a
lxc.hook.autodev), I suspect you'll run into other problems. I can't
get quota to be happy here using a loop-backed rootfs, but a real device
should get you further.
** Changed in: lxc (Ubuntu)
Status: New => Confirmed
** Changed in: lxc (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1515615
Title:
Disk quotas don't work in LXC containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1515615/+subscriptions
More information about the Ubuntu-server-bugs
mailing list