-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2007-11-30 a las 18:14 +0100, Camaleón escribió:
El 30/11/07, Josep M. Queralt escribió:
Me medio mosqueaba la parte del "Prefailure", eso siempre pone nervioso, sobretodo a primera hora de la mañana cuando llegan los "logs".
En este artículo de linux journal (aunque antiguo) lo explican bastante bien:
http://www.linuxjournal.com/article/6983
La columna de TYPE indica el "tipo de gravedad" del atributo al que hace referencia (los catalogados como "pre-fail" son los graves... si fallan en las pruebas).
To understand how smartmontools works, it's helpful to know the history of SMART. The original SMART spec (SFF-8035i) was written by a group of disk drive manufacturers. In Revision 2 (April 1996) disks keep an internal list of up to 30 Attributes corresponding to different measures of performance and reliability, such as read and seek error rates. Each Attribute has a one-byte normalized value ranging from 1 to 253 and a corresponding one-byte threshold. If one or more of the normalized Attribute values less than or equal to its corresponding threshold, then either the disk is expected to fail in less than 24 hours or it has exceeded its design or usage lifetime. Some of the Attribute values are updated as the disk operates. Others are updated only through off-line tests that temporarily slow down disk reads/writes and, thus, must be run with a special command. In late 1995, parts of SFF-8035i were merged into the ATA-3 standard. Jo. O sea, que son valores de 1 a 253, y es malo cuanto más pequeño... justo alberres. Each Attribute has a six-byte raw value (RAW_VALUE) and a one-byte normalized value (VALUE). In this case, the raw value stores three temperatures: the disk's temperature in Celsius (29), plus its lifetime minimum (23) and maximum (33) values. The format of the raw data is vendor-specific and not specified by any standard. To track disk reliability, the disk's firmware converts the raw value to a normalized value ranging from 1 to 253. If this normalized value is less than or equal to the threshold (THRESH), the Attribute is said to have failed, as indicated in the WHEN_FAILED column. The column is empty because none of these Attributes has failed. The lowest (WORST) normalized value also is shown; it is the smallest value attained since SMART was enabled on the disk. The TYPE of the Attribute indicates if Attribute failure means the device has reached the end of its design life (Old_age) or it's an impending disk failure (Pre-fail). For example, disk spin-up time (ID #3) is a prefailure Attribute. If this (or any other prefail Attribute) fails, disk failure is predicted in less than 24 hours. O sea, si hay un parámetro mal, la columna WHEN_FAILED lo indicará. Bueno es saberlo, basta con mirar esa. The smartctl -t offline command can be used to carry out off-line tests. These off-line tests do not make entries in the self-test log. They date back to the SFF-8035i standard, and update values of the Attributes that are not updated automatically under normal disk operation (see the UPDATED column in Listing 3). Some disks support automatic off-line testing, enabled by smartctl -o on, which automatically runs an off-line test every few hours. o sea... hay algunas variables que sólo se actualizan con el test "offline", que no es ni el corto ni el largo. No me había coscado de eso, sabía que existía eso de "offline test" pero no sabía que eran. Buen artículo.
La conclusión es que con la 10.3 la "verbosidad" del SMART ha aumentado, por lo que, sip, habrá que bajarla en el fichero de configuración
Bueno, según la página de smartmontools los valores de los resultados varían según el fabricante del disco, el firmware del disco, la especificación (ata3, ata4, ata7...), que esté incluido el modelo de disco en la base de datos de smartmontools, etc, por lo que comparar esos valores no siempre resulta acertado.
Es que a esta gente les gusta mandar todo al log. Incluso te pueden mandar correos que pueden terminar en tu movil a las cuatro de la madrugada ;-)
Vaya, que me quedo con el resultado del test "de salud": passed / not passed / ok / not ok :-)
:-) - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHUHq6tTMYHG2NR9URArTgAJ96DTHOh+7oeRR8rU9JxanWiQtu7gCeOd+3 2aWZOT/B5y9KMJUDT0y90Fk= =NiOO -----END PGP SIGNATURE-----