Samsung 840 Pro SSD Crashing

Gordan Bobic gordan at bobich.net
Wed Feb 20 00:57:44 UTC 2013


On 02/20/2013 12:43 AM, Digimer wrote:
> On 02/19/2013 07:03 PM, Gordan Bobic wrote:
>> On 02/19/2013 10:54 PM, Digimer wrote:
>>> On 02/19/2013 05:41 PM, Noah Cutler wrote:
>>>> I have the 830 and was researching whether or not fstab "discard"
>>>> option
>>>> was still necessary for SSDs with ext4 partitions.
>>>>
>>>> Apparently it is for most SSDs, except for the Samsung 840 Pro, which
>>>> apparently uses a new technology that conflicts with "discard"
>>>>
>>>> In the event that you are using it, discard it as a test ;-)
>>>>
>>>> Cheers,
>>>> Noah
>>>
>>> How would this effect the 840 Pro with a LUKS encrypted / partition? As
>>> I understand it, discard/trim is useless with encryption.
>>
>> Where did you get that idea? Provided every layer understands the
>> discard command, the encryption should make no difference. Are you
>> perchance confusing discard with overwriting the block with 0s?
>>
>> Gordan
>
> That is probably what I am doing. discard and trim are different, I
> suppose?

IIRC discard is an OS system call, whereas trim is the corresponding 
SATA command. For the purpose of this discussion in terms of what the 
resulting interaction with the SSD is likely to be, they are the same thing.

Gordan


More information about the users mailing list