Linux MintThis forum is for the discussion of Linux Mint.
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.
I booted 18.0 Cinnamon 64bit and got notice that there was no room in Home. 750 GB HDD. An hour earlier home had about 250 GB in it. The drive is backed up to a 1 TB HDD which shows that home has about 250 GB in it.
I had removed the 750 GB HDD earlier and was running a live session. I shut down the live session. Looked like the computer was shutdown. Black screen, no flashing HDD indicator, or other lights. I thought the laptop was off so I inserted the 750 GB drive (the HDD caddy just slides in on this laptop) I think the laptop was still on when I inserted the HDD and that's what causing the problem. I ran System Monitor. It showed the CPU flatlining at 100%.
At Accessories > Disks, Smart indicates the Drive is OK. At Disks there is an option to restore disk image. Should I do that? Wuold it be OK to rsync particular folders to the other drive?
What does 'df -h' report? It seems you may have an older installation where the root filesystem also contains the entirety of /home. You may be overdue for some ordinary maintenance, such as 'apt-get autoremove' and/or 'apt-get clean'.
I was under the impression you couldn't boot the system - look at your (real) logs then. Sorry about that command - should be a blank before the minus; don't bother, we have the info now.
Sure enough, /home is full. Run this, then start pruning.
I am now booted to Mint Cinnamon 18.0 Live. (that's what I installed with bask in 2016) Where do I find the Live Logs in 18?
Home is full, but of what? An hour before this happened there was only about 250 GB in home.
When I run sudo du /home -xh | sort -hr | head - 15 is that when I begin pruning?
When look at home on the hdd I do not see anything unusual. Looks pretty much like my other 1 TB drive that has my home copied it. It is about 250GB. I am guessing that about 500GB of blank space is being interpreted as being occupied.
$ sudo du /home -xh | sort -hr | head - 15
==> standard input <==
0 /home/mint/Videos
0 /home/mint/Templates
0 /home/mint/Public
0 /home/mint/Pictures
0 /home/mint/Music
0 /home/mint/.mozilla/firefox/mwad0hks.default/webapps
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/temporary
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome/idb/2918063365piupsah.files
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome/idb
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome
head: cannot open '15' for reading: No such file or directory
I am currently going through each folder in home to see how big they are. I will add them up and I am guessing the total will be around 250 GB. So far none of them have more than I would expect.
Sorry my keyboard must be playing up - that should be "head -n 15". Even so, it should give you "human readable" sizes - did you run that on the "real" system, not the liveCD I hope.
I am currently going through each folder in home to see how big they are. I will add them up and I am guessing the total will be around 250 GB. So far none of them have more than I would expect.
You might like to try the cli command ncdu for this purpose. It incorporates navigation and handles the adding for you, and sorts with most heavily used location at the top.
Sorry my keyboard must be playing up - that should be "head -n 15". Even so, it should give you "human readable" sizes - did you run that on the "real" system, not the liveCD I hope.
yeah, that was from the drive in question, not live. I am now live.
can anything be done if the total of the individual folders equal about 250GB?
Make sure your file manager isn't one that keeps hidden files hidden. If you've only accounted for 250G on a partition of 657G, you've not accounted for but a fraction of what's there. Try using ncdu or nc in an Xterm or vtty. They don't hide anything AFAICT. If you switch an nc panel into full width mode (Listing format menu after opening menu with F9 and down arrow), you'll get more and better info about the files and directories shown.
You might like to try the cli command ncdu for this purpose. It incorporates navigation and handles the adding for you, and sorts with most heavily used location at the top.
I did ncdu
I could not copy the results. I am sending from another computer as FF is wonky on the laptop.
The first line of ncdu shows 424.3 GiB - on sdb!? There is no sdb. No other drive connected right now. Disks gui ID's the drive as sda. Adding the 423.578 to the total below brings the total to 655.578 GiB
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.