On Saturday 12 February 2005 13:57, Chuck MATTSEN wrote:
> I'm pretty CLI stupid (as will be apparent here, no doubt), so I'd
> appreciate it if someone with some patience could try to walk me through
> a fix for this, if possible.
>
> The scenario is that yesterday I had about 1 gig free on my /
> partition.  Haven't installed any programs in the interim other than a
> urpmi update (which still left me showing most of that 1 gig free), but
> as of this a.m. I'm showing zero free space during boot-up and cannot
> get into Mandrake.  I would suspect some dump or errant log file, no?  I
> tried logging in as root and doing a logrotate from the CLI (based on
> advice I'd seen given in an earlier thread here), but apparently I'm
> missing something in that equation, as a logrotate -f did nothing ... do
> I need to specify a path argument there, as well, and if so, what?  Any
> other suggestions?  Is /tmp safe to delete from willy-nilly?  Other
> things to look for?
>
> Any help appreciated so that I can at least get back in and work on this
> from within the GUI (so, again, please dumb-down appropriately any
> responses that require me using the CLI, if you'd be so kind).
>
> Thanks.

If you have more than one partition 'df' is useful to find the partition that 
is filling up. 

Yes you can delete stuff in /tmp as well as anything in ~/tmp (your home tmp 
folder), and can delete any core dump files you find (they are named 
'core.xxx' )

You could also remove any archived log files in /var/log

To make logrotate run use the command
logrotate -vf /etc/logrotate.conf

Too help you in the future it is a good idea to install Midnight Commander
(urpmi mc) so you can navigate the file system in the command line.

Installing anacron (urpmi anacron) will ensure your log files and /tmp folder 
do not fill up in the future by ensuring logrotate gets run daily.

Once you have X running again fsv (in contrib) is great for visualising where 
all your disc space has gone.

hth

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to