Replies: 3 comments 1 reply
-
I tried out the same but in the opposite order (where the second volume is smaller than the first volume). disclaimer: I haven't used quota with XFS before. I might be doing something wrong. |
Beta Was this translation helpful? Give feedback.
-
I am actually wondering how this is intended to be used as well but for the quotas created for individual containers. Containers are often ephemeral and usually referred to by name; the project IDs assigned to them are not predictable so I'm not sure how one is meant to assign a quota for one without monitoring for every start and dynamically setting the quotas. One might actually need to set the quota before the container starts. Perhaps Then I think that calculating a project ID based on the base project that
.. which does not have a specific project set up for Podman. When I create containers, Podman uses Project=1 for its base project ID and then creates containers that use Project 2 and Project 3 etc -- using quota that belongs to other uses within the system. This prevented podman from starting on some hosts recently as swap is generally full. I would suggest that Podman's manipulation and use of XFS quotas be an opt-in by default on machines with quotas enabled. I expect the magic instantiation of projects and especially the calculation of IDs is not what most system administrators expect.. |
Beta Was this translation helpful? Give feedback.
-
The use case is to create nonvolatile volumes without using additional external storage infrastructure. In particular, I refer to the instructions found here: I expected each volume to have its own xfs project-id and associated quota, but it does not. |
Beta Was this translation helpful? Give feedback.
-
I want to set a quota to podman volumes (using an XFS storage mounted with prjquota option) so I configured as documented here:
When I create the first volume it's all ok:
But when I create the second volume it does not create a second project id but only updates the quota of the first:
What am I doing wrong?
The following is my configuration using Podman provided by Ubuntu 22.04.
I had already tried with podman 4.6.2. using the Kubic packages but I got the same behavior.
Beta Was this translation helpful? Give feedback.
All reactions