When in Matching mode, the rquotad service follows a specific order to find a match for relevant quota information:
- If rquotad returns quota information for a user, it returns the user's quota within the virtual volume if it exists;
- Otherwise, it moves to the user's file system quota if that exists;
- If no file system quota exists for the user, then it will move to the virtual volume quota.
In this manner, rquotad keeps checking until a quota is found for the specified user or group. Once the first matching quota is found, rquotad stops searching and returns the quota information.
If a user does not have a specifically defined quota in a virtual volume, or in a file system, and the virtual volume quota allows all users 100 K of data and 10 files, rquotad would return information stating that user's quota is 100 K of data and 10 files. Similarly, if the user has a specified virtual volume quota that is 200 K of data and 20 files, and a file system quota that is 400 K of data and 40 files, rquotad would return information about only the first quota, stating that 200 K of data and 20 files could be added.