Date: Tue, 05 Nov 2002 18:57:15 -0500 From: Daniel Suh <daniel.suh@sympatico.ca> To: I am Insane <admin@iaminsane.net> Cc: freebsd-newbies <freebsd-newbies@freebsd.org> Subject: Re: Cleaning up / Message-ID: <3DC85ADB.3080507@sympatico.ca> References: <3DC81F59.80505@iaminsane.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I am Insane wrote: > I need some help. I'm not a complete newbie but I'm new enough to not > know which files are actually needed in my / filesystem. > > my current df -k shows > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 100750 82898 9792 89% / > /dev/ad0s1g 10080382 766404 8507548 8% /usr > /dev/ad0s1h 15421366 26432 14161226 0% /usr/home > /dev/ad0s1e 201518 3332 182066 2% /var > /dev/ad0s1f 2015918 144 1854502 0% /var/mail > procfs 4 4 0 100% /proc > > and I am aware that if / gets to 100% the system has a good chance of > crashing. > > how can I tell what files can be removed in order to free up some space? > and/or how can i tell which files are the largest and need to be addressed? > > Thanks in advance, > REM Hi. Check if there aren't any core file(s) exist on your machine, if there are, get rid of it. Don't get scared about it. It is created when progam crashes abnormally and usually contains nothing that concerns normal user, unless you are code hacker. Next, check your /tmp. Usually most of what is in there disappears when you reboot, which means you can loose them too. Also, if you know which kernel you are using, then leave your kernel and kernel.GENERIC, and dispatch those kernel.old. They are there for backup purpose but if you are really short on space, you might delete them too. Above will usually solve your problems with it. If you are still short of space, then check what is mounted on /. If for some reason you have /sys mounted on / and not linked to /usr/src/sys, then fix that. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC85ADB.3080507>