Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052
Rep:
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.
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.
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.
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.
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052
Original Poster
Rep:
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.