Opened 10 years ago

Closed 8 years ago

#40 closed enhancement (fixed)

smartctl --test when a test is already running causes it to abort

Reported by: Giuseppe Iuculano Owned by: Christian Franke
Priority: minor Milestone: Release 5.43
Component: smartctl Version: 5.38
Keywords: ata Cc: 545765-forwarded@…

Description

Hi,

I'm forwarding a bug reported by a Debian user.

smartctl can be used to execute a test on a drive already running another test. In my case, I ran a short test on a drive already running a long test. I was not aware that SMART could only handle 1 test at a time. Apparently, SMART can't resume aborted tests.

smartctl's behavior in this case seems to be to execute the newly requested test without caring about the already one. The worst problem with this is loss of time, as in my scenario. I see two options: running the newly requested test after the currently running one is finished, or prompt for what to do.

Change History (3)

comment:1 Changed 9 years ago by Christian Franke

Component: allsmartctl

comment:2 Changed 8 years ago by Christian Franke

Keywords: ata added
Milestone: Release 5.43
Owner: changed from somebody to Christian Franke
Status: newaccepted

comment:3 Changed 8 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed

r3477 (ATA only).

Note: See TracTickets for help on using tickets.