LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-09-2009, 06:21 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
How can I set a quota on a directory?


How can I set a quota on a directory?

Is there an easy way to do this?

TIA
 
Old 11-09-2009, 06:27 PM   #2
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
Hi!
Maybe this could be of help!

http://tldp.org/HOWTO/Quota.html
 
Old 11-09-2009, 06:56 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As you've got Centos, this applies http://www.linuxtopia.org/online_boo...sk-quotas.html
 
Old 11-09-2009, 10:14 PM   #4
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Thanks but those look like they are just for users or groups and not for a specific directory.
 
Old 11-09-2009, 10:27 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I think you misunderstand quotas; they can only be set a for a filesystem, not individual dirs inside an fs. See my link above and any quota related ones here http://linux.die.net/man/
 
Old 11-10-2009, 09:12 AM   #6
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
One workaround is to mount a seperate filesystem on that directory and implement quotas on that filesystem.
 
  


Reply



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 10 12-09-2017 09:52 AM
Quota For Directory? carlosinfl Linux - Server 1 12-12-2008 11:25 AM
Directory Quota? j_miguel_y Debian 1 06-19-2004 08:12 PM
Quota:cannot be set and update swmok Linux - Software 1 10-22-2003 07:30 PM
how to set quota awp Slackware 1 04-27-2003 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration