SSD or spinning disk?
By jeltsch on Wed, 09/12/2018 - 19:57sudo apt install smartmontools
sudo smartctl -a /dev/sda
or
cat /sys/block/sda/queue/rotational
sudo apt install smartmontools
sudo smartctl -a /dev/sda
or
cat /sys/block/sda/queue/rotational
The command to spin down the hard disk after 50 seconds (5x10) being idle:
/sbin/hdparm -S10 /dev/hda
A while ago our server seems to have a hard disk failure as the following error messages kept coming up: hda: dma timeout error: [...] hda: dma_timer_expiry: [...]
We exchanged the 20 GB HD against my old Mac's 4.7 GB HD and reinstalled the system. A friend of mine tried the "broken" 20GB HD on a Windows system and said it works fine.