in RHEL 8.9, I have a 100gb XFS formatted /home partition; all local user accounts in /etc/passwd have their home directories under /home. And all user accounts primary gid is and will always be 100 {users}.
I would like to apply a quota of 1GB per user on their /home account as an administration effort to manage data. I have 80 users currently in /etc/passwd can expect it to grow back up over 150.
I currently have in /etc/fstab
UUID=12345 /home xfs defaults,nodev,nosuid,uquota,gquota 0 0
- What are the correct arguments to pass to the
xfs_quotacommand? - If I have 80 users, do I have to do 80
xfs_quotacommands one for each account under/home? Or can it be done with one command instance? - should a
mount -o remount /homework? I'm finding it doesn't and either a successfulumountorrebootis needed. Will aumount -lwork? How dangerous is this on an active system with users logged in? - For all new users in the future, will a new
xfs_quotaneed to be performed on their home folder or is there a way to have it automatically applied?