Andriy Gapon wrote:
> on 16/08/2011 08:35 Christian Franke said the following:
>> Andriy Gapon wrote:
>>> It seems like some disks (like recent Seagates) have issues with running a long
>>> test - after some time and/or a host command the test gets stuck and never
>>> completes (nor is reported as aborted).
>>> The idea is to add an option to run a full disk scan as a sequence of
>>> selective/span tests that would cover all disk, but each individual span would
>>> be small enough for the test to not get stuck.
>> This should already be possible:
>> 'smartctl -t select,next' and smartd '-s n/../../../..' directive start the next
>> See man pages.
> Yes, I know (and use) these options.
> What I meant is doing full scan of a disk in one go. With the above I would
> need multiple invocations of e.g. smartctl -t select,next to cover the whole disk.
Do you mean that smartctl should wait until the previous span is
completed and start the next span and so on until the disk is fully
tested? This can be done with smartd.