LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-12-2008, 11:14 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,897

Rep: Reputation: 73
Question Quota For Directory?


I have partition on a disk:

Code:
/dev/sda9             783G  328G  415G  45% /share
And on this partition I have two folders:

Code:
[root@lt2fs1 share]# ls -l
total 28
drwsrws--- 47 root ctia  4096 Dec  9 13:15 ctia
drwsrws---  3 root lab   4096 Dec 12 11:02 lab
drwx------  2 root root 16384 Aug 20 09:20 lost+found
My question is I am scared users will fill up all available space on lab folder - rendering the entire partitioned disk 'full'. Can I set a quota on the 'lab' folder to 100 GB and after that folder has exceeded 100 GB, it is no longer writable?

As you can see the 'lab' directory is owned by the lab group so perhaps I could do something with group quotas but I have no idea. This is my 1st time ever dealing with quotas.

Thanks for any help!
 
Old 12-12-2008, 11:25 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,506

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Take a look at this thread. Maybe it's useful.
 
  


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
directory quota rcm Linux - Server 9 06-14-2011 09:15 AM
quota implementation in home directory? sunram Solaris / OpenSolaris 1 10-16-2008 05:05 AM
procmail+quota+bounch mail+but no quota full msg to receipent mickyman Linux - General 3 03-02-2006 03:32 AM
Directory Quota? j_miguel_y Debian 1 06-19-2004 08:12 PM
directory size & QUOTA questions... hct224 Linux - Newbie 4 04-23-2004 06:41 PM


All times are GMT -5. The time now is 04:06 AM.

Main Menu
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