Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-07-2005, 04:39 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
user/folder size limit

does anyone know of a command or way to limit a user's amount of storage, i have a few users on slackware box, and less than 12gb to share in the /home partition. I need a way without repartitioning my hd and one thats not super complicated. Anyone any ideas? Also if there's a way of just limiting a folder to a certain size that would be just as good? thanks..
Old 10-07-2005, 04:43 PM   #2
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
Try using the "quota" program, that is if you have installed it as one of the slackware packages.

There should be enough material on the net to explain how to use it. I am sorry, but I am not profecient in using it, otherwise I would have given a more detailed answer.
Old 10-07-2005, 04:47 PM   #3
LQ Newbie
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i am using ext3 for all partitions, can i still use quota with ext3? thanks for the advce though
Old 10-07-2005, 05:10 PM   #4
LQ Newbie
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ok scrap that last reply, it does work with ext3, but is there another way without having to recompile my kernel, i've never done it with slackware and don't want to break it already
Old 10-07-2005, 09:29 PM   #5
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Are you sure it's not enabled already? My Slack 10.1 install gave me all the quota tools, so I imagine quota support was built into the kernel.

Anyhow, you need to have the kernel level stuff configured to use quotas. Recompiling a kernel isn't hard (read the guides around here). Just leave a copy of your original kernel lying around so you vcan boot it if there's a problem with the new one. Otherwise, I suppose you could write a shell script to be run from cron that monitors users' disk usage and locks any accounts that use too much space (or prints nasty messages when they login or whatever).
Old 10-08-2005, 06:56 AM   #6
LQ Newbie
Registered: Oct 2005
Location: Mumbai, India
Posts: 2

Rep: Reputation: 0
Ya just install the slackware package


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
50M user file size limit FoxyLad Linux - General 4 02-02-2005 09:04 AM
Size limit for folder gubak Linux - Newbie 3 11-11-2004 10:09 AM
limit folder size on server moby Linux - Networking 5 11-02-2004 04:18 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 03:26 AM

All times are GMT -5. The time now is 07:27 PM.

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