Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #81274

Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE)

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux, alt.comp.os.windows-11
Subject Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE)
Date Fri, 4 Apr 2025 23:40:02 +0200
Lines 87
Message-ID <i606clxumo.ln2@Telcontar.valinor> (permalink)
References <7263clxr47.ln2@Telcontar.valinor> <m59ck7Fk3odU1@mid.individual.net> <vso35r$2utuc$1@dont-email.me> <9aq4clxn5a.ln2@Telcontar.valinor>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net rERmLDFvzulLyHjwUeADwwUdGfBNtEASQBGg+Ti5PlGnzjHvYj
X-Orig-Path Telcontar.valinor!not-for-mail
Cancel-Lock sha1:A89UkBTVc+nxssrihReCpFSiCKQ= sha256:eFuNsF0S6892Pt3++g/4nFZjOBiAG+Q9EDRbKJ5MPwk=
User-Agent Mozilla Thunderbird
Content-Language es-ES, en-CA
In-Reply-To <9aq4clxn5a.ln2@Telcontar.valinor>
Xref csiph.com alt.os.linux:81274 alt.comp.os.windows-11:18283

Cross-posted to 2 groups.

Show key headers only | View raw


On 2025-04-04 12:53, Carlos E.R. wrote:
> On 2025-04-04 09:53, Paul wrote:


>>     https://ralimtek.com/posts/2021/jms578/
>>
>> The claim there, is the ROM inside the device has a boot loader,
>> so erasing the flash cannot brick it. You can keep trying to flash it.
> 
> «Additionally, you may have run into the stupid way these units power 
> down the drives after 10 minutes of inactivity forcefully. Completely 
> ignoring OS or HDD settings. This is infuriating if you want the drives 
> to do what you tell them.»
> 
> Argh. So I need a cronjob every five minutes? Or do they restart 
> automatically?
> 
> [...]
> 
> Seems to not be happening. I listed files in the terminal more than 10 
> minutes later, and it responded instantly.


Yes, it is happening.

Maybe having a terminal open at the mount point avoided the power off to happen.

I hibernated the machine, later woke it up, and access to the files was fast. But now I launched a smartctl long test, and it aborted (doesn't say the percent):

Telcontar:~ # smartctl -l selftest /dev/sde
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 READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Interrupted (host reset)      00%       614         -
# 2  Short offline       Completed without error       00%       613         -
# 3  Short offline       Completed without error       00%       606         -


So I'm trying again leaving a terminal open at the mount point. If that fails, I need a while loop to do some activity periodically while running the smart test.

I don't know how sensitive is software raid to the disk dying on it.

[...]

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:

+++···················
#!/bin/bash

THEDISK=/dev/sde

function busyloop()
{
    while true  ; do
         DATE=`date --rfc-3339=s`
         echo -en "$DATE \t"
         smartctl -l selftest $THEDISK | grep "# 1"
         sleep 1m
    done
}

echo smartctl --test=long $THEDISK
echo
busyloop
···················++-


It has survived for 15 minutes so far. I will let the script run, and change the loop to 5 minutes.

Mmm, dunno how to stop automatically the script... Of course, the text will say so, then ctrl-C. Maybe... knowing how long it should run, kill the script with a timer. Better parse the text somehow.


2025-04-04 23:35:18+02:00 	# 1  Extended offline    Completed without error       00%       618         -
^C
Telcontar:~/tmp/disk1 #


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.

-- 
Cheers, Carlos.

Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-03 22:01 +0200
  Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-03 17:47 -0400
    Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 02:39 +0200
      Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-03 23:33 -0400
        Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 11:36 +0200
          Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 12:16 +0200
            Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-04 14:51 -0400
              Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 21:52 +0200
          Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Java Jive <java@evij.com.invalid> - 2025-04-04 11:28 +0100
            Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 12:47 +0200
              Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Java Jive <java@evij.com.invalid> - 2025-04-04 17:06 +0100
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 19:09 +0200
                Re: Amazon (Was: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "J.O. Aho" <user@example.net> - 2025-04-04 21:26 +0200
                Re: Amazon (Was: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Mark Lloyd <not.email@all.invalid> - 2025-04-05 16:22 +0000
                Re: Amazon (Was: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 21:01 +0200
    Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-06 14:44 +0200
  Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) vallor <vallor@cultnix.org> - 2025-04-04 06:30 +0000
    Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-04 03:53 -0400
      Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 12:53 +0200
        Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 13:44 +0200
        Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 23:40 +0200
          Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 13:33 +0200
            Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 18:23 +0200
              Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 21:04 +0200
    Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 12:15 +0200
      Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-04 16:30 -0400
        Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-04 22:52 +0200
          Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-04 18:46 -0400
          Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Java Jive <java@evij.com.invalid> - 2025-04-05 00:20 +0100
            Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-04 23:05 -0400
            Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 12:47 +0200
              Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Java Jive <java@evij.com.invalid> - 2025-04-05 14:14 +0100
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 18:23 +0200
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-06 00:13 -0400
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Simon <SimonJ@eu.invalid> - 2025-04-07 09:42 +0000
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-07 14:07 +0200
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "J.O. Aho" <user@example.net> - 2025-04-07 16:37 +0200
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-07 15:00 -0400
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-08 02:34 +0200
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-08 00:05 -0400
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "J.O. Aho" <user@example.net> - 2025-04-08 08:09 +0200
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Java Jive <java@evij.com.invalid> - 2025-04-08 11:16 +0100
                Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) Paul <nospam@needed.invalid> - 2025-04-08 09:39 -0400
                Re: Hard disk error (testing usb-storage instead of UAS) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-08 20:49 +0200
                Re: Hard disk error (testing usb-storage instead of UAS) Paul <nospam@needed.invalid> - 2025-04-08 18:38 -0400
  Re: Hard disk error (Error probing device: Error sending ATA command IDENTIFY DEVICE) "Carlos E.R." <robin_listas@es.invalid> - 2025-04-05 22:03 +0200

csiph-web