Click to See Complete Forum and Search --> : Freeing up space on the root partition
Ok, first off here is what I have mounted:
/dev/hda8 /
/dev/hda1 /boot
/dev/hda6 /home
/dev/hdc1 usr
/dev/hda7 /var
My root partition is 100% used and desperately needs free space.
Are there any obvious directories that I could move to another partition without causing linux to not load?
-D
bwkaz
06-06-2003, 10:42 PM
I don't know if /root can be moved or not, but you could look in it for what's taking up all your space. I know my user's home directory is fairly massive, and if even 10% of that stuff had been done as root, root's home directory might take up a couple of tens of megs. Worth a look, anyway.
Also take a look in /tmp, especially for hidden files and/or directories (use ls -a /tmp or ls -la /tmp).
Everything else, though (/bin, /lib as you found out, /sbin) needs to be on the root partiton or you hit a chicken-and-egg problem.
Might be worth a check for where your kernel images are, too -- they should be in /boot, which is a separate partition, but you never know. If you use lilo and move them, you'll have to change lilo.conf and rerun /sbin/lilo.
I just noticed that a core dump the size of 8 megs was in the /root directory. 8 megs! woohoo! :) (That's a lot when there's nothing else to get rid of)
Fryguy8
06-06-2003, 11:09 PM
/tmp can be moved safely off of /
other than that, your / partition shouldn't be more than 100mb the way it's set now.
Weird, because it's currently at 226Megs used now. The max size for the partition is 248M. I'm not sure what cause it to get that big...
sharth
06-06-2003, 11:20 PM
some distros put stuff that is not needed in boot in /opt
Weird, because it's currently at 226Megs used now. The max size for the partition is 248M. I'm not sure what cause it to get that big...
Alas, nothing in /opt in my installation. Thanks for the suggestion anyway.
JohnT
06-06-2003, 11:40 PM
Are you viewing hidden files also?
sharth
06-07-2003, 12:07 AM
try installing and using xdiskusage
Ya, ls -a in /opt showed up nothing. Thanks, I'll look into xdiskusage.