Quota stuff.
About quotas..
I have managed to set up user quotas ok (I think).
However, I have been having some problems setting up a group quota.
I have 6.0 gigs of space on /home.
I want to reserve 300 megs of that space for things other than user
accounts and directories.
>From what I've read, 1 block equals 1 kilobyte (1024 bytes).
so 5.7 Gigabytes would eqaul 5800 megs, which would equal 5836800
kilobytes, correct?
So I type "edquota -g lusers" and I set both the soft and the hard limit
to "5836800" blocks.
Then I save the info, and type "quota -g lusers" to see if it works. It
doesn't:
/home># quota -g lusers
Disk quotas for group lusers (gid 100):
Filesystem blocks quota limit grace files quota limit grace
/dev/sda4 24970 1642496 1642496 710 0 0
Then, when I go back into "edquota -g lusers" the information is changed
to "1642496", just like it is in quota -g lusers.
How come it does not keep the info? Why doesn't it accept it?
The partition is definitly large enough to support it.
df reveals the following:
/home># df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda1 995115 20131 923578 2% /
/dev/sda2 995147 219170 724569 23% /usr
/dev/sda4 6117825 29404 5771539 1% /home
so I know that there is plenty of room.
any suggestions?
-----------------------------------------------------
Amanda Shuler | I don't want to start any
shuleram@acm.msu.edu | blasphemous rumours, but...
-----------------------------------------------------
Reply to: