From: <Tob...@gm...> - 2010-08-17 16:56:55
|
Hi Christian, thanks for your answer. It's like you wrote, the problem was my HD: Model Family: Western Digital Scorpio Blue Serial ATA family Device Model: WDC WD5000BEVT-00A0RT0 Serial Number: xxxxxxxxxxxxxxxxx Firmware Version: 01.01A01 User Capacity: 500.107.862.016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Tue Aug 17 18:51:28 2010 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled I tested it with another HD and everything was okay: Device Model: SAMSUNG HD203WI Serial Number: xxxxxxxxxxxxx Firmware Version: 1AN10002 User Capacity: 2.000.398.934.016 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 6 Local Time is: Tue Aug 17 18:53:24 2010 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled To restore the last span would be a nice feature Best regards and thanks Tim -----Ursprüngliche Nachricht----- Von: Christian Franke [mailto:Chr...@t-...] Gesendet: Freitag, 13. August 2010 16:39 An: Tob...@gm... Cc: sma...@li... Betreff: Re: [smartmontools-support] Problem with scheduled selective self-tests Tim wrote: > > I use smartmontools 5.38.1 (lenny-backports) with Debian GNU/Linux > 5.0.5 Lenny. > > I have a problem with the new smartd feature for scheduled selective > self-tests. When I configure the system how its written on the > manpage everything is working fine. I configured it like this: > > /If Long Self-Tests of a large disks take longer than the system > uptime, a full disk test can be performed by several Selective > Self-Tests. To setup a full test of a 1TB disk within 20 days (one > 50GB span each day), run this command once: / > > / smartctl -t select,0-99999999 /dev/sda/ > > /To run the next test spans on Monday-Friday between 12-13am, run > smartd with this directive: / > > */ -s n/../../[1-5]/12/*// > > And now comes the but ;-) > > When I shutdown the computer (shutdown now h) and restart it the span > values are not longer there. MIN_LBA and MAX_LBA are zero (0). When I > reboot the computer (shutdown now r) the before selected span values > are still there. > Looks like this (which?) disk model does not preserve selective self test log across power cycles. To test, please run a very short selective test and check selective self test log before and after power cycle: # smartctl -t select,100-110 /dev/sda (... wait until test completes ...) # smartctl -l selective /dev/sda ... SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 ? ? Not_testing # shutdown -h now (... boot ...) # smartctl -l selective /dev/sda ... SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 ? ? Not_testing For the future, it may be possible to restore the last span if --savestates is used. Thanks, Christian |