← Back to team overview

touch-packages team mailing list archive

[Bug 1515615] [NEW] Disk quotas don't work in LXC containers

 

Public bug reported:

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:

root@xxxxxxxx:~# 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

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1515615

Title:
  Disk quotas don't work in LXC containers

Status in lxc package in Ubuntu:
  New

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:

  root@xxxxxxxx:~# 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1515615/+subscriptions


Follow ups