LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2023, 01:47 AM   #1
Novatian
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Rep: Reputation: 38
Running out of space in Mint 20.2


In my Mint 20.2 desktop I am low on space, memory. It looks like Timeshift for some reason is using 74GB of memory? Can I free this?

Also in Gparted I created space to the left of my Mint install, so 56 GB. I don't know how to expand my Linux partition into it. I tried G parted and Mint disk manger.

To the far left of my memory is Windows 10, that I little use and shrank down with Gparted.

Last edited by Novatian; 02-02-2023 at 03:04 AM.
 
Old 02-02-2023, 09:27 AM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Novatian View Post
In my Mint 20.2 desktop I am low on space, memory. It looks like Timeshift for some reason is using 74GB of memory? Can I free this?

Also in Gparted I created space to the left of my Mint install, so 56 GB. I don't know how to expand my Linux partition into it. I tried G parted and Mint disk manger.

To the far left of my memory is Windows 10, that I little use and shrank down with Gparted.
I cannot visualize what you describe as space on the drive. You have mentioned both to the right and to the left of the mint partition may be free.

Gparted cannot modify a mounted partition under most circumstances.

I suggest you download the live image of gparted, boot to that, then modify the installed partitions as needed while they are not mounted. Gparted should be able to relocate & resize the partition into unallocated space on either size of the existing partition.

You will have to ensure the file system used allows resizing. I think that an xfs file system cannot be modified, but most others can. If your file system cannot be modified then you may need to do a full backup, alter the partition, then restore/clone back into the enlarged space. An ext4 file system can easily be altered.
 
Old 02-02-2023, 10:18 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,720

Rep: Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914
How many backups is timeshift configured to keep?
I assume your saving the backups to a separate partition?
Is it configured for rsync or btrfs?
Are you using LVM?

As posted you can boot gparted live and move your existing partitions left to take up the free space and then enlarge whatever partition as desired but depends on the above questions.
 
Old 02-02-2023, 01:10 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
It does seem to me that Timeshift is "getting carried away," but let us hope that Mint implements LVM = Logical Volume Management.

If so, then the various "logical 'mount points'" are no longer tied to "'disk partitions.'" Instead, they are tied to "storage pools" which are served by disk partitions but can now seamlessly extend into more than one of them.
 
Old 02-02-2023, 11:52 PM   #5
Novatian
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Original Poster
Rep: Reputation: 38
I cannot recall if two years ago I used LVM when dual booting my drive. The left of the drive in disk management is Windows 10 then a free space then Mint to the right.

I will try again at Gparted from the live mint distro.

But there is only one Timeshift record from the day I got the warning, I may have to avoid risks and not use it and wipe the Timeshift record to clear space. How is it done? To clear 74 GB?

I think I will turn Timeshift off. It is RSYNC, and I can delete it.

Perhaps if I format the free space?

Last edited by Novatian; 02-03-2023 at 12:01 AM.
 
Old 02-03-2023, 07:33 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,720

Rep: Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914Reputation: 5914
Look at the output of df. If you see /dev/mapper then you are using LVM.

If it is a separate partition then formatting will essentially wipe everything. As previously posted you can tweak the settings to only keep x number of backups.
 
Old 02-03-2023, 09:40 AM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Novatian View Post
Also in Gparted I created space to the left of my Mint install, so 56 GB. I don't know how to expand my Linux partition into it. I tried G parted and Mint disk manger.
On most distributions /usr uses about half of the space occupied by Linux. You can copy /usr to an empty partition. Change fstab to mount /usr on the new partition and reboot. After you reboot you can delete /usr on the original Linux partition and free up a fair bit of space.

Also if the new /usr partition is on a separate hard drive Linux will run faster due to overlapping I/O on the two drives.

Last edited by jailbait; 02-03-2023 at 09:42 AM.
 
Old 02-04-2023, 03:43 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by jailbait View Post
On most distributions /usr uses about half of the space occupied by Linux. You can copy /usr to an empty partition. Change fstab to mount /usr on the new partition and reboot. After you reboot you can delete /usr on the original Linux partition
While you have another filesystem mounted to /usr/, you don't have access to /usr/* on the / filesystem. /usr/* needs to be moved elsewhere (or copied and original deleted) before elsewhere gets mounted to /usr/ and the modified installation booted. Otherwise, no space on / is recovered by employing the additional filesystem.
 
Old 02-04-2023, 04:03 AM   #9
Novatian
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Original Poster
Rep: Reputation: 38
I had one Timeshift record which I deleted and my disk manager shows I am back down to 41.7% use of my drive space.
 
  


Reply



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
[SOLVED] Naming a work space in Mint Linux Mint 19.3 Cinnamon ozzyrod Linux - Newbie 5 10-19-2021 10:54 AM
how to reallocate space if / is out of space centos123 Linux - Server 8 02-28-2014 12:33 PM
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 AM.

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
Open Source Consulting | Domain Registration