LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2019, 11:45 AM   #1
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Rep: Reputation: Disabled
The volume local has ( - ) space


Since I installed Mint 19 in March, I have been getting this message on screen very frequently. Cinnamon version 3.8.9, Linux Kernel 4.15.0-65-generic, Memory 7.7GB and Hard Disk 1735GB.

The volume local has ( - ) space The space varies every time.

Last couple of weeks the computer restarts automatically and when the desktop mint screen comes on a similar message appears before i even touch the keyboard.

Not sure if both are related issues.

The volume local is mounted as /usr/local and it has 55GB allocated space now.

I tried to increase the space using Gparted but it did not allow me to increase more than 5GB.

Any thoughts! Thank you

Last edited by Sudharshans; 10-18-2019 at 11:51 AM. Reason: More information
 
Old 10-18-2019, 02:52 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,183

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
do you mean there is no free space on that volume? Or: what do you want to solve?
 
Old 10-18-2019, 03:30 PM   #3
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
do you mean there is no free space on that volume? Or: what do you want to solve?
Why am I getting that message?

The amount of space available varies each time. Sometimes 0 MB available sometimes 4.4 MB and other times something like 658 MB. Is that causing an issue. It also gives the option to "Examine" or "Ignore". If I try to examine it shows all the files it is storing in there but will not allow me to delete them. It has a directory called "Timeshift" Inside that other directories; such as "snapshots", "snapshots-boot", "snapshots-daily" and similar directories and files.
 
Old 10-18-2019, 03:35 PM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,183

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Yes, that is a disk full message. At least it is almost full. You can examine the content and make some free space or ignore the message.
But I have no any idea what can be deleted.
 
Old 10-18-2019, 03:42 PM   #5
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
But it wont let me delete?

Can I increase the space?
 
Old 10-18-2019, 04:27 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,115

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
Depending on how Timeshift is configured it can create multiple snapshots of your entire system. If logs and files etc are created and deleted it will be reflected in the size of the snapshot and used space. I think the default settings keeps the last 5 snapshots. Depending on your backup needs you can reduce the number of snapshots that are kept which will keep the filesystem from becoming full. I also think timeshift will not create a snapshot if there is insufficient space on the volume. Assuming local is an ext filesystem you can reduce the amount of reserved space ( 2.75 GB ) which will give a little extra wiggle room without needing to resize existing volumes using the tune2fs command.

The output of the following commands should show how the drive is partitioned and hopefully if there is any available space.

blkid

sudo parted /dev/sdx print (where x is the drive letter of your hard drive if unknown see output of above command)
 
1 members found this post helpful.
Old 10-26-2019, 07:27 AM   #7
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
Sorry for the delay in responding, I was away.

Out put for
Quote:
blkid
/dev/sdb1: UUID="931c43b2-030f-4aac-bd6b-dfb667609302" TYPE="ext4" PARTUUID="37439080-70cb-4392-8872-bfb6d28a2184"
/dev/sda1: UUID="fc3a6b1d-2101-478f-a47f-0fcb2cac86f9" TYPE="ext4" PARTUUID="49f3e4ec-49f1-4a7b-a85e-658cc90089bf"
/dev/sda2: LABEL="Filesystem" UUID="97d9603f-2493-4768-816a-dade4d446b43" TYPE="ext4" PARTUUID="61d9ffe2-7f8f-4552-8c29-831c576bff2e"
/dev/sda3: UUID="057ce181-8956-4f05-b4e5-9488a983d1fa" TYPE="ext4" PARTUUID="6b5491ea-9bca-4bbf-9592-361de0613724"
/dev/sda4: UUID="5341b308-0c22-44f5-a875-243bade0f87d" TYPE="ext4" PARTUUID="862856be-f7b0-4e45-8204-5327f1257fcd"
/dev/sda5: UUID="01a8ebf7-83de-4e8b-a9fe-ee57283a796f" TYPE="ext4" PARTUUID="a64d6b41-23b0-4a96-9b0d-d283ee2ea484"
/dev/sda6: UUID="b7f7c56e-5e97-4f21-9125-509eb5cbe7c2" TYPE="ext4" PARTUUID="1962fb5a-9011-4ea2-89ce-7ab50adc3d06"
/dev/sda7: UUID="ed9ca069-2f9b-4cbd-9d44-6b41b24f215d" TYPE="swap" PARTUUID="1c59111b-1b0a-4dea-a2fb-07099809be8c"
/dev/sdd1: LABEL="HD-CEU2" UUID="0190-B126" TYPE="vfat" PARTUUID="76074546-01"
Output for sudo parted /dev/sdx print
Quote:
Model: ATA TOSHIBA HDWD105 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 55.1GB 55.1GB ext4
3 55.1GB 155GB 100GB ext4
4 155GB 170GB 15.0GB ext4
5 170GB 200GB 30.0GB ext4
6 200GB 300GB 100GB ext4
7 300GB 353GB 52.4GB linux-swap(v1)
2 353GB 500GB 148GB ext4
 
