Is there TRIM support for solid state drives (SSD) in RHEL?

Solution Verified - Updated -

Issue

  • Is there TRIM (SCSI or block discard) support for SSD in Red Hat Enterprise Linux?
  • Is TRIM properly transmitted through layers like LVM, MD (software raid), filesystems etc?
  • Is SCSI discard on or off by default for ext4?
  • What is fstrim tool and how can we use discard function to reclaim my unused disk space for filesystems on ssd disk drives?
  • How to configure filesystem with discard mount option to reclaim unused blocks on disk drives?
  • Storage Reclamation
  • What is the official/recommended tools to zero out deleted/free space under RHEL? Is there any documentation available to perform this operation?

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content