Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-25-2008, 11:06 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 14

Rep: Reputation: 0
How Many Drives Are In The System

Hello. I am new to SUSE. I am trying to find out how many are drives are in a system. I am not able to physically see the system so I need a command to figure it out. I tried dmesg, lsdev, and looked at /proc/devices but I am not able to get a clear answer. Is there a command I can use that will show me this info? Thank you in advance for all your help.
Old 02-25-2008, 11:19 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,239
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
cat /var/log/dmesg | grep hd - Detected IDE Drives

cat /var/log/dmesg | grep sd - Detected SATA Drives

fdisk -l - Hard drives and partitions (that is a Lowercase L, not a PIPE symbol in this command)

lshw -C disk - Most details about the devices themselves.. Brand, Serial number, etc..

Last edited by farslayer; 02-25-2008 at 11:21 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.2 does not recognize other drives in the system Pumalite Linux - Hardware 1 04-06-2007 11:42 AM
Two hard drives one system canadish Linux - Hardware 2 11-16-2006 07:19 PM
hard drives and system freezing muxman Linux - Hardware 13 03-21-2006 02:32 PM
How do I know how many drives are installed on my system? jtelep Linux - Hardware 2 03-08-2004 03:27 PM
How do I access the other hard drives on my system? p.z Linux - Hardware 4 08-20-2003 02:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration