Michael wrote: > On Sunday, 23 March 2025 01:48:01 Greenwich Mean Time Dale wrote: >> Michael wrote: >>> Finally, consider TRIM being run on a cron job, or better use something >>> like the SSDcronTRIM script once a month to decide and execute fstrim if >>> needed. > [snip ...] > >> The only thing on SSD is the OS itself. I have partitions for /efi, >> /boot with ext2, / and /var with ext4. I'll set up fstrim later on. >> Given I have a 1TB stick and left well over 100GBs unused, I should have >> room left over to last a while. On my todo list tho. Would once a >> month be often enough tho? I update each weekend. Other than that, not >> much changes really. /home and such is on spinning rust still. If I >> did daily updates, might be a better plan. Once a week, maybe monthly >> will be OK. > Even once every 3-6 months would be more than enough. The SSDcronTRIM will > check if your disk is filling up and will only run fstrim when/if it is > needed. > > https://chmatse.github.io/SSDcronTRIM/
That's not in the Gentoo tree. Hmmmmm. I ran fstrim on my root and var partitions and got this. root@Gentoo-1 / # fstrim -v / /: 13.7 GiB (14676369408 bytes) trimmed root@Gentoo-1 / # fstrim -v /var /var: 43.9 GiB (47162359808 bytes) trimmed root@Gentoo-1 / # It looks like /var changes more than root does. I kinda wish I just could run it on the whole m.2 stick and it do its thing regardless of mount point. From the looks of the man page tho, that isn't a option. I still haven't figured out how I want to setup the newest m.2 stick. I'm thinking about using dm-setup to encrypt it, or most of it anyway. Dale :-) :-)