I have a remote computer on which I want to install a new hard drive for rsync backup. The problem is, I don't know what controller technology is used (PATA, SATA, SATA2, ...) and how many available slots are left. I'd like to obtain this information remotely, rather than physically opening up the chassis and looking at wires.

How do I query the SATA or PATA controllers? I'm interested in the following points:

  • Which controllers exist in the machine
  • How many (and which) disks are attached to each controller
  • How many available slots are there

I can only link you to one of my answers on Which hard disk is which.

Basically what you are looking for is hwinfo --disk and hwinfo --storage-ctrl.


I think what you are looking for is lshw.


You can also use the "Disk Utility" found in system/administration. Or type Disk Utility in HUD.

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.