LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 03-14-2011, 03:52 PM   #1
riderryuken
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Rep: Reputation: 0
Identify machine and raid version with command line


Is there a way to identify the machine (I believe it's an HP), the information on the type and size of drives it uses, and what version of RAID it has through command line?
 
Old 03-14-2011, 04:20 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,375

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
For machine information (vendor, disks, etc.) I'd try lshw. To determine the raid level you can try
Code:
cat /proc/mdstat
for software raid. If you have a hardware raid controller, you can check the BIOS or some specific menu at boot time.
 
Old 03-15-2011, 09:00 AM   #3
riderryuken
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
I guess it must be hardware raid since mdstat returned:

Personalities :
unused devices: <none>


But since I don't have physical access to it that will make finding out the raid information kind of tough.
 
Old 03-15-2011, 09:13 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,375

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
Which RAID controller is mounted on this machine? Check the output of lshw to find out.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to identify file types(command line arguments) and count how many there are jdwalk Linux - Newbie 5 02-20-2010 03:51 PM
Identify video card from command line? lhouk Solaris / OpenSolaris 3 02-11-2009 03:42 PM
Identify program memory usage from command line MikeyCarter Linux - Software 1 03-04-2008 11:16 AM
how to get specs of machine using command line? redhat_newb Linux - Newbie 5 02-08-2006 08:08 AM
get BSD version from command line? Rotwang *BSD 2 03-09-2005 05:39 PM


All times are GMT -5. The time now is 01:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration