On Thu, Dec 7, 2017 at 5:40 PM, Wols Lists <antlists@xxxxxxxxxxxxxxx> wrote: > But if this is true, for a drive that doesn't support sct (I don't have > one to test), the command will fail but return 0!!! So the script > doesn't realise anything is wrong, doesn't fix the defaults, and leaves > the raid array in the dangerous situation where linux will time out long > before the drive does. > > So does smartctl return 0 if the drive doesn't support sct? If so why? > And what's the easiest way to detect such a drive if so? I can reproduce this on a Samsung 830 SSD (released in 2011, probably purchased in 2012). I also have an 840 Pro SSD which does not have this problem -- it fully supports SCTERC being set. I don't know how representative of SSD models these two are, but that gives a time frame for this support appearing in SSD drives. Eddie -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html