LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-08-2007, 05:25 PM   #1
haiders
Member
 
Registered: Sep 2006
Posts: 62

Rep: Reputation: 15
folder size monitoring NFS file system


We have a shared drive mounted from SAN on multiple linux systems. Users are aloud to create folders and share them but it gets tedious monitoring the users folder size. I was wondering if anyone knows of a monitoring tool that can monitor NFS mounted folders for their sizes and list them. Could be something very simple but it has to be fast. the shared drive is a terabyte in size.
 
Old 01-08-2007, 05:38 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I guess maybe quotas can be enabled limiting users usage.

Brian
 
Old 01-09-2007, 10:31 AM   #3
haiders
Member
 
Registered: Sep 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Brian, thanks for the reply. I'm new to this, can you tell me how to set quotas for disk space in linux?
 
Old 01-09-2007, 12:48 PM   #4
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
http://www.scroogle.org/cgi-bin/nbbw...k+quotas+linux
 
Old 01-09-2007, 02:51 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Those links should help to explain. The main idea is in your /etc/fstab for the partition that is mounted has a defined limit you setup for all users. Then each user has a directory of their own. This is where thay add their files. Now if the limit is near the soft limit an email to the user can sent as well as the administrator of the system. And if there limit reaches the hard point then they need to remove files or ask to expand the quota limits for themselve only. You can any limit for any user. Its been a long time since using quotas but that was for an email server and homepage space to limit users so as not to do a regular scan of users usage.

Brian
 
Old 01-15-2007, 01:34 PM   #6
haiders
Member
 
Registered: Sep 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Brian1/Lurko,
Thank you very much for your help.
 
Old 01-15-2007, 02:10 PM   #7
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
google did all the work, but you're welcome . Sorry for not being more specific in my link-only post, I felt the hits of the search did a better job explaining than I could, not having implemented quotas myself.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any fast way to know the total file size under a folder gsbarry Linux - General 15 06-22-2010 08:42 AM
how to restrict max folder size on nfs shares?? j4jaybi Red Hat 1 07-28-2006 12:32 PM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-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 02:26 AM

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

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