home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!stanford.edu!morrow.stanford.edu!news
- From: caroline@topaz.Stanford.EDU (Caroline Lambert)
- Subject: disk space strategy suggestion for small groups
- Message-ID: <1992Jul22.155816.10864@morrow.stanford.edu>
- Sender: news@morrow.stanford.edu (News Service)
- Organization: Stanford Univ. Earth Sciences
- Date: Wed, 22 Jul 1992 15:58:16 GMT
- Lines: 35
-
- In light of the recent postings about how to tell users about
- full file systems, I thought I'd share my strategy for handling
- disk space problems.
-
- The most common approach is to wait until the disk is full, and
- then send a message to the disk hogs telling them how much disk
- space they are using and to clean up. Or to post a list of the
- top disk hogs.
-
- There are several inadequacies with this approach. First, I don't
- want the disks to ever get totally filled up. Second, many users
- don't know enough about Unix to find all their files efficiently.
- Third, the user with 10 Mb of disk space that hasn't been touched
- in a year is more guilty than the person who filled up the disk
- with 100 Mb of new data yesterday, in my opinion.
-
- Part of my strategy is to run a program that makes a list of
- each user's files that exceed a certain threshold in terms of
- both size *and* age, and then mails that list to the user, with
- a message asking them to look over the list and decide which files
- they really need to have on the system. The program is run from
- cron on a regular basis (not too often, or the message gets ignored,
- yet not too infrequently or the disk fills up).
-
- This appears to work with my group, but I have only dozen or so
- regular users, whom I know personally, so I have no idea how well
- it would work in a larger installation - I suppose with a larger
- number of users the program would use a significantly greater amount
- of resources generating the lists, and then the lists would clog
- the mail system. However, for small groups it's a suggestion.
-
- --
- Caroline Lambert
- Seismic Tomography Project caroline@topaz.Stanford.EDU
- Department of Geophysics, Stanford University
-