1826493 Members
4026 Online
109692 Solutions
New Discussion

set quota for user.

 
SOLVED
Go to solution
Vu_9
Occasional Contributor

set quota for user.

Dear Experts,

I need to set quota (1GB) for xxx user. How can i do it. Please help !!

Thanks so much.
Vu.
5 REPLIES 5
Boyo
Frequent Visitor

Re: set quota for user.

Hi Vu,

You will need the edquota command for this.

Rgds
Vu_9
Occasional Contributor

Re: set quota for user.

Dear Boyo,

I has just read a HP Doc, but i don't understand what 's it mean. Can you explain to me.
Tks!

edquota user

fs /home blocks (soft = 10000, hard = 12000)
inodes (soft = 250, hard = 300)
Boyo
Frequent Visitor
Solution

Re: set quota for user.

To open the quota editor:
#edquota user

The command:
[fs /home blocks (soft = 20000, hard = 24000) inodes (soft = 250, hard = 300)]

Basically sets the following:
A soft limit of 20000 blocks - the max number of blocks user can use.
A hard limit of 24000 blocks - the absolute max number of blocks user can use.
A soft limit of 250 files - the max number of files.
A hard limit of 300 files - the absolute max number of files.
Senthil Kumar .A_1
Honored Contributor

Re: set quota for user.

Hi Vu,

The main difference b/t soft and hard limit is, once the user crosses soft limit, his terminal will receive a Warning saying that he has crossed the soft limit. There by User is made aware that he is going to reach his hard limit. The soft limit can enforce the user not to exceed further based on the time limit that can be set, or until the user reaches the hard limit within the time limit.

For further details.. refer..

http://www.informatik.uni-frankfurt.de/doc/man/hpux/quota.5.html

regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Vu_9
Occasional Contributor

Re: set quota for user.

Thanks you so much. I understood it.

Vu.