-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Failed to limit disk quota when using driver grpquota #2789
Comments
Hi, do you have any idea about this problem? Thanks!!! |
delele this option |
Hi master @rudyfly, If I remove
pouchd error:
Because our services are running online now, it's difficult to format every servers so we want to use May I know if Alibaba uses grpquota on its online services? Thank you very much. |
So, you should reformat your disk with project,quota, this doc maybe helpful for you, https://blog.csdn.net/luckyapple1028/article/details/75754591, also you can see kernel docs. |
Ⅰ. Issue Description
I tried to limit my container disk quota with driver
grpquota
. But it was failed and raised error in log. My kernel version and quota-tools version are larger than requirements.Ⅱ. Describe what happened
I launched pouchd with comand
pouchd --quota-driver grpquota
and used the example command in [document] (https://github.com/alibaba/pouch/blob/6913f762e0a0acb0aca0a20677068858f734f8a4/docs/features/pouch_with_diskquota.md#container-rootfs-diskquota) to test it.But the rootfs was not limited in container.
And pouchd log shows error:
Ⅲ. Describe what you expected to happen
I excepted disk quota was limited like document shows.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
pouchd --quota-driver grpquota
pouch run -ti --disk-quota /=10g registry.hub.docker.com/library/busybox:latest df -h
Ⅴ. Anything else we need to know?
I'm using vagrant VM as test environment. My Vagrantfile is
Ⅵ. Environment:
pouch version
):uname -a
):My filesystem is ext4.
Besides, I tried to add a new disk and mount it to
/var/lib/pouch
and prevented to use rootfs. But it still didn't work.Thanks for your help.
The text was updated successfully, but these errors were encountered: