![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
Check google for 'quota'
|
|
#3
|
|||
|
|||
|
Re: Directory limit
Quote:
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
|
||||
|
||||
|
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 |