LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-25-2008, 12:06 PM   #1
rightsidedown
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, 12:19 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
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 12:21 PM.
 
  


Reply


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 12:42 PM
Two hard drives one system canadish Linux - Hardware 2 11-16-2006 08:19 PM
hard drives and system freezing muxman Linux - Hardware 13 03-21-2006 03:32 PM
How do I know how many drives are installed on my system? jtelep Linux - Hardware 2 03-08-2004 04:27 PM
How do I access the other hard drives on my system? p.z Linux - Hardware 4 08-20-2003 03:26 AM


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

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