Skip to main content

Questions tagged [fstrim]

A tool that "trims" (discards) the unused blocks in a filesystem. It is part of util-linux suite.

9 votes
2 answers
622 views

I recently got a curious error, whereby my system locked up, needing a power reset. The various logs had no errors (but ALL logs had a bunch of 0x00 at the end). Eventually after several reboots and ...
GraemeV's user avatar
  • 450
2 votes
2 answers
129 views

In my current setup, I have three different filesystems on two different SSDs: A FAT partition and a BTRFS partition on one drive, and ext4 on a second drive. When running fstrim, the output is ...
Hari's user avatar
  • 202
-1 votes
1 answer
88 views

It looks like my OS is set to periodically trim portable SSD drives, and TRIM is supported by my portable SSD. I connect this SSD via its usbc cable, attached to the usbc to usb3 adapter that came in ...
user324831's user avatar
0 votes
1 answer
106 views

After reading online I was under the impression that TRIM is not automatically (periodically) sent over to my USBconnected SSD by Fedora; but some discussions on this forum make me doubt this. Anyone ...
user324831's user avatar
1 vote
1 answer
72 views

I want to clopy a partition between SSD devices. Normally I could do it simply with the "dd" or "buffer" commands. However, now that I have SSDs, I also would like to miss the ...
peterh's user avatar
  • 10.5k
1 vote
0 answers
63 views

I have a problem. On my device (Raspberry Pi CM4) my programm uses /var/opt directory (files created/downloaded manually). After some hard reset my program cant see couple of files, I go into the log ...
nx4n's user avatar
  • 111
1 vote
1 answer
686 views

"The util-linux package provides fstrim.service and fstrim.timer systemd unit files. Enabling the timer will activate the service weekly. The service executes fstrim(8) on all mounted filesystems ...
AlphaCentauri's user avatar
0 votes
0 answers
422 views

First apologies if this has been asked before, but I could not find any link with any combination of keywords. My question is - How do SSD optimisations work in BTRFS in a RAID1 where both devices are ...
Vijay Gill's user avatar
2 votes
1 answer
1k views

I have the following partition table: NAME nvme0n1 ├─nvme0n1p1 part /boot └─nvme0n1p2 part └─crypt crypt ├─crypt-swap lvm [SWAP] ├...
BiagioF's user avatar
  • 161
1 vote
1 answer
2k views

On my Debian sid with custom 5.17.0-rc1 kernel installed on my new (< 1 month) SSD nvme WD SN850 my root partition is formatted as f2fs(v 1.14) I get fstrim: /: FITRIM ioctl failed: Structure needs ...
Jean Molinier's user avatar
1 vote
1 answer
3k views

I rarely ever write anything (large) to SSDs on many machines of my own, an example could be the use of one laptop as a TV viewer only, another my mother's laptop, which she uses just for banking. (If ...
Vlastimil Burián's user avatar
1 vote
0 answers
496 views

I was playing with LVM and I was setting up a volume with ext4 on an HDD and I want to use an SSD as a cache. What I first done was lvcreate --type cache-pool -l 100%FREE -n datacache SSD /dev/sda3 ...
Ruggero's user avatar
  • 11
1 vote
1 answer
402 views

In troubleshooting why my /home partition (ext4, luks-encrypted) wasn't being trimmed by the weekly fstrim service, I discovered that Ubuntu made a major change in the service file: On Ubuntu/Mint 18 [...
ajgringo619's user avatar
  • 3,654
-1 votes
1 answer
4k views

i just installed a 1TB kingston SSD, i cloned my HDD (with Debian 10) so nothing changed besides the performance, i want to set up TRIM for this SSD. So i've done this: $ sudo hdparm -I /dev/sda | ...
Marco's user avatar
  • 3
2 votes
0 answers
178 views

I have the following disk setup, a dual-boot with Windows 10 and Linux Mint 19.3: NAME LABEL SIZE FSTYPE MOUNTPOINT UUID sda 477G ...
ajgringo619's user avatar
  • 3,654

15 30 50 per page