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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!