linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* Should issue_discards be enabled when e2scrub is used on an SSD?
@ 2023-12-29  0:48 Mikhail Morfikov
  2024-01-02 10:41 ` Zdenek Kabelac
  0 siblings, 1 reply; 5+ messages in thread
From: Mikhail Morfikov @ 2023-12-29  0:48 UTC (permalink / raw)
  To: linux-lvm

I've got the following setup: LUKSv2+LVM on an SSD drive, and I have trim/discad enabled
for encrypted container. I also use e2scrub for Online ext4 Metadata Check which uses a 4
GiB LVM snapshot. I currently have 10 logical volumes, which are periodically (once a week)
scanned for errors. I've got a question concerning the *issue_discards* option that can be
specified in the /etc/lvm/lvm.conf file. What actually happens when this option is enabled
and the LVM snapshot is removed after fsck finishes its job? Will the whole 4 GiB be erased
on the flash? Is it safe to enable this option in such case, or is it better to leave it
disabled?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-02 12:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-29  0:48 Should issue_discards be enabled when e2scrub is used on an SSD? Mikhail Morfikov
2024-01-02 10:41 ` Zdenek Kabelac
2024-01-02 11:13   ` Mikhail Morfikov
2024-01-02 11:45     ` Zdenek Kabelac
2024-01-02 12:01       ` Mikhail Morfikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).