Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 want to spare me an unnecessary drive just for opening the chassis and looking into 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
2  
you should find what you need here askubuntu.com/questions/27997/which-hard-disk-drive-is-which/… –  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

3 Answers 3

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

I think what you are looking for is lshw.

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

Your Answer

 
discard

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.