Low Disk Space Warning

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Low Disk Space Warning

Post by Fairway Fatty » Tue Aug 20, 2019 12:18 pm

PC #1
Dual boot Win10/18.3 Cinnamon install.
What do I need to do to stop getting the low disk space warning?
Is this enough space to upgrade to 19.2?
Thanks. FF
Attachments
Screenshot from 2019-08-20 12-10-53.png
Last edited by Fairway Fatty on Wed Aug 21, 2019 8:57 pm, edited 1 time in total.

User avatar
Schultz
Level 7
Level 7
Posts: 1601
Joined: Thu Feb 25, 2016 8:57 pm

Re: Low Disk Space Warning

Post by Schultz » Tue Aug 20, 2019 1:07 pm

I can't tell from your screenshot, but most low disk space warnings are due to not deleting old unused kernels. Delete all your old kernels except your current one and the one previous to that and see if that helps.

pbear
Level 7
Level 7
Posts: 1817
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Low Disk Space Warning

Post by pbear » Tue Aug 20, 2019 1:09 pm

What low disk space warning? Your Mint root partition looks to be only one-third used. OTOH, obviously you have way more space in the Windows partition than you need. And reinstalling with 19.2 so you could get rid of the swap partition might be worth the price of admission all by itself. Indeed, if you did a manual installation (using the Something Else method), you could use just four primary partitions, i.e., no extended or logical ones.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
Flemur
Level 17
Level 17
Posts: 7082
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Low Disk Space Warning

Post by Flemur » Tue Aug 20, 2019 1:25 pm

Yuor picture doesn't really say much, other than you have plenty of room in "/" for an OS (60GB: a linux/Mint OS is more likely to take 5GB to 30GB) - so if it's probably filled with stuff in your /home. Or it could be gigantic log files, or a LOT of old kernels.

To find out, try this:

Code: Select all

df
and

Code: Select all

sudo du -d 1 / | sort -n
the biggest directories will be at the bottom (ignore "cannot access '/proc/..." messsages).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Tue Aug 20, 2019 6:51 pm

PC #1
I dont have the error now. I have gotten it before but this time when it popped up I had just ran Time Shift and i guess the backup file caused the error. I did a reboot and it was stuk in grub. I had to boot to live to clear up some space and I deleted the backup file and deleted 2 gig of music, some apps i wasnt using and any old kernels and downloads. Then I was able to boot to my HD from grub. I then shrunk a 2TB external I have for Win10 to 1.5TBWin & .5TbMint. I then ran time shift sending that file to external drives mint space i created. I started to copy some of the music i deleted and some other files back over and then i noticed that disk space error popped up. I closed it and thats why posted the question because there is a lot of free space but i still get the error.
I found an ran this on the forum to clean old kernels

Code: Select all

dpkg-query -W -f '${Version}\n' 'linux-image-[^g]*'|sort -u|sed -e '/^$/d' -e 's/\~[^~]*$//' -e 's/\.[^.]*$//' -e "/$(uname -r|sed 's/-generic\|-lowlatency//')/d" -e 's/.*/linux-*-&*/'|tr '\n' ' '|xargs -pr sudo apt-get remove --purge -y
viewtopic.php?f=46&t=281872&p=1554622&h ... s#p1554622

here is results from sudo du -d 1 / | sort -n

Code: Select all

0	/proc
0	/sys
4	/cdrom
4	/lib64
4	/mnt
4	/srv
16	/lost+found
32	/timeshift
272	/dev
356	/tmp
660	/root
3952	/lib32
16376	/bin
17876	/run
18988	/sbin
78104	/etc
78704	/boot
483872	/opt
567356	/lib
2126068	/var
2806664	/snap
5292128	/usr
8121720	/home
675879843	/media
695577003	/
Last edited by Fairway Fatty on Wed Aug 21, 2019 8:56 pm, edited 3 times in total.

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Wed Aug 21, 2019 9:46 am

PC #2
I received the same error on an older machine this morning.... I just installed a new 320gb HD in it and installed Mint 19.2 using the "erase disk and install option". (With that said I didnt allocate any space etc. during the install I let mint do everything.)
I dont know why I get the message as I let Mint Install do everything.
Let me know what additional info is needed.
Thanks FF
This is the message that popped up-
Space Error.png
Space Error.png (38.02 KiB) Viewed 508 times
When I click examine, here is Disk Usage it displays-
Disk Usage.png
Gpart Screenshot
GPART Shot.png
GPART Shot.png (23.86 KiB) Viewed 508 times
Here is results of sudo du -d 1 / | sort -n
0 /dev
0 /proc
0 /sys
4 /cdrom
4 /lib64
4 /mnt
4 /opt
4 /srv
12 /media
16 /lost+found
76 /root
112 /tmp
1440 /run
16280 /bin
18540 /sbin
59116 /etc
150796 /boot
361680 /home
534016 /var
853520 /lib
5067888 /usr
7063516 /
Here is the System Info uploaded to Termbin - https://termbin.com/j8u2
Last edited by Fairway Fatty on Wed Aug 21, 2019 8:56 pm, edited 1 time in total.

