LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-24-2006, 12:53 AM   #1
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Rep: Reputation: 0
Is there any software like it?


it just like disk quota ,but not just this, it also can based on directoy quota.
 
Old 10-24-2006, 09:51 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
What specifically is your question?
 
Old 10-24-2006, 10:48 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Look at the virtual file system section... maybe that will do what you want..

http://souptonuts.sourceforge.net/quota_tutorial.html
 
Old 10-24-2006, 11:31 PM   #4
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by J.W.
What specifically is your question?
sorry for my english.
i just want: directory quota ,not user disk quota.

Last edited by zhuomingliang; 10-24-2006 at 11:34 PM.
 
Old 10-24-2006, 11:32 PM   #5
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer
Look at the virtual file system section... maybe that will do what you want..

http://souptonuts.sourceforge.net/quota_tutorial.html
thanks ,but it not.
 
Old 10-25-2006, 12:03 AM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Quote:
Originally Posted by zhuomingliang
sorry for my english.
No apologies necessary Maybe the "quota" command might give you what you're looking for. For more info:
Code:
man quota
Good luck with it
 
Old 10-25-2006, 02:51 AM   #7
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by J.W.
No apologies necessary Maybe the "quota" command might give you what you're looking for. For more info:
Code:
man quota
Good luck with it
thanks,but it can't be directory quota without system user and group.

Last edited by zhuomingliang; 10-25-2006 at 02:52 AM.
 
Old 10-25-2006, 04:09 AM   #8
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
try to put your requirements using an example, that might help us in understanding what u want

Jay
 
Old 10-25-2006, 06:28 AM   #9
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jayakrishnan
try to put your requirements using an example, that might help us in understanding what u want

Jay
example:
i have two site:
www.test1.com /home/guest/site/test1.com/
www.test2.com /home/guest/site/test2.com/

i want that /home/guest/site/test1.com/ has 20M max size,
and /home/guest/site/test2.com/ has 40M max size

but i do not want disk quota with a system user or group,
i need directory quota on linux.
ser-u and proftpd has directory quota,but only for itself,not for system.
 
Old 10-25-2006, 08:31 AM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Making each of those a virtual filesystem and allowing everyone access I think would meet the requirements.. but if you don't agree that's a workable solution, best of luck to ya.
 
Old 10-25-2006, 09:21 AM   #11
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer
Making each of those a virtual filesystem and allowing everyone access I think would meet the requirements.. but if you don't agree that's a workable solution, best of luck to ya.
thanks, it is a good idea. i will try it.
 
Old 10-26-2006, 12:48 AM   #12
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
a new trouble, when i have many sites. it is not easy to manage, and it is slowly.
 
Old 10-26-2006, 05:46 AM   #13
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
There may be some tools out there for that. You might want to start searching on sourceforge & freshmeat.

Alternatively, you could try implementing this yourself. Using the "du" command, it's fairly easy to derive
the total size of a directory. If this exceeds a certain quotum, then you could take additional action like sending e-mail warnings to you/administrators, or disabling write access to the website directories (ie via directory permissions). Put all that into a script and make it run, let's say once every 5 minutes via cron.
 
Old 10-28-2006, 03:53 AM   #14
zhuomingliang
LQ Newbie
 
Registered: Mar 2006
Distribution: windows, ubuntu, Fedora, CentOS, FreeBSD.
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by timmeke
There may be some tools out there for that. You might want to start searching on sourceforge & freshmeat.

Alternatively, you could try implementing this yourself. Using the "du" command, it's fairly easy to derive
the total size of a directory. If this exceeds a certain quotum, then you could take additional action like sending e-mail warnings to you/administrators, or disabling write access to the website directories (ie via directory permissions). Put all that into a script and make it run, let's say once every 5 minutes via cron.
Thanks, I had been searching it. "du" command is not a good idea. I am looking for a "directory quota" software, it is just like disk quota. And it should be easily managed with congfigure file.

Last edited by zhuomingliang; 10-28-2006 at 03:56 AM.
 
Old 10-28-2006, 05:39 AM   #15
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
As you reject the virtual directory solution which seems to be the only one available with Linux, you may want to have a look at Solaris ZFS which allows easy to manage quotas.
 
  


Reply

Tags
directory, quota



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
LXer: Software reuse and DSO -- breaking the rules of embedded software development LXer Syndicated Linux News 0 04-20-2006 02:54 AM
LXer: Open Source Software Will Permeate Enterprise Software, Says The ... LXer Syndicated Linux News 0 12-12-2005 08:31 PM
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM
Music Library Software & a List of M$ like Software for Linux MultiUser Linux - Software 2 02-27-2004 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:30 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