Setting quota with xfs_quota for groups

Solution In Progress - Updated -

Issue

  • Need to set quota on xfs filesystem. Additionally want various groups with different quota restriction and each user assigned to group should have individually same amount of capacity how it was defined as group quota.
For example:
Group A with 10 GB has some users. (Each user in group A should have 10 GB capacity, same for other groups as well)
Group B with 15 GB has some other users. 
Group C with 5 GB compromises of rest of all user.
  • As group quota can be used only with primary group and a user id seems below, how would it be possible to do that instead of assigning all people one by one manually.

Environment

  • Red Hat Enterprise Linux 7
  • XFS
  • Quota

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content