Score:0

Says i'm out of storage but i'm not

sl flag

When I try and run any app or tab auto complete it says I'm out of space ex. -bash: cannot create temp file for here-document: No space left on device

But when I run df -h it says I have 67% space used

Filesystem                      Size  Used Avail Use% Mounted on
udev                            7.8G     0  7.8G   0% /dev
tmpfs                           1.6G  1.2M  1.6G   1% /run
/dev/mapper/minecraft--vg-root   48G   31G   15G  67% /
tmpfs                           7.9G   20K  7.9G   1% /dev/shm
tmpfs                           5.0M     0  5.0M   0% /run/lock
tmpfs                           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/loop0                       54M   54M     0 100% /snap/snapd/19457
/dev/loop1                       45M   45M     0 100% /snap/certbot/3024
/dev/loop2                       64M   64M     0 100% /snap/core20/1974
/dev/sda1                       719M  139M  544M  21% /boot
tmpfs                           1.6G     0  1.6G   0% /run/user/1000

Here is df -ih

Filesystem                     Inodes IUsed IFree IUse% Mounted on
udev                             2.0M   441  2.0M    1% /dev
tmpfs                            2.0M   727  2.0M    1% /run
/dev/mapper/minecraft--vg-root   3.1M  3.1M     0  100% /
tmpfs                            2.0M     3  2.0M    1% /dev/shm
tmpfs                            2.0M     4  2.0M    1% /run/lock
tmpfs                            2.0M    18  2.0M    1% /sys/fs/cgroup
/dev/loop0                        658   658     0  100% /snap/snapd/19457
/dev/loop1                       7.5K  7.5K     0  100% /snap/certbot/3024
/dev/loop2                        12K   12K     0  100% /snap/core20/1974
/dev/sda1                         46K   313   46K    1% /boot
tmpfs                            2.0M    12  2.0M    1% /run/user/1000

Any help would be help full

hr flag
Did you also check the inode usage - as suggested here for example [bash: cannot create temp file for here-document: No space left on device](https://askubuntu.com/questions/948722/bash-cannot-create-temp-file-for-here-document-no-space-left-on-device)
Colin Sutter avatar
sl flag
@steeldriver I updated the post to include the inode stuff
Artur Meinild avatar
vn flag
You've run out of inodes - meaning you have too many files on the disk.
Artur Meinild avatar
vn flag
https://askubuntu.com/questions/231585/running-out-of-inodes. So you are out of storage - just not space, but rather "reference points" (inodes).
Colin Sutter avatar
sl flag
thank you both for helping me find the problem
Artur Meinild avatar
vn flag
I've added an answer to the duplicate post, explaining how to reformat your filesystem with more inodes. https://askubuntu.com/a/1478154/1066942
guiverc avatar
cn flag
[Ubuntu 18.04 LTS has reached the end of it's *standard* support life](https://fridge.ubuntu.com/2023/05/13/extended-security-maintenance-for-ubuntu-18-04-bionic-beaver-begins-31-may-2023/) thus is now off-topic here unless your question is specific to helping you move to a *fully supported* release of Ubuntu. Ubuntu 18.04 ESM support is available, but not on-topic here, see https://askubuntu.com/help/on-topic See also https://ubuntu.com//blog/18-04-end-of-standard-support
guiverc avatar
cn flag
When you create the file-system (*format* time) you give details and set size limits. Defaults work for most circumstances assuming sufficient maintenance is done on the system, but defaults won't work for all situations.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.