SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My root seems to fill up quite quickly with Slackware and somehow 15G isn't enough - I don't believe I've put 8Gs of software in since I installed a month or two back, but I guess I have unless df -h is wrong!
I'm a little puzzled as to how this is happening. I uninstalled/reinstalled wine and used up 500megs apparently. No big deal I guess - I've got loads of spare space so I may as well make a new / directory on another HDD where I've got loads of space.
To change root, would it be sufficient to copy the existing root to the new partition, change the applicable entry in fstab and then mount -a?
No, that would not be sufficient, and could possibly damage the system. To do it safely you should copy the partition, change fstab, and edit /etc/lilo.conf from a live cd. But before you do that, you should try to find out why it's happening in the first place. The first thing that comes to mind is /tmp. Second is /var. I'm assuming of course that they're on the root partition, and not seperate. If you could run
Code:
du --max-depth=1 -h -x / | sort -hr
and post the output here so we can help you better, otherwise you'll likely run into the same problem eventually no matter how large you make the new root partition.
Last edited by KDHofAvalon; 07-28-2012 at 02:47 PM.
Using the same code reveals another 1.2G in /var, of which 1G is in /var/tmp.
If we assume that the full install was 7G, then there's still 4G or so to be accounted for; some will be a good number of AlienBob's packages, Flash, LibreOfffice as well as multilibs.
My system's working very well and I have nothing else weird going on.
You can just delete the packages if you are sure you won't need them. I usually save the packages in another folder and clean /tmp afterwards. Also, you can clear the sources cache from sbopkg, this will free some space in /var
If you have enough RAM, why not put /tmp in tmpfs? Then, when you reboot, it's all gone. Of course, that seems like a LOT of stuff from SBo that you've built. I hope you keep those pkgs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.