User avatar
Larry78723
Level 6
Level 6
Posts: 1151
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Low Disk Space Warning

Post by Larry78723 » Wed Aug 21, 2019 2:40 pm

Please post the results of the following command:

Code: Select all

df -m
It will tell us the size of each partition and how much is used.
Image

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Wed Aug 21, 2019 6:32 pm

PC #2
Results from df -m
Filesystem 1M-blocks Used Available Use% Mounted on
udev 3924 0 3924 0% /dev
tmpfs 798 2 797 1% /run
/dev/mapper/mint--vg-root 298459 14639 268592 6% /
tmpfs 3989 133 3856 4% /dev/shm
tmpfs 5 1 5 1% /run/lock
tmpfs 3989 0 3989 0% /sys/fs/cgroup
tmpfs 798 1 798 1% /run/user/1000
Last edited by Fairway Fatty on Wed Aug 21, 2019 8:55 pm, edited 1 time in total.

User avatar
Larry78723
Level 6
Level 6
Posts: 1151
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Low Disk Space Warning

Post by Larry78723 » Wed Aug 21, 2019 8:06 pm

I noticed this in your response to df -m:
/dev/mapper/mint--vg-root 298459 14639 268592 6% /
Did you select LVM during the install?

Another thought - When you originally installed Mint, did you already have Win 8 or 10 installed? Did you prepare Win following the steps at https://easylinuxtipsproject.blogspot.c ... -mint.html ?
Image

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Wed Aug 21, 2019 8:54 pm

I may have convoluted this thread as I am now referencing two different computers as both have given me low disk space errors in the past day.
PC #1 - I had the disk space error on this machine yesterday. It is my "newer" computer that has been a solid running dual boot (win10/mint) machine for over two years. I occasionally would get the disk space error in the past but it came up recently when I created a time shift backup. As noted in an earlier post I deleted some files to "free" up space and sending backups to an external drive but I dont understand why I needed to.
I dont understand why the message pops up as the disk has ~30gb of free space available

PC #2 - This my "older" computer with a new 320gb HD and mint 19.2 installed. IT is not a dual boot machine. Though I dont recall selecting it as an option, LVM is installed. When the message popped up on this machine I clicked on the disk usage analyser, closed it and it has not popped up again today.
I dont understand why the message pops up as the disk has ~300gb of free space available

User avatar
WharfRat
Level 21
Level 21
Posts: 13080
Joined: Thu Apr 07, 2011 8:15 pm

Re: Low Disk Space Warning

Post by WharfRat » Wed Aug 21, 2019 9:42 pm

Fairway Fatty wrote:
Wed Aug 21, 2019 8:54 pm
PC #2 - This my "older" computer with a new 320gb HD and mint 19.2 installed. IT is not a dual boot machine. Though I dont recall selecting it as an option, LVM is installed. When the message popped up on this machine I clicked on the disk usage analyser, closed it and it has not popped up again today.
I dont understand why the message pops up as the disk has ~300gb of free space available
Can you return ls -lh /boot for the afore mentioned computer.

I don't understand why df did not return the size of the /boot partition if you have LVM or encryption :?
ImageImage

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Wed Aug 21, 2019 11:04 pm

PC #2
Note - The drive is a "new" - refurbished and I installed it and loaded 19.2 yesterday.
Results from ls -lh /boot

Code: Select all

total 141M
-rw-r--r-- 1 root root 213K Jun 24 05:39 config-4.15.0-54-generic
-rw-r--r-- 1 root root 213K Aug  6 06:45 config-4.15.0-58-generic
drwxr-xr-x 5 root root 4.0K Aug 20 22:50 grub
-rw-r--r-- 1 root root  58M Aug 20 22:50 initrd.img-4.15.0-54-generic
-rw-r--r-- 1 root root  58M Aug 20 22:50 initrd.img-4.15.0-58-generic
-rw-r--r-- 1 root root 179K Jan 28  2016 memtest86+.bin
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+.elf
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+_multiboot.bin
-rw------- 1 root root 3.9M Jun 24 05:39 System.map-4.15.0-54-generic
-rw------- 1 root root 3.9M Aug  6 06:45 System.map-4.15.0-58-generic
-rw-r--r-- 1 root root 8.0M Jul 29 07:13 vmlinuz-4.15.0-54-generic
-rw------- 1 root root 8.0M Aug  6 13:41 vmlinuz-4.15.0-58-generic
Last edited by WharfRat on Wed Aug 21, 2019 11:59 pm, edited 1 time in total.
Reason: Added code tag

User avatar
WharfRat
Level 21
Level 21
Posts: 13080
Joined: Thu Apr 07, 2011 8:15 pm

Re: Low Disk Space Warning

Post by WharfRat » Thu Aug 22, 2019 12:01 am

That looks OK.

What does

Code: Select all

sudo du / -hd1 --exclude={proc,dev,media,mnt,sys,tmp,run,cdrom}|sort -h
and

