LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-27-2005, 06:06 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Quotas: Setting them


hi guys, i'm going into setting quotas now...

Disk quotas for user test (uid 504):
Filesystem blocks soft hard inodes soft hard
/dev/hdd1 1809832 0 0 24 0 0


While Soft means with grace period, hard means without grace period... whats with the second set of "soft" and "hard"?

Does having a soft limit means a user is allow to breach the limit for that x number of days before anymore writing/uploading is halted totally, or will files get deleted automatically (i doubt so hahaha, but thought i ask )

I suppose soft limit should usually be used with a hard limit huh?

Blocks refers to the current amount of space taken up?

I'm using 2 online guide to setup, but both mention You'll get an error the first time you enter the command, because Linux will realize that the aquota file wasn't created using one of the quota commands:

so is there a more "proper way" such that I use the quota to create.. or its alright?

when i do quotacheck, it always show me quotacheck: Old group file not found. Usage will not be substracted.
but it carries on. any problem?

do i need to specify the grace period for each?

WHen i do a repquota /home, the grace column for both is empty... meaning to say grace not implemented?

I did a mini test by uploading a file, i realise repquota /home will only be updated with the new addition after i run quotacheck -vagum (just follow the guide... haven't check whats the extension for..)
I thought quotastatus will always be updated automatically when the user make changes; or according to the guide it is so...


Doing all these for a ftp server... thanks for attention

Last edited by Swakoo; 10-27-2005 at 06:16 AM.
 
Old 10-27-2005, 08:59 AM   #2
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 374

Rep: Reputation: 55
Re: Quotas: Setting them

Quote:
Originally posted by Swakoo
hi guys, i'm going into setting quotas now...

Disk quotas for user test (uid 504):
Filesystem blocks soft hard inodes soft hard
/dev/hdd1 1809832 0 0 24 0 0


While Soft means with grace period, hard means without grace period... whats with the second set of "soft" and "hard"?
The first set (soft/hard) is for blocks (i.e how much space does he get) the second set is for inodes (i.e how many files does
he get)

Quote:
Originally posted by Swakoo

Does having a soft limit means a user is allow to breach the limit for that x number of days before anymore writing/uploading is halted totally, or will files get deleted automatically (i doubt so hahaha, but thought i ask )

I suppose soft limit should usually be used with a hard limit huh?
I quote from edquota manpage

Quote:
Users are permitted to exceed their soft limits for a grace period that
may be specified per filesystem. Once the grace period has expired,
the soft limit is enforced as a hard limit.
This is what you too have said. If you have a grace period of 2 days then he can exceed the soft limit for these 2 days (he can't
exceed the hard limit). After the 2 days the soft limit is enforced as if it was hard.
If you have the soft limit equal to the hard or you have 0 days grace, then you don't have this feature.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting user quotas Seventh Linux - Newbie 6 02-11-2005 11:03 AM
Quotas andy7t Linux - General 1 12-15-2004 04:14 PM
Setting Up Filesystem Quotas j_miguel_y Linux - Software 0 06-09-2004 11:21 AM
setting directory quotas and FTP server help kabir Linux - General 1 12-01-2003 08:17 AM
Setting up User Quotas? Uncreative Slackware 3 05-11-2003 09:08 AM


All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration