[SOLVED]Low Disk Space

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

[SOLVED]Low Disk Space

Post by Cattleman » Sat May 14, 2016 8:09 pm

Error message Low Disk Space 1.1 GB disk space remaining. Disk use report shown in screen shot.
file:///home/loy/Desktop/Screenshot%20from%202016-05-14%2018:37:03.png

logrotate.config (/etc) screenshot file:///home/loy/Desktop/Screenshot%20from%202016-05-14%2018:56:24.png

I don't have a clue how to fix this.

It also seems that I don't even know how to copy screenshot image to my post!

Please advise
Last edited by Cattleman on Thu May 19, 2016 6:34 pm, edited 2 times in total.

User avatar
Meteora
Level 1
Level 1
Posts: 19
Joined: Wed Apr 27, 2016 12:06 pm

Re: Low Disk Space

Post by Meteora » Sat May 14, 2016 8:45 pm

Test picture, since I've never done it on this forum

Ok, either you had bad luck and you should just try it again, or you missed the "Add the file" button down there in the attachment menu. I almost missed it... I've never seen an extra button for that before on other phpbb forums.
Attachments
doghumanface.jpg
The stains come alive where the paint has gone dry
You float above looking down reaching out to me
Depicting a beautiful scene that shapes divinity

BlackVeils
Level 5
Level 5
Posts: 589
Joined: Wed Nov 06, 2013 9:26 am

Re: Low Disk Space

Post by BlackVeils » Sun May 15, 2016 3:53 am

copy and paste this command into the terminal:

Code: Select all

sudo du -chd1 / --exclude={proc,dev,sys,run,tmp,mnt,media} | sort -hr; echo; ls -lSh /var/log
to list the size of folders in your system, just the first level. it will also list the size of log files.

wait for the results, then copy and paste them back here, into code tags. you do that by clicking the 'Code' button, then press Ctrl+V keys to paste the results.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space

Post by Cosmo. » Sun May 15, 2016 6:01 am

You missed to tell us the basic system specs. If you don't know open a terminal and enter:

Code: Select all

inxi -Sz
Paste the output here.

To get an overview for your drives do the same with this command:

Code: Select all

sudo lsblk
Open the menu and enter in the search bar baobab; the name in the menu appears differently, depending from your language.
This tool does show you, where your space gets occupied.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 11:12 am

I forgot to say that I am running Mint 17.3 64 bit Rosa Cinnamon
Last edited by Cattleman on Mon May 16, 2016 6:09 pm, edited 1 time in total.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 11:16 am

Code: Select all

26G	total
26G	/
19G	/home
4.6G	/usr
2.2G	/var
570M	/opt
309M	/lib
46M	/boot
26M	/etc
16M	/sbin
9.7M	/bin
5.7M	/root
3.5M	/lib32
16K	/lost+found
4.0K	/srv
4.0K	/lib64
4.0K	/cdrom

total 4.3M
-rw-r----- 1 syslog            adm  1.3M May 15 09:40 kern.log.1
-rw-r----- 1 syslog            adm  764K May 15 09:45 syslog.1
-rw-r--r-- 1 root              root 344K May 15 09:47 udev
-rw-rw-r-- 1 root              utmp 286K Jan  9 16:20 lastlog
-rw-rw-r-- 1 root              utmp 158K May 15 10:14 wtmp
-rw-r----- 1 syslog            adm  149K May 10 16:04 kern.log.2.gz
-rw-r--r-- 1 root              root 149K Jan 28 16:52 dpkg.log.4.gz
-rw-r----- 1 syslog            adm  127K May 15 10:07 syslog
-rw-rw-r-- 1 root              utmp  96K May  1 10:30 wtmp.1
-rw-r----- 1 syslog            adm   95K May 15 10:03 kern.log
-rw-r----- 1 syslog            adm   92K May 10 16:04 syslog.6.gz
-rw-r--r-- 1 root              root  74K May 14 10:58 dpkg.log
-rw-r----- 1 syslog            adm   68K May  7 09:52 syslog.7.gz
-rw-r--r-- 1 root              root  65K Apr 26 12:37 dpkg.log.1
-rw-r--r-- 1 root              root  64K Nov 28 08:22 bootstrap.log
-rw-r----- 1 root              adm   55K May 15 09:47 dmesg
-rw-r----- 1 root              adm   55K May 15 09:40 dmesg.0
-rw-r----- 1 syslog            adm   50K Apr 26 12:31 kern.log.4.gz
-rw-r----- 1 syslog            adm   46K May 13 14:07 syslog.3.gz
-rw-r----- 1 syslog            adm   46K May 14 08:52 syslog.2.gz
-rw-r--r-- 1 root              root  46K May 15 09:47 pm-powersave.log
-rw-r----- 1 syslog            adm   45K May 12 11:24 syslog.4.gz
-rw-r----- 1 syslog            adm   36K May 15 09:40 auth.log.1
-rw-r--r-- 1 root              root  32K Jan  9 16:20 faillog
-rw-r--r-- 1 root              root  28K May  1 10:31 pm-powersave.log.1
-rw-r----- 1 syslog            adm   24K May 11 12:48 syslog.5.gz
-rw-r--r-- 1 root              root  23K May 15 09:46 Xorg.0.log.old
-rw-r--r-- 1 root              root  22K May 15 09:56 Xorg.0.log
-rw-r----- 1 syslog            adm   17K May  1 10:31 kern.log.3.gz
-rw-r----- 1 root              adm   16K May 14 17:35 dmesg.2.gz
-rw-r----- 1 root              adm   16K May 14 19:41 dmesg.1.gz
-rw-r----- 1 root              adm   16K May 14 17:08 dmesg.3.gz
-rw-r----- 1 root              adm   16K May 14 16:17 dmesg.4.gz
drwxr-xr-x 2 root              root  12K May 15 09:47 upstart
-rw-r--r-- 1 root              root 9.2K Mar 30 18:33 dpkg.log.2.gz
-rw-r--r-- 1 root              root 8.9K Feb 23 09:40 dpkg.log.3.gz
-rw-r--r-- 1 root              root 6.1K May 15 09:47 mintsystem.log
-rw-r--r-- 1 root              root 4.7K Jan 28 16:36 alternatives.log.4.gz
-rw-r--r-- 1 root              root 4.4K May 15 09:47 boot.log
drwxr-xr-x 2 root              root 4.0K May  1 10:35 apt
drwxr-xr-x 2 root              root 4.0K May  1 10:35 ConsoleKit
drwxr-xr-x 2 root              root 4.0K May 15 09:45 cups
drwxr-xr-x 2 root              root 4.0K Nov 28 08:20 fsck
drwxr-xr-x 2 root              root 4.0K Jan 27 10:15 installer
drwxr-xr-x 2 root              root 4.0K May 15 09:47 mdm
drwxr-xr-x 3 root              root 4.0K May 15 09:45 samba
drwx------ 2 speech-dispatcher root 4.0K Feb 19  2014 speech-dispatcher
drwxr-xr-x 2 root              root 4.0K Jan  9 16:59 unattended-upgrades
-rw-r--r-- 1 root              root 3.7K Nov 28 08:47 fontconfig.log
-rw-r----- 1 syslog            adm  3.7K May 15 10:14 auth.log
-rw-r----- 1 syslog            adm  2.4K May 14 08:52 ufw.log.1
-rw-r----- 1 syslog            adm  2.4K May 10 15:59 auth.log.2.gz
-rw-r--r-- 1 root              root 1.7K May 15 09:47 gpu-manager.log
-rw-r----- 1 syslog            adm  1.4K Apr 26 12:34 auth.log.4.gz
-rw-r--r-- 1 root              root 1.2K May 14 10:58 alternatives.log
-rw-r--r-- 1 root              root 1.1K Apr 26 12:37 alternatives.log.1
-rw-r--r-- 1 root              root 1009 Feb  1 13:08 pm-powersave.log.4.gz
-rw-r--r-- 1 root              root  885 Mar  1 09:11 pm-powersave.log.3.gz
-rw-r----- 1 syslog            adm   862 May 10 16:04 ufw.log.2.gz
-rw-r--r-- 1 root              root  721 Apr  1 11:12 pm-powersave.log.2.gz
-rw-r----- 1 syslog            adm   627 May  1 10:31 auth.log.3.gz
-rw-r----- 1 syslog            adm   514 May  5 12:39 ufw.log.3.gz
-rw-r--r-- 1 root              root  398 Feb 23 08:49 alternatives.log.3.gz
-rw-r--r-- 1 root              root  394 Jan 10 11:17 aptitude.1.gz
-rw-r--r-- 1 root              root  389 Mar 30 18:33 alternatives.log.2.gz
-rw-r----- 1 syslog            adm   237 Apr 22 20:12 ufw.log.4.gz
-rw-r--r-- 1 root              root   40 Feb  1 17:40 gufw.log
-rw-r--r-- 1 root              root    0 Feb  1 13:13 aptitude
-rw-rw---- 1 root              utmp    0 May  1 10:35 btmp
-rw-rw---- 1 root              utmp    0 Apr  1 11:17 btmp.1
-rw-r--r-- 1 root              root    0 Nov 28 08:50 pycentral.log
-rw-r----- 1 syslog            adm     0 May 15 09:45 ufw.log
loy@loy-Vostro-220-Series ~ $ 

BlackVeils
Level 5
Level 5
Posts: 589
Joined: Wed Nov 06, 2013 9:26 am

Re: Low Disk Space

Post by BlackVeils » Sun May 15, 2016 11:18 am

from what you've said, might be that you didn't give the system enough room, you have 19gb in a user's folder?

nothing standing out to me there. try running this command:

Code: Select all

df -h /

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 11:23 am

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 468.1G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 430.5G 0 part /media/loy/d73dfe0e-8184-43bf-a754-3a96e86da8f0
├─sda6 8:6 0 4G 0 part [SWAP]
└─sda7 8:7 0 28.9G 0 part /
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 39.2M 0 part
├─sdb2 8:18 0 172.3G 0 part
├─sdb3 8:19 0 1K 0 part
├─sdb5 8:21 0 289.4G 0 part
└─sdb6 8:22 0 4G 0 part
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part /media/loy/My Book
sr0 11:0 1 1024M 0 rom

BlackVeils
Level 5
Level 5
Posts: 589
Joined: Wed Nov 06, 2013 9:26 am

Re: Low Disk Space

Post by BlackVeils » Sun May 15, 2016 11:28 am

that wasn't the output I was expecting, maybe I remembered the command wrong..... it should have shown partition size and percentage used. go for this instead then:

Code: Select all

sudo parted -l
this will list your disks and partitions.

does 19gb seem right to you for your user or any other user on the computer?

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 12:36 pm

Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 41.1MB 41.1MB primary fat16 diag
2 41.9MB 185GB 185GB primary ntfs boot
3 185GB 500GB 315GB extended
5 185GB 496GB 311GB logical ext4
6 496GB 500GB 4256MB logical linux-swap(v1)


Model: WD 10EACS External (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 1000GB 1000GB primary ntfs

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space

Post by Cosmo. » Sun May 15, 2016 12:43 pm

Cattleman wrote:└─sda7 8:7 0 28.9G 0 part /
This is your system partition and there is no separate /home partition. 30 GB for system and data are probably too little. Anyway, inspect the system partition with baobab (as described above) and you will see, where the place gets mostly used.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 1:01 pm

I don't see any information on baobab

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 1:06 pm

Cosmo, you are right. All my space is used. how do I change it and how much space should I have?

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space

Post by Cosmo. » Sun May 15, 2016 5:29 pm

That (nearly) all your space is used is nothing new; we know it since your starting post. Baobab tells you, where it is used.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 5:54 pm

It is used mainly in 3 areas. Pictures, Videos, and Downloads. I deleted some downloads. Where should I move Pictures and Videos?

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space

Post by Cosmo. » Sun May 15, 2016 6:30 pm

As your internal drives seem to be completely used, you will have to move them to an external drive.

30 GB is not really much, if you have a big amount of user data. So the problem will reappear. What we know now is, that the low disk space is not a technical problem, but simply means "the box is full". You might think about the question, if you will enhance the space with an additional internal drive.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 6:39 pm

I do have an additional internal drive installed. So what is the procedure to enhance the space? I would like to enhance it a lot. Would 50 GB or more be appropriate?

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space

Post by Cosmo. » Sun May 15, 2016 8:11 pm

Additional 50 GB is better than now, but if it is enough or appropriate on the long run depends from your usage; I cannot answer this.

What comes in my mind is to move the content of sda5 to the other drive; it seems to be a data partition. This would give plenty room, to enhance sda7.
Open a terminal, press F11 and enter

Code: Select all

cat /etc/fstab
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button above the text box, than press ctrl-v.

Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 8:29 pm

Code: Select all

loy@loy-Vostro-220-Series ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=764058ad-83d8-408b-9a1b-08452937fd41 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=3ba49dd9-af8d-44cf-a9c1-3f393f8e0861 none            swap    sw              0       0
loy@loy-Vostro-220-Series ~ $ 


Cattleman
Level 3
Level 3
Posts: 124
Joined: Tue Dec 02, 2014 11:59 am

Re: Low Disk Space

Post by Cattleman » Sun May 15, 2016 9:29 pm

Why is everything on sda7 which is only 30 GB when I have sda5 which is 430 GB and the last time it was used was last Jan.2016? How can I use the sda5 available space?

Post Reply

Return to “Other topics”