Bug 826258 - Dracut does not honor allow-discards in /etc/crypttab
Dracut does not honor allow-discards in /etc/crypttab
Product: Fedora
Classification: Fedora
Component: dracut (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: dracut-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-29 17:24 EDT by Juan Orti
Modified: 2012-07-03 11:52 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-03 11:52:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Juan Orti 2012-05-29 17:24:59 EDT
Recently has been added support for passing TRIM requests through Luks to the block device, but dracut does not honor this option in crypttab. The versions needed are: kernel >= 3.1, cryptsetup >= 1.4.0 and systemd >= 44-11

This is my crypttab:
luks-1234567890-3bbc-5444-b1c9-1234567890 UUID=1234567890-3bbc-5444-b1c9-1234567890 none allow-discards

I have found a quick and dirty solution in this post:
Comment 1 Fedora Update System 2012-06-18 13:48:59 EDT
dracut-018-65.git20120612.fc17 has been submitted as an update for Fedora 17.
Comment 2 Fedora Update System 2012-06-22 10:17:58 EDT
dracut-018-78.git20120622.fc17 has been submitted as an update for Fedora 17.
Comment 3 Fedora Update System 2012-06-25 20:34:04 EDT
Package dracut-018-78.git20120622.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-018-78.git20120622.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2012-07-03 11:52:35 EDT
dracut-018-78.git20120622.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.