I had initially posted this to sourceforge. repquota command only
returns those UIDs which are in /etc/passwd. Feature or bug? My server
ONLY runs
as an nfs server, which means 99% of my UIDs are foreign to the system
and are unresolvable. Of course, when putting a quota on a UID, it does
work fine -- its just not listed in repquota.
The quota maintainers replied:
This is a feature as on XFS quota utilities have no
possibility to get list of users with quotas and so
utilities just take users from passwd.
Is this true? Can we do something about this? I don't remember running
into this on SGI machines...
--Rob
------------------------------------------------------------
Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: repquota reporting
Initial Comment:
repquota command only returns those UIDs which are
in /etc/passwd. Feature or bug? My server ONLY runs
as an nfs server, which means 99% of my UIDs are
foreign to the system and are unresolvable.
[root@netapp2 /sbin]# repquota -F xfs -vau
*** Report for user quotas on
device /dev/data_group/lvol1
Block grace time: 7days; Inode grace time: 7days
Block limits
File limits
User used soft hard grace used
soft hard grace
-------------------------------------------------------
---------------
root -- 460 0 0
51 0 0
*** Status for user quotas on
device /dev/data_group/lvol1
Accounting: ON; Enforcement: ON
Inode: #26944 (203 blocks, 193 extents)
--- put UID #17428 in /etc/passwd ----
[root@netapp2 quota-tools]# repquota -F xfs -a
*** Report for user quotas on
device /dev/data_group/lvol1
Block grace time: 7days; Inode grace time: 7days
Block limits
File limits
User used soft hard grace used
soft hard grace
-------------------------------------------------------
---------------
root -- 460 0 0
51 0 0
testuser +- 109996 100000 110000 6days
6 0 0
----------------------------------------------------------------------
>Comment By: Jan Kara (jkar8572)
Date: 2001-08-23 07:29
Message:
Logged In: YES
user_id=83314
This is a feature as on XFS quota utilities have no
possibility to get list of users with quotas and so
utilities just take users from passwd.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=118136&aid=449992&group
_id=18136
|