Re: [lustre-discuss] setting quotas from within a container

2023-10-23 Thread Lisa Gerhardt via lustre-discuss
Okay, turns out that even if you can write files as root, you need to add "--privileged" to the podman invocation to get "lfs setquota" to work. When I do that, everything works. Thanks all for the help! Lisa On 10/23/23 9:48 AM, Lisa Gerhardt wrote: Hi Andreas, Unfortunately, the management

Re: [lustre-discuss] setting quotas from within a container

2023-10-23 Thread Lisa Gerhardt via lustre-discuss
Hi Andreas, Unfortunately, the management of our cluster is very favored towards running these kinds of things in containers, so I don't have a lot of choice there. I am able to create files from inside the container that show as owned by root outside the container, so I think it's not a uid

Re: [lustre-discuss] setting quotas from within a container

2023-10-21 Thread Andreas Dilger via lustre-discuss
Hi Lisa, The first question to ask is which Lustre version you are using? Second, are you using subdirectory mounts or other UID/GID mapping for the container? That could happen at both the Lustre level or by the kernel itself. If you aren't sure, you could try creating a new file as root insid

[lustre-discuss] setting quotas from within a container

2023-10-21 Thread Lisa Gerhardt via lustre-discuss
Hello, I'm trying to set user quotas from within a container run as root. I can successfully do things like "lfs setstripe", but "lfs setquota" fails with lfs setquota: quotactl failed: Operation not permitted setquota failed: Operation not permitted I suspect it might have something to do with h