All Questions
33
questions
1
vote
1
answer
2k
views
Correct way to enable TRIM on recent Debian/Ubuntu
It used to be that properly enabling TRIM for SSDs on Linux involved two steps:
Running fstrim once, to take care of all the "untrimmed" blocks to date, then
Setting the discard flag in ...
0
votes
0
answers
784
views
Why is blkdiscard not erasing all data of the whole drive?
I have an old mSATA SSD (model name: Plextor PX-128M6M), which is installed to an mSATA-to-USB enclosure with ASM1153E controller.
I want to (just logically, at the SSD controller level) erase all of ...
0
votes
1
answer
314
views
FSTRIM for USB-SSD boot drive
I would put my Ubuntu 22.04 NVME disk into this USB 3.2 20Gbps M.2 NVMe SSD Enclosure and boot it from a USB 3.2x2 port.
I know that a SSD needs to be trimmed by FSTRIM, but I also read that ...
0
votes
0
answers
283
views
How do fstrim and BTRFS SSD optimizations work for both SSD's in a RAID1?
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 ...
0
votes
1
answer
89
views
Trim and btrfs with raid1
I know that btrfs support trim/discard, as a mount option or manually (fstrim -A).
I want to made a raid1 of ssd, I will get any problem with trim?
1
vote
0
answers
203
views
TRIM of ssd behind raid controller
I have nfs storage with many SSDs in raid controller, for my cluster of 10 linux machines,
I've used it for around 3 years, and now about 83% is used.(43T out of 55T)
I haven't done any kind of TRIM ...
1
vote
1
answer
2k
views
How to disable TRIM on SSD(s) under Linux Mint?
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 ...
0
votes
2
answers
347
views
Are distribution installers harming SSDs?
According to Intel, it is important that blocks not be discarded when creating a Linux filesystem on a solid state drive. The document states that the default behaviour (of mke2fs, in March 2015) is ...
6
votes
1
answer
8k
views
Is mounting with "discard" needed for TRIM?
I was wondering whether mounting an SSD using the discard option (documented in man mount) is actually required for ATA TRIM to be sent to the SSD's controller.
The evidence is a bit circumstantial: ...
0
votes
1
answer
421
views
blkdiscard hangs on md raid 10 on PCIe SSDs
I have a running Linux 4.19 amd64 system with two PCIe SSDs that I'd like to clear, test, reformat and put in use again. All of the data has already been moved away. I've
tried to trim/discard blocks ...
-1
votes
1
answer
4k
views
"systemctl start fstrim.timer" for ssd optimization not working on Debian 10
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 | ...
8
votes
3
answers
5k
views
How do I check if my ssd supports fstrim?
I'm working with a linux server and wanted to know if there is a way that I can find out that my SSD supports fstrim or not. I tried hdparm -I /dev/sda, but it's not available and I can't install it. ...
5
votes
1
answer
4k
views
How does the filesystem (ext4) "store" TRIM information?
It is recommended to enable a TRIM cron job which run once every week.
When the fstrim command is called the filesystem will sent TRIM information to the drive to discard deleted data (I hope I get it ...
2
votes
2
answers
7k
views
Boot Error -> ipmi:dmi : Invalid offset : 0
I'm having the following error when booting my OS (Linux mint19 - mate):
ipmi:dmi: Invalid offset : 0
I would appreciate if someone has more information about this.
There's a ubuntu user here on ...
14
votes
4
answers
4k
views
independently verify that TRIM indeed works on SSD
I have a LUKS partition /dev/sda1 which I luksOpen with --allow-discards:
cryptsetup --allow-discards luksOpen /dev/sda1 root
I then mount the ext4 filesystem with discard option:
grep /dev/mapper/...