Code: Select all

mount|grep -w /
return.
ImageImage

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Thu Aug 22, 2019 8:42 am

PC #2
Here is the results - Thanks for helping!

Code: Select all

sudo du / -hd1 --exclude={proc,dev,media,mnt,sys,tmp,run,cdrom}|sort -h
4.0K	/lib64
4.0K	/opt
4.0K	/srv
16K	/lost+found
80K	/root
16M	/bin
19M	/sbin
58M	/etc
148M	/boot
567M	/var
798M	/lib
4.9G	/usr
7.9G	/home
15G	/

Code: Select all

mount|grep -w /
/dev/mapper/mint--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
Last edited by WharfRat on Thu Aug 22, 2019 9:30 am, edited 1 time in total.
Reason: Fixed code tags

User avatar
WharfRat
Level 21
Level 21
Posts: 13080
Joined: Thu Apr 07, 2011 8:15 pm

Re: Low Disk Space Warning

Post by WharfRat » Thu Aug 22, 2019 9:27 am

Unless there's something in one of the previously excluded folders, I see no reason fo low space warnings :?

What does

Code: Select all

sudo du -hd0 /{mnt,media,tmp}
and

Code: Select all

for x in /media/*; do mountpoint $x;done
return
ImageImage

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Thu Aug 22, 2019 9:41 am

PC #2
I havent seen it pop up except that one time yesterday.
Results......

Code: Select all

sudo du -hd0 /{mnt,media,tmp}
4.0K	/mnt
12K	/media
108K	/tmp

Code: Select all

for x in /media/*; do mountpoint $x;done
/media/floppy is not a mountpoint
/media/floppy0 is not a mountpoint
/media/mint is not a mountpoint
Last edited by WharfRat on Thu Aug 22, 2019 9:58 am, edited 1 time in total.
Reason: Fixed code tags

User avatar
WharfRat
Level 21
Level 21
Posts: 13080
Joined: Thu Apr 07, 2011 8:15 pm

Re: Low Disk Space Warning

Post by WharfRat » Thu Aug 22, 2019 9:57 am

Well, I'm stumped :?

It could have been a one-time anomaly because there's nothing hogging space.
ImageImage

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Thu Aug 22, 2019 1:00 pm

WharfRat wrote:
Thu Aug 22, 2019 9:57 am
Well, I'm stumped :?
It could have been a one-time anomaly because there's nothing hogging space.
Thanks for taking a look. I'm going to run the commands on PC #1 and post results...maybe you can see something on that one!

Fairway Fatty
Level 1
Level 1
Posts: 42
Joined: Sun Dec 17, 2017 7:22 pm

Re: Low Disk Space Warning

Post by Fairway Fatty » Thu Aug 22, 2019 2:37 pm

PC #1
Here is the outputs from my "newer" dual boot (PC #1)

Code: Select all

ls -lh /boot
total 67M
-rw-r--r-- 1 root root 213K Jun 24 10:45 config-4.15.0-54-generic
drwxr-xr-x 6 root root 4.0K Aug 20 18:39 grub
-rw-r--r-- 1 root root  55M Jul 21 17:23 initrd.img-4.15.0-54-generic
-rw-r--r-- 1 root root 179K Jan 28  2016 memtest86+.bin
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+.elf
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+_multiboot.bin
-rw------- 1 root root 3.9M Jun 24 10:45 System.map-4.15.0-54-generic
-rw------- 1 root root 7.8M Jun 25 08:23 vmlinuz-4.15.0-54-generic

Code: Select all

sudo du / -hd1 --exclude={proc,dev,media,mnt,sys,tmp,run,cdrom}|sort -h
4.0K	/lib64
4.0K	/srv
16K	/lost+found
32K	/timeshift
660K	/root
3.9M	/lib32
16M	/bin
19M	/sbin
77M	/boot
77M	/etc
471M	/opt
536M	/lib
2.1G	/var
2.7G	/snap
5.1G	/usr
7.8G	/home
19G	/

Code: Select all

mount|grep -w /
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)

Code: Select all

fairway@fairway-MS-7A71 ~ $ sudo du -hd0 /{mnt,media,tmp}
4.0K	/mnt
647G	/media
460K	/tmp

Code: Select all

for x in /media/*; do mountpoint $x;done
/media/fairway is not a mountpoint
Last edited by WharfRat on Thu Aug 22, 2019 5:02 pm, edited 1 time in total.
Reason: Fixed code tags

User avatar
WharfRat
Level 21
Level 21
Posts: 13080
Joined: Thu Apr 07, 2011 8:15 pm

Re: Low Disk Space Warning

Post by WharfRat » Thu Aug 22, 2019 5:08 pm

The only thing that jumps out at me is 647G /media

This '/media/fairway is not a mountpoint' tells me that it's a folder in the root filesystem, i.e., not a mounted partition.

So add 647G to the 19G of the / folder and that would be the total space used.
ImageImage

Post Reply

Return to “Installation & Boot”