Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ext4 discard option on Samsung 850 SSD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 120
Location: London

PostPosted: Fri Jun 10, 2016 12:00 am    Post subject: ext4 discard option on Samsung 850 SSD Reply with quote

I have a Samsung 850 EVO SSD. I'm aware that there was a bug in the past that could cause data loss when using trim on these drives but, as I understand it, this is fixed now and, using trim is safe. Is anyone else using one of these drives and, using either fstrim or the ext4 discard option? If so, have you had any problems since using the fix produced last year? Does anyone know if any reason that using trim on these drives might be unsafe assuming you have a kernel with the fix?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21546
Location: here

PostPosted: Fri Jun 10, 2016 6:14 am    Post subject: Reply with quote

I have a Samsung SSD 840 EVO 1TB for about a year. I use fstrim in a cron job and for the moment no data has been lost.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 120
Location: London

PostPosted: Fri Jun 10, 2016 4:36 pm    Post subject: Reply with quote

Thanks. I think it looks like it doesn't support queued trim (anyone: if I'm wrong about this, let me know) so, I am going to use periodic fstrim using cron and, use the discard=once option for swap (to do a trim on the whole swap partition once on swapon).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum