No hard disk space where I have 150gb unused in /dev/sda5
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
That's expected. /dev/sda5 is the device (partition) of the file system, not where it is mounted. And anyway /dev/sda5 is for the / file system, not /home.
To find the large files on the /home file system:
Code:
find /home -size +100M
If that lists too many files to be useful, increase the 100.
/home is almost full, you will need to resize
/ is only 6% full
You can take almost 90% of / & not hurt it
The suggestion at post #10 I made earlier was not correct, use this 1
Quote:
If everything on /home is important use gparted-live & shrink sda5 from the left, also shrink the extended sda4 from the left, then move sda3 to the right & grow sda2
The point is, you've got a physical disk which has 250GB of 'space'.
This you have broken down into multiple partitions as shown by 'df -h' & 'fdisk -l'
Each partition is effectively its own disk.
As above
1. your /home partition is nearly full, which is what the msg is in fact saying if you read it
2. you don't need 150Gb for root partition (aka '/'); ideally you should probably re-partition to use e.g. 50GB for '/' and the rest for home.
(in actual fact the programs, cfgs etc stored in '/' should fit inside 10 (maybe 20 ) GB, but as it sits, you're also going to have all your logs under there as well.
I had a low disk space warning come up too. I thought it was too many pictures and tried rmoving them. When it kept happening I figured i better try something else. I found a post that said the logs may not be purging the old reports.
I down loaded Bleach bit from package manager and ran it from root, I found my logs were way too many!
I used bleach bit to clean and I regained about 30 GB of space! There are languages that come with packages that you do not need and just take up space. It can be configured to keep only your preferred languages.
Try it it may help. All files can be previewed so you do not delete something you need.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.