LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2007, 07:12 AM   #1
fc6_user
Member
 
Registered: Jan 2007
Location: Montpellier, France
Distribution: Fedora Core 6, Mandriva, Knoppix, Debian
Posts: 143

Rep: Reputation: 15
System Administration: How to limit users' available storage space


I have installed two Linux OSs, Mandriva and Debian. Each operating system is on a 15Gb partition and I would therefore like to limit how much users can store in their home folders and in general (anywhere else for that matter). I'd like to limit the totality of each user's storage space to 1Gb. There are children using the computer, and the computer will be used primarily for playing games, web browsing, IM, etc., not for storing files. I had a look at the GUI tools in KDE and GNOME but wasn't able to find anything that allowed me to do this. I tried googling it, but didn't find an answer to my question (wrong keywords?). Does anybody know if this is possible, and if it is, how to do it? What is the main configuration file? Is there a default user configuration file?

Many thanks.
 
Old 05-23-2007, 07:22 AM   #2
egarnel
LQ Newbie
 
Registered: Jun 2003
Posts: 11

Rep: Reputation: 0
google or man quota. It can be done via webmin
 
Old 05-23-2007, 06:30 PM   #3
fc6_user
Member
 
Registered: Jan 2007
Location: Montpellier, France
Distribution: Fedora Core 6, Mandriva, Knoppix, Debian
Posts: 143

Original Poster
Rep: Reputation: 15
"Quota" was the word I should have used in my Google search. I found a really good site. What do you think?

http://www.linuxhomenetworking.com/w...ge_with_Quotas

I haven't tried it yet. I read the article, I'm going to think about it and do some more research, then I'm pretty sure I'm going to try it.

Last edited by fc6_user; 05-23-2007 at 06:31 PM.
 
Old 05-23-2007, 08:52 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
That looks like a good howto -- there's also a good duide over at The Linux Documentation Project (tldp.org).
 
Old 05-31-2007, 07:08 PM   #5
fc6_user
Member
 
Registered: Jan 2007
Location: Montpellier, France
Distribution: Fedora Core 6, Mandriva, Knoppix, Debian
Posts: 143

Original Poster
Rep: Reputation: 15
Okay, I gave it a try - or tried giving it a try! - but there's a problem. Everything in each of my two Linux distros are mounted to "/". There is no separate "/home" partition. It seems that the first thing I have to do is to edit my /etc/fstab file and add "usrquota" to the list of options. In the HowTo's I've consulted, this is not done to the entire "/" partition, but only to the "/home", "/usr" or other partition. Can I do this to the entire "/" partition? Will this affect the "system" users (not actual users, but the actual system)? Kids will be using the computer and so I want put a hard limit of 1GB for each user. There will be 4 user accounts and there's only 15GB of space available for each distro (actually, not even, because that includes everything (system, etc.), everything except swap). Each distro is on a 15GB partition.

Can I use the 'usrquota' option on "/"?? Might this cause problems later on?

Many thanks.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux System Administration: The Next Step for Power Users LXer Syndicated Linux News 0 12-30-2005 01:46 AM
LXer: <em>Linux System Administration:</em> The Next Step for Power Users LXer Syndicated Linux News 0 12-29-2005 12:46 AM
LXer: <em>Linux System Administration:</em> The Next Step for Power Users LXer Syndicated Linux News 0 12-28-2005 09:31 AM
how do i limit a users space ? ruwach Linux - Software 2 02-20-2005 07:54 AM
Quota issue, hard limit doesn't limit users Gratz Linux - Software 2 09-16-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:54 AM.

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