Re: smrtctl (vs or with) tests?
Gabriele Pohl <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
On 04/06/2014 04:21 PM, Yosef Yudilevich wrote: > 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline > - 9844065069543 > 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline > - 3568197946 > this attribute changes without running self test though it is "Offline" > type... do you have smartd enabled? Then offline testing will get enabled and offline tests then should automatically scheduled every 4 hours. We can also start the offline data collection with --------- 8< -------- [root@localhost ~]# smartctl -o on /dev/sda smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.7-200.fc20.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF ENABLE/DISABLE COMMANDS SECTION === SMART Automatic Offline Testing Enabled every four hours. --------- 8< -------- I don't know why (I suppose caused by false info from bad firmware), but for my disk the smartctl report does not show that Offline testing was enabled before.. === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. > if i want to collect only these: > > 194 Temperature_Celsius > 5 Reallocated_Sector_Ct > 1 Raw_Read_Error_Rate > 7 Seek_Error_Rate > > do i need to run tests? As said before: If you want to inspect the /real/ state of the whole device, you should run extended selftests. e.g. If your disk has defect sectors in areas that are not accessed in usual operation mode they will not get detected. But if you run selftests on the whole disk, every segment will be checked. HTH & cheers, Gabriele ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees