Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: alt.os.linux,alt.comp.os.windows-11 Subject: Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Date: Sat, 5 Apr 2025 18:23:31 +0200 Lines: 48 Message-ID: <3128clxb1o.ln2@Telcontar.valinor> References: <7263clxr47.ln2@Telcontar.valinor> <9aq4clxn5a.ln2@Telcontar.valinor> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 3w5ogfYn/BGEA3+c7scJKQjn0HmjX0iSOBaL3YdfWh0qdBAzI1 X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:KAN2P3X7XHVeOEmBlU454v23ABU= sha256:zEoRM9T1Yh+Kej+38w4mGTE8/5TfEOa5+NxBkw5ych8= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: Xref: csiph.com alt.os.linux:81285 alt.comp.os.windows-11:18304 On 2025-04-05 13:33, Carlos E.R. wrote: > On 2025-04-04 23:40, Carlos E.R. wrote: >> On 2025-04-04 12:53, Carlos E.R. wrote: >>> On 2025-04-04 09:53, Paul wrote: > > >> Well, no, leaving the terminal open is not enough, the long test is >> aborted. Brilliant firmware, that. I'll have to create a script with >> the test and a loop. >> >> Initial script: ... > >> Ok, the procedure works. Now logging off, because I have a bug that >> crashes the machine a bit after midnight. >> Improving the script has to wait. > > Improved script: ... > The last line is overwritten every minute. Or could be every 5 minutes, > but I'm testing. The terminal has to be kept open. There is an impact of the script, that queries the status of the smart test; look at the output: Telcontar:~/tmp/disk2 # YottamasterLongtest /dev/sdf smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.4.0-150600.23.42-default] (SUSE RPM) Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Extended self-test routine immediately in off-line mode". Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 108 minutes for test to complete. Test will complete after Sat Apr 5 15:15:23 2025 CEST Use smartctl -X to abort test. 2025-04-05 16:49:57+02:00 # 1 Extended offline Completed without error 00% 3992 - Test ended. Telcontar:~/tmp/disk2 # Instead of finishing at 15:15:23. it did at 16:49:57. It took more than one hour longer. So I'll change the delay to 8 minutes. -- Cheers, Carlos.