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

2022-02-02 Thread Stéphane Graber
@brauner do you know what's the state of quotas in a VFS idmapped shifted world? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1515615 Title: Disk quotas don't work in LXC containers To manage

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

2015-11-13 Thread Serge Hallyn
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

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

2015-11-13 Thread Serge Hallyn
Once Seth's work enabling mounting inside containers is complete, we'll most likely want some way of enabling quotas, so leaving this open as a wishlist (feature request/enhancement) item. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

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

2015-11-13 Thread Serge Hallyn
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

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

2015-11-13 Thread Serge Hallyn
Once Seth's work enabling mounting inside containers is complete, we'll most likely want some way of enabling quotas, so leaving this open as a wishlist (feature request/enhancement) item. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed

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

2015-11-13 Thread Anton Statutov
You are right, I have got other problems after adding the device to the container. I see it is possible to get quota working, but it's too tricky and unpredictrable for production use. I'm wondering why LXC is not using real device by default for LVM (XFS etc.)? -- You received this bug

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

2015-11-13 Thread Anton Statutov
You are right, I have got other problems after adding the device to the container. I see it is possible to get quota working, but it's too tricky and unpredictrable for production use. I'm wondering why LXC is not using real device by default for LVM (XFS etc.)? -- You received this bug

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

2015-11-12 Thread Anton Statutov
As LXC manpage states the 'lxc.rootfs.optionst' option is "extra mount options to use when mounting the rootfs". In my case this is an LVM device. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1515615

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

2015-11-12 Thread Anton Statutov
As LXC manpage states the 'lxc.rootfs.optionst' option is "extra mount options to use when mounting the rootfs". In my case this is an LVM device. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

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

2015-11-12 Thread Serge Hallyn
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

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

2015-11-12 Thread Serge Hallyn
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