Disk quotas don't work in LXC containers
Bug #1515615 reported by
Anton Statutov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I'm trying to enable disk quotas in LXC container by adding option to its config:
lxc.rootfs.options = usrquota
After booting the container I'm trying to initialize quotas but getting the following error:
<email address hidden>:~# quotacheck -gum /
quotacheck: Cannot stat() mounted device /dev/lxc/test: No such file or directory
quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
Host OS: Ubuntu 15.04
Guest OS: Ubuntu 14.04.3 LTS
lxc 1.1.2-0ubuntu3.2
To post a comment you must log in.
What is the lxc.rootfs option? Does it point to an xfs backed device?