[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Creating Quotas



 
 
     After you enable quotas, the aquota.* files must be populated by checkquota.
 
  Issue the following commands:
 
  # quotaoff -avug
  # quotacheck -avug
 ( If you receive a message about the file being truncated, run quotacheck again)
  # quotaon -avug
 
  It would be a good idea to run quotacheck -avug every so often to ensure the current system state is synced with the aquota files. Only run quotacheck if quota's are turned off.
-----Original Message-----
From: redhat-list-admin redhat com [mailto:redhat-list-admin redhat com]On Behalf Of Dan Egli
Sent: Wednesday, October 31, 2001 12:33 PM
To: redhat-list redhat com
Subject: Creating Quotas

Ok. I have a small question for anyone who knows.
 
I'm TRYING to set quotas for users on my system, but it's not working. I always get one of two errors, either:
 
Can't read quotafile header: No data available
 
or
Failed:  Invalid argument
You haven't probably converted old quotafiles to new ones. see convertquota(8) manpage.
 
This is diving me nuts. I have a 0 byte aquota.user file on my root directory (/aquota.user). If the file is not there, nothing works either. I am assuming that I have to create the data in the aquota.user file before I can edit quotas, but how do I do that? I've searched all over the web and nowhere does it deal with the new quota system. Only the old system (quota.user vs aquota.user)
 
What am I doing wrong? I'm stumped.
 
Thanks!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]