On Wed, 8 Apr 1998, Daniel Goldin wrote:

> I keep getting the error message "no space left on device" when
> writing to /etc.

The answer is simple... your disk is full. :)  Erase some files. :)  Use
the 'df' command to check your free space on the various partitions.
(it's normal for free space + used space to not equal total space.  In
this case the difference is space which is 'reserved').

Under Red Hat, the /var directory tends to pile up with useless cruft. 
The 'logrotate' program keeps it organized, but never erases anything. 
Since /var and /etc are both typically on the / partition, if it is small,
the giant log files can fill up all your space.  Erase all the files in
/var/log which end in .1, .2, etc. 

Also look in the /tmp directory, if it is on the / partition.  It can from
time to time wind up with worthless files in it, some of which can be very
large.  But be careful erasing them, they might be in use.  :)  In this
case it is usually best to switch to single user mode (by typing telinit
1) and erase them, then reboot. 

Any other directory on your / partition is a possible candidate for
cleaning.  /root is a common one which tends to "seem" insignificant but
actually collects a lot of stuff.  If you have /home on the / partition,
then it is traditionally a big big user of space.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to