What do you mean by "not using real device"?  The real lvm device is
mounted into the container.  However actually offering the device node
into the container would not be a safe default.  In particular, it
allows the container admin to write nonsense onto the device node,
feeding garbage into the in-kernel filesystem driver, and most likely
either DOS or gain privilege on the host.

If root in the container is trusted, then it should be possible to work
this out, but frankly noone seems to have wanted this yet.

There is probably an easier way to achieve what you want.  For instance,
setting up quotas on the host for the container users/filesystems.


** Changed in: lxc (Ubuntu)
   Importance: Low => Wishlist

** Changed in: lxc (Ubuntu)
       Status: Confirmed => Triaged

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to