Old 10-26-2019, 10:32 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,115

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
I forgot to ask for the output of the df -h command.

The posted information shows the disk as 500GB versus 1735GB (sdb?) and the only partition that is 55GB is sda1. Without seeing how much space is used on the other partitions we can not say what partition you can "steal" space from however I don't know why you need 52GB of swap space. Moving space around always has a bit of risk so be sure to save backups to another drive.

As stated decreasing the number of saved backups should provide more space without having to resize anything at the moment.
 
Old 10-26-2019, 11:28 AM   #9
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
The output for df -h
Quote:
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 792M 1.5M 791M 1% /run
/dev/sda6 92G 5.5G 82G 7% /
/dev/sda3 92G 7.3G 80G 9% /usr
tmpfs 3.9G 121M 3.8G 4% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 916G 472G 399G 55% /home
/dev/sda4 14G 43M 13G 1% /tmp
/dev/sda1 51G 50G 0 100% /usr/local
/dev/sda5 28G 4.4G 22G 17% /var
tmpfs 792M 56K 792M 1% /run/user/1000
/home/sudharshan/.Private 916G 472G 399G 55% /home/sudharshan
/dev/sdd1 466G 464G 1.8G 100% /media/sudharshan/HD-CEU2
And the output for sudo parted /dev/sdb print
Quote:
Model: ATA TOSHIBA HDWD110 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 1000GB 1000GB ext4
I didn't know how much to allocate for SWAP so I gave it 55GB, what would be more than enough? Could I decrease the number of backups through GUI or do I have to use commandlines? Thank you
 
Old 10-26-2019, 11:47 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,115

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
Yes, you can configure the number of retained backups from the time shift GUI.

The amount of RAM depends on how you use your system and if you hibernate. With 7.7 GB RAM you could get by with zero but by default I usually use 1X RAM.

It looks like sda1 and sda3 are physically next to each other on the disk. You can shrink /usr and move it to the right, then expand your /usr/local. Lets see what happens first when you reduce the number of retained backups. You could move the location of your backups to another folder too.
 
Old 10-26-2019, 12:19 PM   #11
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSuSE, Raspian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,549

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by michaelk View Post
Depending on how Timeshift is configured it can create multiple snapshots of your entire system. If logs and files etc are created and deleted it will be reflected in the size of the snapshot and used space.

[snip]
Is it possible to limit the sort of things that Timeshift includes when it works? If so, I would prohibit it from including any directories that are used for caches, image thumbnails, etc. If you do a lot of internet browsing there can be a huge number of those objects---and the total size of them can be considerable. IMHO, it's a waste of time to be making backup copies of those things. Unfortunately, because there's no standard on where they might be located in one's directory tree, it can be an iterative process finding which directories are used for them so you can filter them out.
 
Old 10-26-2019, 12:26 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,115

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
Yes, you can include/exclude directories/files from a backup using the GUI configuration tool.
 
Old 10-28-2019, 11:35 AM   #13
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, MX-19
Posts: 2,521
Blog Entries: 13

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Sudharshans,

Your Timeshift snapshots should be saved to your much larger home directory (/dev/sdb1) or elsewhere with sufficient capacity. The root directory (/dev/sda1) is almost full as you have found out.

To delete all existing snapshots in sda1, open Timeshift, select all snapshots from the list (CTRL+A) and click the Delete button at the top.
Then in Timeshift, select Settings > Location and change this from sda1 to sdb1.

Last edited by beachboy2; 10-28-2019 at 12:23 PM.
 
Old 10-28-2019, 11:48 AM   #14
Sudharshans
LQ Newbie
 
Registered: Feb 2015
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thank you
Quote:
michaelk
and
Quote:
beachboy2
I reduced the number of snapshots from 5 to 1 yesterday. So far I have not had the message that there is no space yet. Or that's what I thought. When I looked in
Quote:
Timeshift, select Settings > Schedule
It said snapshots disabled. And also there were no snapshots. So I have reset it again. Will come back tomorrow with the results.
 
Old 10-28-2019, 12:22 PM   #15
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, MX-19
Posts: 2,521
Blog Entries: 13

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Sudharshans,

You have not said whether you have deleted the Timeshift snapshots in sda1, which is virtually full.

Where are you saving the latest snapshots?

Last edited by beachboy2; 10-28-2019 at 09:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
volume "boot" has only 804kB disk space remaining z1nelson Linux - Hardware 4 12-21-2017 06:19 PM
How to create Logical Volume from free space of existing Volume Group? AdultFoundry Linux - Newbie 6 12-19-2016 06:59 AM
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 08:02 AM
Extended LVM Volume group and Logical Volume. But space not usable linuxlover.chaitanya Linux - Server 1 11-19-2012 10:37 AM
how to shrink Volume Group and get some space to create new volume Farah_s Linux - Newbie 1 03-14-2012 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration