All Questions
30
questions
3
votes
0
answers
399
views
fstrim always trims a certain amount when run after boot
For some reason, if I run fstrim -v / immediately after booting up, it will always trim at least a certain amount regardless of what was done on the disk prior (even if I never really did anything but ...
1
vote
1
answer
818
views
Why does fstrim trim more space than df reports as available
I'm using KUbuntu 18.04 with 4.15.0-58-generic and a SanDisk SD8SBAT256G1122 SSD
When doing a sudo fstrim -av I see
/opt: 63.1 GiB (67707994112 bytes) trimmed
/home: 68 GiB (72999329792 bytes) ...
3
votes
1
answer
5k
views
TRIM support on an USB-attached SSD
I have an SSD (Samsung 860 EVO) attached via an USB-SATA adapter (I tried both this one and this one) to an ARM computer (Odroid N2) running Armbian (Linux 4.9.180).
I partitionned it with LVM (...
1
vote
2
answers
820
views
Do I need to enable TRIM in all OS if multibooting?
I multiboot. Does one OS issuing TRIM to my SSD cover all partitions or not?
I have a MacBook Pro (Core2Duo version 2.1 - late 2007) with the HDD replaced with a SSD. I am multi-booting it with ...
2
votes
0
answers
832
views
SSD overprovisioning and encrypted LVM
I have a SSD with an encrypted (cryptsetup/luks) LVM partition. Since I'm not yet into that ssd stuff I offhandedly left approx. 10% unpartitioned for overprovisioning. Just because I was told that ...
1
vote
1
answer
1k
views
Samsung 860 pro / evo - do they report deterministic trim?
Regardless of the kind - DRAT or RZAT. While all the modern ssds should behave in RZAT fashion, quite a few of them don't bother reporting such feature. And some controllers (in my case - old LSI2308 ...
2
votes
1
answer
526
views
fstrim not remembering trmmed blocks after reboot
I use LUKS + LVM full disk encryption (/boot included).
However, after every reboot, the system will trim all by free space, not remembering which blocks were trimmed.
I'm afraid this will wear out ...
1
vote
2
answers
2k
views
fstrim trimming all the free space after reboot
I just upgraded to a SSD. Performance has been great.
However, after every reboot, when I do a fstrim to the partitions, it will trim all the free space. And as I understand, trimming writes to all ...
3
votes
1
answer
3k
views
Btrfs on SSD, "no space left on device"; catch-22 with `fstrim` and `btrfs balance`; how to recover?
The root filesystem of my Kubuntu (mounted under /) is Btrfs. I don't use -o discard as a mount option. This means I need to run fstrim on demand.
In the past I hit this problem: btrfs, no diskspace ...
0
votes
2
answers
3k
views
Does wear leveling function normally without TRIM?
No matter whether it's about UEFI, phones, or SSDs, Samsung apparently isn't particularly good at implementing standards. Unfortunately, some year ago, I bought a Samsung SSD 840 PRO Series SSD for my ...
3
votes
2
answers
1k
views
Does scrubbing a ssd drive work to completely remove deleted files in situations where the trim command is not supported?
There are situations where it's not possible to run the trim command, for example some external usb ssd drives don't support it.
If you're not concerned with the ssd drive degrading in any way, ...
1
vote
0
answers
1k
views
Shockingly slow SSD reads on Debian Jessie
I set up a desktop computer after nine months in the attic. I somehow doubt this is related but I don't remember it being this way.
It took six minutes or so to boot, another couple minutes for GUI ...
6
votes
3
answers
14k
views
Does TRIMming too often reduce the lifespan of a SSD?
I read that Linux doesn't issue automatic TRIM commands (the discard mount option), due to performance problems. I've added fstrim -a in my crontab to TRIM once a week.
Does issuing fstrim too often ...
1
vote
3
answers
6k
views
Trimming NTFS and ext4 Formatted SSD
I have a Kingston SSDNOW V300 120 GB SSD with Ubuntu 14.04 installed on the 32GB ext4 partition. When I issue the command fstrim -v /, it responds, 30998127689 trimmed.
My computer detects it as two ...
0
votes
1
answer
1k
views
Confused whether to switch from ext2 to ext4 or not
I recently installed Xubuntu 14.04 on my old laptop and decided to buy an SSD for the new OS. I installed Xubuntu on 32GB ext2 formatted partition because I read that it doesn't have journalling which ...