Code: Select all
gentoo ~ # crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXgxqYvk installed on Wed Dec 14 12:12:45 2016)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
15 1,13 * * * /sbin/fstrim -v / | logger
Code: Select all
Dec 14 13:15:01 gentoo root: /: 14 GiB (14957654016 bytes) trimmed
Dec 15 13:15:01 gentoo root: /: 3.4 GiB (3610587136 bytes) trimmed
Dec 16 01:15:01 gentoo root: /: 183.9 GiB (197481418752 bytes) trimmed
Dec 16 13:15:01 gentoo root: /: 2.5 GiB (2718674944 bytes) trimmed
Dec 17 13:15:01 gentoo root: /: 2.5 GiB (2652045312 bytes) trimmed
Dec 18 01:15:01 gentoo root: /: 182.7 GiB (196180692992 bytes) trimmed
Dec 18 13:15:01 gentoo root: /: 4.8 GiB (5117321216 bytes) trimmed
Dec 19 13:15:01 gentoo root: /: 3 GiB (3204509696 bytes) trimmed
Dec 20 13:15:01 gentoo root: /: 3.1 GiB (3334537216 bytes) trimmed
Dec 21 13:15:01 gentoo root: /: 3.5 GiB (3789377536 bytes) trimmed
Dec 22 13:15:01 gentoo root: /: 2.8 GiB (2949726208 bytes) trimmed
Dec 23 01:15:01 gentoo root: /: 2.8 GiB (3028803584 bytes) trimmed
Dec 23 13:15:01 gentoo root: /: 3.5 GiB (3782463488 bytes) trimmed
Dec 24 13:15:01 gentoo root: /: 3.1 GiB (3303751680 bytes) trimmed
Dec 25 13:15:01 gentoo root: /: 4.9 GiB (5187260416 bytes) trimmed
Dec 26 01:15:01 gentoo root: /: 1.4 GiB (1467097088 bytes) trimmed
Dec 26 13:15:01 gentoo root: /: 2.9 GiB (3043270656 bytes) trimmed
Dec 27 13:15:01 gentoo root: /: 182.5 GiB (195903832064 bytes) trimmed
Dec 28 13:15:01 gentoo root: /: 182.4 GiB (195819532288 bytes) trimmed
Dec 29 01:15:01 gentoo root: /: 1.1 GiB (1155567616 bytes) trimmed
Dec 29 13:15:01 gentoo root: /: 2.8 GiB (2942869504 bytes) trimmed
Dec 30 13:15:01 gentoo root: /: 3.8 GiB (4109144064 bytes) trimmed
Dec 31 13:15:01 gentoo root: /: 2.9 GiB (3105202176 bytes) trimmed
Jan 1 13:15:01 gentoo root: /: 4.4 GiB (4692619264 bytes) trimmed
Jan 2 13:15:01 gentoo root: /: 3.4 GiB (3653017600 bytes) trimmed
Jan 3 13:15:01 gentoo root: /: 8.7 GiB (9372717056 bytes) trimmed
Jan 4 13:15:01 gentoo root: /: 3.5 GiB (3713122304 bytes) trimmed
Jan 5 13:15:01 gentoo root: /: 3.4 GiB (3659714560 bytes) trimmed
Jan 6 13:15:01 gentoo root: /: 2.4 GiB (2515193856 bytes) trimmed
Jan 7 13:15:01 gentoo root: /: 2.9 GiB (3092750336 bytes) trimmed
Jan 8 01:15:01 gentoo root: /: 180.9 GiB (194243280896 bytes) trimmed
Jan 8 13:15:01 gentoo root: /: 4 GiB (4254441472 bytes) trimmed
Jan 9 13:15:01 gentoo root: /: 2.5 GiB (2669527040 bytes) trimmed
Jan 10 13:15:01 gentoo root: /: 180 GiB (193207033856 bytes) trimmed
Jan 11 13:15:01 gentoo root: /: 2.6 GiB (2791075840 bytes) trimmed
Jan 12 13:15:01 gentoo root: /: 2.9 GiB (3109646336 bytes) trimmed
Jan 13 13:15:01 gentoo root: /: 2.8 GiB (3037503488 bytes) trimmed
Jan 14 01:15:01 gentoo root: /: 178.8 GiB (191984988160 bytes) trimmed
Jan 14 13:15:01 gentoo root: /: 2.6 GiB (2823249920 bytes) trimmed
Jan 15 13:15:01 gentoo root: /: 2.7 GiB (2889191424 bytes) trimmed
Jan 16 13:15:01 gentoo root: /: 4.1 GiB (4387782656 bytes) trimmed
Jan 17 13:15:01 gentoo root: /: 2.6 GiB (2744942592 bytes) trimmed
Jan 18 01:15:01 gentoo root: /: 2.2 GiB (2320166912 bytes) trimmed
Jan 18 13:15:01 gentoo root: /: 3.7 GiB (3970105344 bytes) trimmed
Jan 19 13:15:01 gentoo root: /: 3 GiB (3265916928 bytes) trimmed
Jan 20 13:15:01 gentoo root: /: 2.6 GiB (2753716224 bytes) trimmed
Jan 21 13:15:01 gentoo root: /: 4 GiB (4289691648 bytes) trimmed
Jan 22 01:15:01 gentoo root: /: 176.2 GiB (189169852416 bytes) trimmed
Jan 22 13:15:01 gentoo root: /: 3.4 GiB (3588984832 bytes) trimmed
Jan 23 13:15:01 gentoo root: /: 5.2 GiB (5533437952 bytes) trimmed
This machine rarely has user logons. It's primary purpose is as an apache web server, http-replicator server and minidlna server. The minidlna data files are on a seperate 5TB hard drive. Is the problem portage and http:replicator? I thought portage data was synced not copied wholesale. Perhaps I should move /usr/portage to hard drive and symlink it.
I want to know why the SSD's sectors are recycled so much or if something is wrong with fstrim.
Code: Select all
gentoo ~ # df -h |grep /dev/sda
/dev/sda2 228G 51G 165G 24% /
/dev/sda1 1022M 2.3M 1020M 1% /boot/efi


