Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question
you should find what you need here… – Allan Mar 7 '11 at 12:23
Couldn't find the CLI tool that would work for a remote server. – Adam Matan Mar 7 '11 at 12:28
up vote 4 down vote accepted

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.

share|improve this answer

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

enter image description here

share|improve this answer

I think what you are looking for is lshw.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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