The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Limit directory size jredx Linux 2 05-27-2008 12:25 AM
can I limit the size of a directory? JamesByars UNIX for Dummies Questions & Answers 6 01-14-2008 02:06 PM
Built in ram limit for 64 bit kermit Linux 2 05-18-2007 12:42 PM
tar 2GB limit SLKRR Filesystems, Disks and Memory 9 12-04-2006 12:19 PM
limit to number of files in a given directory hedrict UNIX for Advanced & Expert Users 2 02-05-2004 01:14 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-15-2002
merlin
Guest
 

Posts: n/a
Directory limit

I'm setting up a file server for users. Does anyone know how I can limit each users directory to 500MB?

--------------
Runing Solaris 8
Forum Sponsor
  #2  
Old 07-15-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
Check google for 'quota'
  #3  
Old 07-16-2002
Registered User
 

Join Date: Jul 2002
Location: Sg
Posts: 1
Re: Directory limit

Quote:
Originally posted by merlin
I'm setting up a file server for users. Does anyone know how I can limit each users directory to 500MB?

--------------
Runing Solaris 8
You must log in as root to perform the following steps.

Determine which file system(s) you want to restrict the users' to. Example, I am going to put a restriction for user "aaa". The user home directory is "/export/home/aaa" and is residing in the "/export" file system.

Create a file quotas in "/export" directory.
# touch /export/quotas

Set the size limit for user "aaa" and edit the soft and hard limit (see man for details)
#edquota aaa

Turn on quota
#quota -v /export
#quotacheck -v /export

To make it permanent next time you reboot, make sure you add the option quota in vfstab file for that file system

That's all folks
  #4  
Old 06-03-2003
inquirer's Avatar
Registered User
 

Join Date: Aug 2001
Posts: 78
follow up question....

if i set only useraaa for quota(500MB), what is the default value for those users i did not set any quota?
Google The UNIX and Linux Forums
Closed Thread

« Vnc | Log out »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0