🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.os.unix.linux.hardware
Article #7

Re: TRIM bei LUKS

#7
From: Marcel Mueller
Date: Mon, 19 Oct 2026 17:19
17 lines
1784 bytes
Am 19.10.26 um 17:29 schrieb Marco Moock:
> Bei SSDs (und auch anderen Speichern wie Storage-Arrays oder SMR- 
> Platten) gibt es TRIM-Kommandos, um dem Speichercontroller mitzuteilen, 
> dass bestimmte Sektoren leer sind (damit im Storage-Array der Speicher 
> woanders genutzt werden kann oder bei SSDs das Wear-Leveling funktioniert).
> 
> Funktioniert das auch bei LUKS, ZFS und Co.?

LUKS: ja (BTDT), aber...

es ist Opt-In weil potentiell sicherheitsrelevant. Wenn man die 
getrimmten Blöcke kennt, kann man daraus Rückschlüsse auf die 
Free-Space-Bitmaps des Dateisystems ziehen und das ggf. für eine 
Plaintext-Attacke nutzen.


Marcel
Technical Details
Message-ID: <11b5jfn$est5$1@gwaiyur.mb-net.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail
References: <11b5d0g$1pi6p$1@solani.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail
From: Marcel Mueller <news.5.maazl@spamgourmet.org>
Newsgroups: de.comp.os.unix.linux.hardware
Subject: Re: TRIM bei LUKS
Date: Mon, 19 Oct 2026 19:19:51 +0200
Organization: MB-NET.NET for Open-News-Network e.V.
Message-ID: <11b5jfn$est5$1@gwaiyur.mb-net.net>
References: <11b5d0g$1pi6p$1@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Oct 2026 17:19:51 -0000 (UTC)
Injection-Info: gwaiyur.mb-net.net;
	logging-data="488357"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ZafmqYT5I6ZPKCmOUlzmGZeXSi8= sha256:gSqWzTj1ezjx5TP5n5vp5Shg7QcyyQwPKC3u7e5Euug=
	sha1:r1VrQ4KAlJfQYQnjnqffEvrxF4g= sha256:UGBIX3KTIib9BRsUjNjaHn1XLvs/rDVV6/XyXPy3zMI=
Content-Language: de-DE
In-Reply-To: <11b5d0g$1pi6p$1@solani.org>