Checking SATA drive

  • Thread starter Thread starter johnyb
  • Start date Start date
J

johnyb

Guest
I appreciate this is not specificaly Proxmox related, but yesterday my server locked up with a slight clicking sound from the drive. Powered off / on and came back up, so backedup the VM's. Now I want to check out the disk to see if it needs replacing, what command can I use to do this?
Cheers
 
Hi, I suspect you will be well advised to use the tool, "smartctl" which is available on most linux environments.

Specifically, to install it to your proxVE server,

-- connect as root via SSH
-- issue command in console,

----paste----
pvm1:~# apt-get install smartmontools
---endpaste---

Once this is completed, you can issue normal 'smartctl' type command syntax.

for example,
smartctl --device=ata -H /dev/sda

should tell you a brief report on the health of sata drive sda.


Generally, clicking noises on a HDD are very (!) grave signs. If you have not done so already, I would strongly suggest you backup anything of value on this drive, and assume it will fail on you abruptly and without good warning.

--Tim Chipman