LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Quotas: Setting them (https://www.linuxquestions.org/questions/linux-newbie-8/quotas-setting-them-377349/)

Swakoo 10-27-2005 05:06 AM

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 :D )

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 ;)

imitheos 10-27-2005 07:59 AM

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 :D )

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.


All times are GMT -5. The time now is 12:58 AM.