Before testing read/write on a HDD, check below items first:
dev sd[x]
error in dmesg or jounalctlBecause if the HDD is completely broken, the touch/cat and any read/write cmd might be blocked by kernel which is watiing for HDD response ( which is impossible )
Troubleshooting High I/O Wait in Linux
iostat -x 2 5
for x in
seq 1 1 10; do ps -eo state,pid,cmd | grep "^D"; echo "----"; sleep 5; done
: dump D state processBrendan Gregg's Blog - Linux Load Averages: Solving the Mystery