root partition full, not sure how; where are my files?
MEPISThis forum is for the discussion of MEPIS 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.
root partition full, not sure how; where are my files?
It seems that my root partition (4GB) is full; "df" says its full and I cannot load Synaptic repos due to "no space."
This has happened to me twice, when I tried to delete files on a different partition that were larger than the root partition; the machine's attempt to put these large files into my small root partition's trash caused those problems. I've tried to avoid that since. I don't think that I've moved anything large from the large partition to the smaller system partition, but its still full. The Trash is empty.
Any way to look for lost files or to run some sort of disk cleanup? Or where might I find these files?
Also, somewhat related, is there any way to have Konqueror show that size of all-subfiles-and-folders, as opposed to it just saying that folderx is 14k when its obviously holding a lot more?
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
well one of the things you can do to free up some space is to do this:
apt-get clean
also uninstall applications you dont use, they will take up space. and your 'trash' is in your /home/ partition
if you want to paste the outputs of these commands I might be able to help you figure out a partitioning scheme that is more useful to you.
df -h
cat /etc/fstab
I am pretty sure they're set ok; the system partition shouldn't fill 5gb, should it? and my hdb5 should not be filled either...
This is a pretty standard install of mepis, with a few progs added. I don't like the looks of this.
here is how my apt-get update is looking:
Code:
Failed to fetch ftp://ftp.debian.org/debian/dists/un...y-i386/Release Write error - write (28 No space left on device)
Reading Package Lists... Error!
E: Unable to write mmap - msync (28 No space left on device)
E: The package lists or status file could not be parsed or opened.
root@5[XXX]#
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
tell me the LAST line of output of each of these commands (make sure to run this as root or you will get wrong sizes):
du -h /var
du -h /usr
du -h /root
I'm not at that box right now but if you want me to do so later I can. Yeah, I apt-cleaned. I found the error though: me. (Usually is). I had rin a program in root when i launched it from the cli and its temp file location chewed up my hda1 root partition space. The hdb5 i am pretty sure is due to recently copying large amounts of data onto that drive (about 7 DVDs). Yeah I should have thought of these but I didn't!
Thanks for your help. Would you like me to post those commands still, for a mutual learning experiece? Happy to do so...
Re: root partition full, not sure how; where are my files?
Quote:
Originally posted by lefty.crupps ...
Also, somewhat related, is there any way to have Konqueror show that size of all-subfiles-and-folders, as opposed to it just saying that folderx is 14k when its obviously holding a lot more?
Lefty...you run du from a shell prompt "konsole". It is a command line program. You can find out more by typing man du, but a quick du * -sh will give you a summary listing of what each file in the file system takes up from that point lower. The -sh switch tells it to check sub folders and display in human readable format. From there you can pick the biggest one and drill down. Sometimes you have to check the /var directory because the log files and apt-cache are stored there. These can sometimes accumulate over time.
I think what he meant is that it doesn't solve his "somewhat related" problem, which is specifically how to get Konqueror to do something -- presumably to improve the GUI experience from his perspective. On re-reading this today, I realized I would also like to know how to do that. Then I realized that I do, sort of: Right click (or equivalent0) on the target folder * select "Properties". The info is under the "General" tab, in the middle section of the dialog box. I have no idea if you can, or if the developers would think you should want to, change the regular display.
BTW, a useful addition to any CLI command for examining partitions & filesystems is | grep ^/, e.g.:
The best tool I know for this is the FSView ("file size view") plugin for konqueror. If you're already using konqueror, and you don't have FSView, then all you need to do is install the konq-plugins package.
As far as I can tell, Konqueror's FSView beats the socks off of all the other tools. It shows directories and files in a "box-in-box" view, and even puts names and human-readable (e.g. 200 MB) sizes on the bigger boxes, where there is room. I've looked at screenshots for baobab, filelight, kdirstat, and a few others, and none of them comes close to FSView in terms of showing the maximal amount of useful information.
To be fair, FSView is kind of sluggish, and doesn't update dynamically as the file system changes. Some other tools might be quicker. It does, however, allow you to click on a sub-directory box and expand that to show its details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.