Disk usage problem suggestions/help needed...

Disk usage problem suggestions/help needed...

Post by Melinda D'Arri » Fri, 12 Jun 1992 07:22:00


            Please bear with me on this because I am not very familiar with
          the way the UNIX operating system works.

            We are having a problem with disk space on our system. We are
         running SCO UNIX System V/386 3.2 on a DECstation 425c. We have
         three partitions -

        Mount Dir     Filesystem     blocks    used   free   %used
        /             /dev/root      174522  167598   6924    96 %
        /data1        /dev/data1     322558  273502  49056    84 %
        /data2        /dev/data2     322558   50702 271856    15 %

        My first question is when something is being spooled to the printer
      I can see that the /dev/root Filesystem loses space until the job is
      finished printing. Where are these files stored while they are being
      spooled that it is taking up space from the /dev/root filesystem ?

        I have cleaned out any core files, files in /tmp etc.. but it doesn't
      seem to be reducing any space and I fear that we will go over the 100%
      mark. I guess what I really need to know is what exactly does the
      /dev/root Filesystem encompass and why it keeps diminishing day by day
      slowly but surely. Are there certain files that I should be looking for ?

        It doesn't seem to make any sense that the operating system itself
      would take up that much space. To summarize :

      1.) Where are files stored when they are being printed and why does
          the root Filesystem lose space even though these files that are
          being printed reside in the data1 partition.

      2.) Are there any specific files besides the basic files in
          lost+found  /tmp that I should be looking for that may linger
          around the system ?


                           Melinda D'Arrigo


Disk usage problem suggestions/help needed...

Post by Jeff Brendl » Fri, 12 Jun 1992 17:40:43

I can't say for sure how your machine is set up but it is normal to have a disk
area set aside to spool jobs (I use a /var on hd0h to hold spool/ which I then
toss incoming mail and outgoing print jobs into so I don't overload /).  The
]other thing is if you have accounting turned on (does SCO support it like a
BSD-ish system?), you need to leave space for those ever-growing files (on my
RT once again I use /var in an adm/ directory along w/ the script files I use
to truncate them frequently to keep the size in check).  A more normal setup
would have been a / w/ bin/ and /etc off it, a /usr for programs & such and a
/home for user's data files.  If you have programs off / then any new additions
are also going to eat into you free space, and if you get below 10% things will
get a bit slower.  Hope that helps.



Disk usage problem suggestions/help needed...

Post by Testaccount zur Lastmessu » Thu, 18 Jun 1992 20:54:46

Your problem is just normal on small systems!

All spooling, eg. print, mail, news etc. use space on /usr/spool to hold its
files. In case of news this can become really HUGE!
In addition accounting uses space on /usr/adm to record accounting events.

Purging these file systems regularly is a solution but somewhat clumsy.
You head for trouble if you do it in a naive way and you might forget to
do it in the right time.

Best way is to find sufficient space on a partition that you mount on
/usr/spool (or /var/spool for the BSD-followers). The amount depends on your
demand (.5 GB for news is typical if you hold it long enough).

Second you must administer news and accounting the right way to keep your
demand for filespace low; or better switch it off (see manual). - the
accounting, not the news of course -

Peter Nitezki   currently with PPG Hellige, Freiburg, GERMANY



1. Any suggestions on Efficient Hard disk usage

I got a Micropolis 8GB UW SCSI hard disk at almost free ($399).
Currently I have two seagate 32155UW SCSI and I am thinking about
installing the Micropolis 8GB to replace the two seagate disks.

I like to make a partition in the 8GB disk as follow
Master: 2 GB  MS-Windows95. I am not really using this one, but my
children are using it for their homework.
128MB swap space
4GB Main Linux disk space
Remaining Disk Partition: New Linux Testing. Because I had some problems
before by simply upgrading new libs. and programs   to my Linux. So,
this time I like to test something before installing the new things to
my Main Linux disk.

I believe I   can not use more than 128MB swap space.  Is this true ?
Any suggestions on efficient hard disk usage ?

2. Xconfig for ET4000w32i

3. Device disk problem.. need suggestion...

4. Defragment on Tru64 V5.1/TC5.1

5. Need suggestions for a USB external hard disk

6. Will Ultra DMA 66 work on linux?

7. Dead disk Need suggestions

8. OpenSSH

9. Needed: hierarchical filesystem/disk usage reporter

10. Increased disk usage when using Disk Suite?

11. What is max size disk for system-disk usage under Sol 2.5.1


13. Help with disk usage shell script