I would try to copy (not move) as much of the data off that drive as you can, and it will then need replacing as it appears to be failing if it cannot complete the SMART test.. You seem to have been a bit unlucky with your SSDs because Samsung are one of the top brands and one does not expect their SSDs to fail early. There should be no setting needed in Unraid to prevent this - it is a hardware issue.