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

Updated 2015-02-11T13:58:41+00:00

Issue

  • Is there TRIM (SCSI or block discard) support for SSD in RHEL6?
  • 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 ext4 filesystem on ssd disk drives?
  • How to configure filesystem with discard mount option to reclaim unused blocks on disk drives?

Environment

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

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.