On 28/02/2019 14.24, Andrei Borzenkov wrote:
On Thu, Feb 28, 2019 at 4:06 PM Carlos E. R.
wrote: ... I tried on mine:
Telcontar:~ # fstrim -av /other/ssd-test: 3.8 GiB (4092694528 bytes) trimmed /boot: 928.1 MiB (973135872 bytes) trimmed /: 99.1 GiB (106444374016 bytes) trimmed Telcontar:~ #
...
A second attemp reports:
Telcontar:~ # fstrim -av /other/ssd-test: 0 B (0 bytes) trimmed /boot: 0 B (0 bytes) trimmed /: 313.8 MiB (328978432 bytes) trimmed Telcontar:~ #
What is your filesystem type for all three?
Me? /other/ssd-test: ext4 /boot: ext2 / ext4 I find curious that the job was done Monday, yet today it claims "99.1 GiB trimmed" - I did run zypper up yesterday (and rebooted), but 100 gigs?: Telcontar:~ # grep -i "discard\|trim" /var/log/messages <3.6> 2019-02-25 00:00:18 Telcontar fstrim 10518 - - /boot: 932 MiB (977321984 bytes) trimmed <3.6> 2019-02-25 00:00:18 Telcontar fstrim 10518 - - /other/ssd-test: 3.8 GiB (4092694528 bytes) trimmed <3.6> 2019-02-25 00:00:18 Telcontar fstrim 10518 - - /: 99.4 GiB (106738315264 bytes) trimmed <3.6> 2019-02-25 00:00:18 Telcontar systemd 1 - - Started Discard unused blocks. <3.6> 2019-02-27 12:23:32 Telcontar systemd 1 - - Stopped Discard unused blocks once a week. <3.6> 2019-02-27 12:26:09 Telcontar systemd 1 - - Started Discard unused blocks once a week. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)