[New: openFATE 314857] initrd/LUKS: support allow-discards
Feature added by: Tilman Vogel (tivo) Feature #314857, revision 1 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow-discards" options in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS (and maybe LVM) on the root partition. -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Tilman Vogel (tivo) Feature #314857, revision 2 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- - discards" options in /etc/crypttab. + discards" option in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS (and maybe LVM) on the root partition. -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Tilman Vogel (tivo) Feature #314857, revision 3 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- discards" option in /etc/crypttab. - That would allow to use TRIM on SSDs with LUKS (and maybe LVM) on the - root partition. + That would allow to use TRIM on SSDs with LUKS and LVM on the root + partition. -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Dan Elder (danman21) Feature #314857, revision 4 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- discards" option in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS and LVM on the root partition. + Discussion: + #1: Dan Elder (danman21) (2013-09-20 20:33:39) + Redhat had a similar bug but it appears to be resolved now: + https://bugzilla.redhat.com/show_bug.cgi?id=890533 -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Ralf Krüdewagen (ralfkr) Feature #314857, revision 6 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- discards" option in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS and LVM on the root partition. Discussion: #1: Dan Elder (danman21) (2013-09-20 20:33:39) Redhat had a similar bug but it appears to be resolved now: https://bugzilla.redhat.com/show_bug.cgi?id=890533 + #2: Ralf Krüdewagen (ralfkr) (2014-04-17 14:11:46) + I am also looking for this feature. I have tried almost everything now + to enable trimming of a luks device with LVM volumes (boot parameters, + etc.). Even non-root volumes, mounted e.g. on /home, can't be changed + to allow discards. -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Ralf Krüdewagen (ralfkr) Feature #314857, revision 8 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- discards" option in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS and LVM on the root partition. Discussion: #1: Dan Elder (danman21) (2013-09-20 20:33:39) Redhat had a similar bug but it appears to be resolved now: https://bugzilla.redhat.com/show_bug.cgi?id=890533 #2: Ralf Krüdewagen (ralfkr) (2014-04-17 14:11:46) I am also looking for this feature. I have tried almost everything now to enable trimming of a luks device with LVM volumes (boot parameters, etc.). Even non-root volumes, mounted e.g. on /home, can't be changed to allow discards. + #3: Ralf Krüdewagen (ralfkr) (2014-04-17 14:39:41) (reply to #2) + In other words: How can we make openSUSE to work like all other + distributions as described here: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-li... -- openSUSE Feature: https://features.opensuse.org/314857
Feature changed by: Ralf Krüdewagen (ralfkr) Feature #314857, revision 9 Title: initrd/LUKS: support allow-discards openSUSE Distribution: Unconfirmed Priority Requester: Important Requested by: Tilman Vogel (tivo) Partner organization: openSUSE.org Description: It would be great if the mkinitrd scripts at http://gitorious.org/opensuse/boot_crypto could support the "allow- discards" option in /etc/crypttab. That would allow to use TRIM on SSDs with LUKS and LVM on the root partition. Discussion: #1: Dan Elder (danman21) (2013-09-20 20:33:39) Redhat had a similar bug but it appears to be resolved now: https://bugzilla.redhat.com/show_bug.cgi?id=890533 #2: Ralf Krüdewagen (ralfkr) (2014-04-17 14:11:46) I am also looking for this feature. I have tried almost everything now to enable trimming of a luks device with LVM volumes (boot parameters, etc.). Even non-root volumes, mounted e.g. on /home, can't be changed to allow discards. #3: Ralf Krüdewagen (ralfkr) (2014-04-17 14:39:41) (reply to #2) In other words: How can we make openSUSE to work like all other distributions as described here: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-li... + #4: Ralf Krüdewagen (ralfkr) (2014-04-17 15:09:10) + This workaround worked for me: In order to activate discard on boot + time, I just changed the "cryptsetup" commands in /lib/mkinitrd/boot/71- + luks.sh to contain "luksOpen --allow-discards". Works fine so far. But + it's hard-coded. -- openSUSE Feature: https://features.opensuse.org/314857
participants (1)
-
fate_noreply@suse.de