I have space on the main partition (about 6gb or 5.3% free) but it is showing as full for some reason. As a result I can’t update.
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 370520 0 370520 0% /dev
tmpfs 375512 5096 370416 2% /run
/dev/mmcblk0p2 122530860 116034876 248716 100% /
tmpfs 375512 0 375512 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 375512 0 375512 0% /sys/fs/cgroup
/dev/mmcblk0p1 244988 20987 224001 9% /boot
tmpfs 75104 0 75104 0% /run/user/1000
INodes
Filesystem Inodes IUsed IFree IUse% Mounted on
devtmpfs 92630 351 92279 1% /dev
tmpfs 93878 401 93477 1% /run
/dev/mmcblk0p2 7790592 94895 7695697 2% /
tmpfs 93878 1 93877 1% /dev/shm
tmpfs 93878 4 93874 1% /run/lock
tmpfs 93878 10 93868 1% /sys/fs/cgroup
/dev/mmcblk0p1 0 0 0 - /boot
tmpfs 93878 4 93874 1% /run/user/1000
122530860 - 116034876 = 6495984 which is about 5.3% free
Whatever, you need to free up space. You device is full. Try df -h
Dude, not helpful. I have 6gb free why does it think it is full?
Really, did you try df -h?
I’ve been using Unix/Linux since 1981. How long have you?
Changing the units doesn’t resolve the mismatch between the amount of my drive in use and the reported amount available.
Filesystem Size Used Avail Use% Mounted on
devtmpfs 362M 0 362M 0% /dev
tmpfs 367M 5.0M 362M 2% /run
/dev/mmcblk0p2 117G 111G 243M 100% /
tmpfs 367M 0 367M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 367M 0 367M 0% /sys/fs/cgroup
/dev/mmcblk0p1 240M 21M 219M 9% /boot
tmpfs 74M 0 74M 0% /run/user/1000
You have 248M free on / this is not enough for an upgrade. You need at least 300M
But why does it say 243MB instead of 6GB when it shows only 111GB used on a 117GB drive?
Looks clear to me, you have 243M available. Bad blocks on the SD card maybe.
You could try fsck on it, but I’d be careful of that if the SD card is failing, fsck could do it in.
I didn’t think of that @fzinken . Good thought!
That adds up @fzinken , thanks.
For anyone who finds this in the future: the reason was indeed that linux reserves 5% for the root user so they can always login and fix problems . In my case, I was using a 128GB SD Card so that about 6GB reserved space, which is a bit excessive. Luckily, you can modify the default amount reserved by using the following command:
sudo tune2fs -m % /dev/mmcblk0p2
Just replace the ‘%’ with amount of disk space (in percent) that you like reserved. To be safe, I set it to reserve 1% which was just over 1GB thus freeing almost 5GB of space.
It’s worth us adjusting this – on the list
JanS
18 June 2017 19:12
16
Hello All
I have since April same problem - Message “Insufficient space for Update to proceed. Free some storage space and try again later.”
By my meaning I have enough space (28% used on root):
osmc@osmc:~$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 362M 0 362M 0% /dev
tmpfs 367M 5.1M 362M 2% /run
/dev/mmcblk0p10 6.1G 1.6G 4.2G 28% /
tmpfs 367M 0 367M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 367M 0 367M 0% /sys/fs/cgroup
/dev/mmcblk0p9 79M 60M 20M 76% /boot
/dev/mmcblk0p1 121M 29M 93M 24% /media/RECOVERY
/dev/mmcblk0p5 30M 1.8M 26M 7% /media/SETTINGS
/dev/mmcblk0p6 63M 21M 43M 32% /media/boot
/dev/mmcblk0p7 7.6G 4.3G 2.9G 61% /media/root0
/dev/mmcblk0p8 488M 2.3M 456M 1% /media/data
/dev/sda1 932G 917G 15G 99% /media/ADATA CH94
/dev/sr0 7.8M 7.8M 0 100% /media/ISO
tmpfs 74M 0 74M 0% /run/user/1000
My logs are here:
http://paste.osmc.tv/tesikucahe
Can you help me please?
Thanks
Jan
JanS
18 June 2017 19:54
18
Thanks for your reply.
I believe that reinstall to standard OSMC will help
Unfortunately I often use also Raspbian and need NOOBs installation.
Any other recommendation?
Thanks
Jan
I’m guessing that the problem is not the OSMC root partition, /dev/mmcblk0p10, but the /boot partition, /dev/mmcblk0p9, which has only 20MB free.
However, the log shows that you have some scope for cleaning out junk on /boot, which is what I’d recommend, starting with uploadlog.txt.
JanS
18 June 2017 20:50
20
After deleting of this file I have:
osmc@osmc:~$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 362M 0 362M 0% /dev
tmpfs 367M 5.1M 362M 2% /run
/dev/mmcblk0p10 6.1G 1.6G 4.2G 28% /
tmpfs 367M 0 367M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 367M 0 367M 0% /sys/fs/cgroup
> /dev/mmcblk0p9 79M 21M 59M 27% /boot
/dev/mmcblk0p1 121M 29M 93M 24% /media/RECOVERY
/dev/mmcblk0p5 30M 1.8M 26M 7% /media/SETTINGS
/dev/mmcblk0p6 63M 21M 43M 32% /media/boot
/dev/mmcblk0p7 7.6G 4.3G 2.9G 61% /media/root0
/dev/mmcblk0p8 488M 2.3M 456M 1% /media/data
/dev/sda1 932G 917G 15G 99% /media/ADATA CH94
tmpfs 74M 0 74M 0% /run/user/1000
That was help.
Thank You So Much
I´m on latest update:
Jan