Score:0

Update default XFS quotas to all existing users?

vn flag

How can I update existing default user quotas on XFS if I already have a default value defined?

For example: I have a home directory with existing user quota defined and now I've upgraded it with the following command:

xfs_quota -x -c "limit bsoft=2048m bhard=2304m -d" /home

But after running the old quotas are still in place, only root got updated:

root@northshire:/home# xfs_quota -x -c "report -h"
User quota on /home (/dev/xvdb1)
                        Blocks              
User ID      Used   Soft   Hard Warn/Grace   
---------- --------------------------------- 
root          40K     2G   2.2G  00 [------]
user         1.7M     1G   1.1G  00 [------]

How can I delete/refresh the old quota information and apply the new one for all existing users?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.