Solved

Setting quotas on disk space on SGI.

Posted on 1997-06-01
1
249 Views
Last Modified: 2010-04-21
I am currently looking at setting up limits on how much disk space a user can occupy.  I think I understand how to set up limits on the RAID as a whole, but is there a way I can just set the limit on certain directories, but not others?  For instance, if I don't want a user to have more than 100MB in their home directory, but I don't care how much they have in a shared working directory.  Or, if I want one directory to be limited to 10 MB and another to 100 MB, both on the same file system.  I'd appreciate any help.

Thanks.
0
Comment
Question by:randyn
1 Comment
 
LVL 3

Accepted Solution

by:
dhm earned 100 total points
ID: 2006349
Quotas are either on or off on a filesystem basis; you can't turn them on for just some directories.  This is yet another reason to have partitions on your disk, and I wish those boneheads at SGI would quit shipping single-partition machines and give us some nice partition management tools instead.

Using xlv(7M) (I have it in IRIX-6.2 & 6.4, but not 5.3) you can create "partitions" that you can resize later if necessary.  You could use this functionality to make a filesystem for each directory tree you wish to run quotas on.  Not pretty, but it ought to work.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Shell script errors 10 141
LastLogonTimeStamp Attribute 7 49
cron job says it ran, no results 25 123
unix in java example 9 72
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question