[SOLVED] "No space left on device" but supposedly I have about 5GB available
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.
"No space left on device" but supposedly I have about 5GB available
I have a separate /home partition.
Lately I began to get all kinds of "low disk space" alerts.
Today I got the same and bash began complaining about "No space left on device". But I had supposedly 3 GB available (according to filelight and also confirmed via df -h).
I moved a multi-gigabyte file out of the partition to no avail.
I use -current (64-bit) with AlienBob's Plasma 5 packages, in case this helps.
Can anyone help me locate the cause of this problem? Thanks in advance.
You need 5% for the system. If you have a 20GB drive, having 3GB available would be OK. It it's a 1TB drive, not. What's the output of df -h? What's filling up, your /home partition or /?
You need 5% for the system. If you have a 20GB drive, having 3GB available would be OK. It it's a 1TB drive, not. What's the output of df -h? What's filling up, your /home partition or /?
The size of the physical drive is 256 GB (SSD).
The size of the partition is 47 GB. So, based on your parameters, I think I got plenty.
While the system/root reserved is really useful on / (root) partition, maybe you will want to use at max your space within the /home partition.
IF you use EXT4, you have a way to remove this limitation:
Code:
tune2fs -r 0 /dev/sda7
To note that this command require a reboot or an umount/mount before to enjoy all your space as user.
I have the habit to use a similar command on any non-system partition, where I want any user to have full access to all space.
BTW, removing the reserved space has negative effects over the filesystem fragmentation. Not that this is so important for a SSD, but to take note about this misfeature.
Last edited by Darth Vader; 04-25-2018 at 09:05 AM.
I removed an old compilation directory from my root partition and cleaned the /tmp directory and now the problem seems to be gone. Thanks to all involved but I'll keep a close eye on my partitions.
Marking thread as solved (hopefully).
I'd say the / partition looks full with less than 1MB available on a 50GB partition. I don't know what you are using the machine for but I've had systems installed for years and updated and never got to 15GB. Definitely something to keep an eye and at least now you know the source of the problem and how to treat it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.