Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting thehard disk config in linux

Status
Not open for further replies.

133tcamel

Programmer
Sep 22, 2002
137
IN
how do I get the hard disk configuration of a remote server by using telnet..
is this a reliable way to detect a HDD config?

cat /proc/ide/hda1/model?

is there some command to tell this too? Also if the partitions are in /dev/hd* configuration does that mean its neccessarily an IDE drive (because I used to have /dev/sd* partitions when I had SCSI HDD), so I'm curious.

Any help, URLs, comments will be very much appreciated ---
cheers!
san.
 
sorry I should have mentioned before..
This is Red Hat Linux 7.3 on an Intel P4 ---
cheers!
san.
 
This will show you all of your partitions on all your disks...

fdisk -l


Yes, if it starts with /dev/hd*, then its IDE. SCSI disks will start with /dev/sd*.


ChrisP
 
hdparm -i /dev/hd? for specific IDE hard drive information.
fluid's advice for partitions.
 
i will check it out asap

thank you very much for the suggestions :) ---
cheers!
san.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top