RH71: Confused Quotas - quotaon looking for quota.user, edquota looking for aquota.user

RH71: Confused Quotas - quotaon looking for quota.user, edquota looking for aquota.user

Post by Andrew Oakl » Thu, 01 Nov 2001 00:27:12



I'm trying to use quota on Linux Red Hat 7.1 . I have the latest
updated quota and initscripts RPMs. fstab has the correct filesystems
marked with usrquota .

When I issue edquota -u bob , I can edit bob's quotas fine.
aquota.user is created fine.

However, when I reboot or turn on quotas using quotaon -a , it
complains that user.quota does not exist.

ie. edquota is using aquota.user but quotaon is looking for quota.user

If I touch user.quota then quotaon complains that there is an invalid
argument in quota.user . But edquota doesn't edit quota user, it edits
aquota.user! Arrghhh!

What the arse is going on, and how can I fix this please? Thanks
muchly.

quotacheck -m works fine.
repquota works fine and shows the quotas I set up using edquota
Quotas are NOT enforced by the system - can fill directories many
times over hard limits

quotaon is /sbin/quotaon dated 5th Sept 2001 20:00, 45692 bytes
edquota is /usr/sbin/edquota dated 5th Sept 2001 20:00, 49052 bytes

RPMs installed are:
initscripts-5.84.1-1.i386.rpm
quota-3.01pre9-0.7.1.i386.rpm
...from ftp.redhat.com/pub/redhat/linux/updates/7.1/en/os/i386/

--

 
 
 

RH71: Confused Quotas - quotaon looking for quota.user, edquota looking for aquota.user

Post by Andrew Oakl » Thu, 01 Nov 2001 18:59:21



> ie. edquota is using aquota.user but quotaon is looking for quota.user

ln -s /aquota.user /quota.user

...(ie. copy/link quota.user from aquota.user) is a workaround for
this problem, but I cannot for the life of me figure out why.

--
Andrew Oakley

 
 
 

1. Quotas : Format of quota.users & quota.groups ?

Hi,

I am running Linux-FT with kernel 1.2.13 and quota patches. I would like
to enable quotas in order to control memory usage by apps (I'm trying to
debug an app that keeps grabbing all system memory, preventing me from
typing kill).

In order to enable quotas, files called quota.users and quota.groups
need to be present in the root directory. The 'edquota'
program is supposed to be used to set these up, but it simply invokes vi,
expecting the user to know the file format. The man pages say that
the file format is 'inscrutable', but don't actually describe it anywhere!

Anyone know the correct format ?

Thanks in advance,

Steve

-----------------------------------------------------------------------------
| Steve Mottram                                                             |
|                                                                           |
| University Department of Anaesthesia  |    Internal Phone : LRI 5694      |
| Leicester Royal Infirmary             |    Phone  :  +44 (0)116 258 5291  |
| Leicester LE1 5WW                     |    Fax    :  +44 (0)116 285 4487  |

|---------------------------------------------------------------------------|
| Witty bit deleted due to budget cuts.                                     |
|---------------------------------------------------------------------------|

2. intermittent network access

3. Looking for cron program that warns user disk quota exceeded

4. Fast Switching and kernel v2.6

5. user quotas and printer usage quotas on NT domain

6. open boot drivers vs operating system drivers

7. quota: format of quota.user

8. How do I tell the **FIND** not to ..........

9. quota: set quota by group instead of user?

10. Utter newbie end-user looking for where to look

11. Using edquota to define quotas - Help!

12. quotas & edquota

13. QUOTAS ON LINUX 1.2.7-WHAT TO WRITE DURING EDQUOTA?