Re: [Dorset] Problem with 'full' Root partition
Hi Clive Can I ask why you cant reduce your home partition and then extend the root into the free space ? Tim H On 27/01/2021 14:37, C Wills wrote: Sorry the original copy was sent from another email address which is not authorised by DLUG system. Sending from the correct address, hope you don't get it twice!! Clive Hi All Yesterday my wife started her PC and got a warning notice saying there was on 1GiB on space left on the 'root' partition. Checking today the following was reported:- sda1 Ext4 / size - 24.5GiB, Used - 22.7GiB (93%) Free - 1.71GiB (7%). There is plenty of space for the /Home partition but no space on sda1 and I can't extend it. I checked with the disk analyser tool and it showed that the 'var' file has used most of the space; it's full of Flatpack folders. All the other folders look OK. I remember seeing a tool that can 'clean' folder/discs but can't find it now. Thought it may be the temp folder fill up the space but that looks OK. Can't work out what has happened to fill the 'root' folder, no extra software installed and last time I looked it was only about 50% full. If I don't do something soon then the PC will lock up And she will do her 'nut' (doesn't like computers that go wrong!) What's happening please and can I recover the space. All above by using a GUI desktop, Mint 19.2 Cinnamon. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
On Thu, 28 Jan 2021 18:38:21 +, ci...@cewland.uk said: > If I can't find out what is happening then I'll re-install Mint 19.2 Clive, you really, really do not need to reinstall Mint. Files in /var/tmp are, generally speaking, safe to delete. The key difference between /tmp and /var/tmp is that, by default, the former is emptied on each boot but the latter isn't. I may have missed it earlier, but the output of the following commands may help: $ df -h $ sudo du -sh /var/* -- Linux Tips: https://www.tiger-computing.co.uk/category/techtips/ -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
Hi Ralph Ran the command and it deleted the files. Did a complete re-boot and checked, it does not seem to have done much in reducing the partition file size. Noticed I may have misled you as the Flatpak folders mentioned in my emails is in the /var/tmp folder. Should that command be run in that folder (.var/tmp) or did it not matter? The notice is still coming up saying less than 430Mb free. If I can't find out what is happening then I'll re-install Mint 19.2 files system into that partition and leave the '/Home' folder in the other partition. Glad I made separate partitions for file & home! C A Wills On 28/01/2021 18:05, Ralph Corderoy wrote: Hi Clive, Left to its own devices, Flatpak doesn't delete some of the files it has used in the past in case they're needed again. Ask it to get rid of those explicitly with flatpak uninstall --unused and see if that helps. Ran that command and it came back with question to remove y/n Chose 'n' in case it was not right. programs list were; all started with 'org.freedesktop.Platform.' followed by: .GL.default/x86_64/20.08 .VARPI.Intel/x86_64/18.08 .html5-codecs/x86_64/18.08 ./x86_64/18.08 .Local/x86_64/18.08 .Sdk/x86_64/18.08local .Sdk.Local/x86_64/18.08 7 files to remove - should I? I would. That command is explicitly to remove things it thinks are unused. Flatpak downloads and tracks multiple versions of those files and different programs need different ones. At the moment, nothing needs the seven it listed. Would these account for the request for my password while in Lily /Home folder? No, I don't have a suggestion on that. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
Hi Clive, > > Left to its own devices, Flatpak doesn't delete some of the files it > > has used in the past in case they're needed again. Ask it to get > > rid of those explicitly with > > > > flatpak uninstall --unused > > > > and see if that helps. > > Ran that command and it came back with question to remove y/n Chose > 'n' in case it was not right. programs list were; > > all started with 'org.freedesktop.Platform.' > followed by: > .GL.default/x86_64/20.08 > .VARPI.Intel/x86_64/18.08 > .html5-codecs/x86_64/18.08 > ./x86_64/18.08 > .Local/x86_64/18.08 > .Sdk/x86_64/18.08local > .Sdk.Local/x86_64/18.08 > > 7 files to remove - should I? I would. That command is explicitly to remove things it thinks are unused. Flatpak downloads and tracks multiple versions of those files and different programs need different ones. At the moment, nothing needs the seven it listed. > Would these account for the request for my password while > in Lily /Home folder? No, I don't have a suggestion on that. -- Cheers, Ralph. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
Hi Peter, > > > How about browsing into var, going to each folder and manually > > > deleting all the .gz files, which are backups of log files It > > > might be a 'sudo rm *.gz' > > > > > > Wow, it just worked for me, got rid of about 35 files from the > > > var/backups directory, and var/log/apt > > > That was bit of fun, had quite a clearout. Surprising the number of > > empty directories. It goes against my sense of tidyness. ps to > > remove empty directories it is 'rmdir' It's a bad idea to remove files or directories without knowing what they are and that it is okay. Some *.gz under /var will be compressed log files and they can be deleted without harm, but that might not be true of all of them. And as for empty directories, the directory may have been created when the package was installed thus the programs expect it to be present. Perhaps it has some files whilst the program is running, for example. Despite seeming untidy, they're best left well alone. :-) Running ‘sudo debsums -s’ will compare what's on disk to what the package manager thinks should be on disk based on MD5 digests, etc. -- Cheers, Ralph. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
Hi Clive, > I checked with the disk analyser tool and it showed that the 'var' > file has used most of the space; it's full of Flatpack folders. Left to its own devices, Flatpak doesn't delete some of the files it has used in the past in case they're needed again. Ask it to get rid of those explicitly with flatpak uninstall --unused and see if that helps. -- Cheers, Ralph. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk
Re: [Dorset] Problem with 'full' Root partition
Hi Peter Copying this to the DLUG as things are getting 'tight' not found any reason for what's happening especially as I increased the partition by 2Gb - see below. Lily has just looked at her emails and an authorisation box came up asking for' My' password, not hers! She was not looking at anything else! See * below Earlier: Looked at /var and it's full of 234 Flatpak folders like: /flatpac-cache-DD80WO with a file repro-GtuRFp-lock./ no .gz files. Don't know if I can delete these files without causing problems as some showed .config files but the one I looked at was only 5 commands lines with nothing indicating a location or a run file. /var appears to hold11.3GB but that changed to 15.9 after looking around the file system a bit. * I checked the /var and it's gone up to 19+3Gb Found a live disk of 'Rescatux' ran that and one option was to check file system and repair but that came back as 'Failed'. Nothing else appeared to do much on the file system / most was to do with boot & UEFI problems. Checked: /etc. = 8.9MB of data /usr = 5GB /sys = 617.4MB /tmp = 73Kb * Just checked how full the file system partition is and it's showing only 334Mb free That's after I extend it by 2GB by reducing the 'Swop' partitin. Really don't know what to try next and don't know why Lily was asked for 'My' password; there must be a file running in the background needing 'Root' authority but she was in her 'home' folder not mine! C A Wills On 28/01/2021 12:10, PeterMerchant wrote: That was bit of fun, had quite a clearout. Surprising the number of empty directories. It goes against my sense of tidyness. ps to remove empty directories it is 'rmdir' Good luck P. On 28/01/2021 11:59, PeterMerchant wrote: How about browsing into var, going to each folder and manually deleting all the .gz files, which are backups of log files It might be a 'sudo rm *.gz' Wow, it just worked for me, got rid of about 35 files from the var/backups directory, and var/log/apt Peter On 28/01/2021 08:43, C Wills wrote: That looks a good bet but there's not enough room left to add the program to the PC. I'll look at my back issues of LXF discs to see if I've got it on a live disc; if so I'll try it. As I said before I don't understand how the partition has got so full, no additional programs have been added for at least a year if not longer. So why has the partition filled up. I'm careful to ensure there's a good spare space when installing and keep 'root' and 'home' on different partitions. C A Wills On 27/01/2021 19:56, PeterMerchant wrote: Perhaps try Bleachbit? P. On 27/01/2021 14:37, C Wills wrote: Sorry the original copy was sent from another email address which is not authorised by DLUG system. Sending from the correct address, hope you don't get it twice!! Clive Hi All Yesterday my wife started her PC and got a warning notice saying there was on 1GiB on space left on the 'root' partition. Checking today the following was reported:- sda1 Ext4 / size - 24.5GiB, Used - 22.7GiB (93%) Free - 1.71GiB (7%). There is plenty of space for the /Home partition but no space on sda1 and I can't extend it. I checked with the disk analyser tool and it showed that the 'var' file has used most of the space; it's full of Flatpack folders. All the other folders look OK. I remember seeing a tool that can 'clean' folder/discs but can't find it now. Thought it may be the temp folder fill up the space but that looks OK. Can't work out what has happened to fill the 'root' folder, no extra software installed and last time I looked it was only about 50% full. If I don't do something soon then the PC will lock up And she will do her 'nut' (doesn't like computers that go wrong!) What's happening please and can I recover the space. All above by using a GUI desktop, Mint 19.2 Cinnamon. -- Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk