reenabling disabled ata links from the command line
Hi,
I recently found myself in a situation where I had to recover some data from a SATA disk with broken sata connector.
In the end I had to reboot quite often to get the sata hardware/driver to retry to reconnect a link when I fixed the connector in a slightly different angle.
On the first connect the hardware detected it by itself, but the problem was that once it lost the link the ata interface was disabled and only a reset could fix that, I think(?)
So I was wondering is there a way to reenable a link that has been disabled to try again?
I presume a module reload would do it, but that's not practical when your root fs is on another SATA port.
Should something like this be implemented?
Thanks,
-Andi
Quoted 7 lines · Andi Kleen
So I was wondering is there a way to reenable a link that has been disabled to try again?
I presume a module reload would do it, but that's not practical when your root fs is on another SATA port.
Should something like this be implemented?
echo "- - -" > /sys/class/scsi_host/hostN/scan
Signature · 1 line
tejun