Subject: Re: Status of trim for SSds?
Date: Friday 15th July 2011 14:48:01 UTC (over 6 years ago)
On 07/15/2011 03:59 PM, Christian Hesse wrote: > Ok, I do have a kernel with discard on dm-crypt support now. How do I > set this option allow_discards for my device using dmsetup? dmsetup's > manpage does not tell anything about it. Backup your data, really. Note there could be still bugs. You have to manually reload table with discard enabled for now, it is quite complicated and dangerous because you will manipulate with master key string directly: 1) Activate device using cryptsetup, remember active table for your device, including key: # dmsetup table