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 08-10-2012, 07:12 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
How to know no. of HD


I have a Redhat server have raid controller , I do not know what is the the raid setting ( eg. raid 1 , raid 5...) , the fdisk as shown below , how can I know how many HDD in it , the size , what is the raid setting ? thanks


/dev/cciss/c0d0p1
/dev/cciss/c0d0p2
"
"
/dev/cciss/c0d1p1
/dev/cciss/c0d1p2
"
"
 
Old 08-10-2012, 08:01 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
c0 = contoller zero = first controller
d0 = device zero = first disk
p0 = partition zero = first partition
 
2 members found this post helpful.
Old 08-11-2012, 04:00 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
that means it have 1 raid controller , 2 disk , each disk have 2 partition ?

if yes , I wonder that the server should have at least 3 disk
 
Old 08-11-2012, 09:09 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
the fdisk -l may be varied by the raid setting ? eg . if I use raid 5 , what I see from fdisk -l is different from raid 10 ?

thx
 
Old 08-12-2012, 05:36 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
fdisk can only show you what the OS can see normally ie standalone disks and SW RAID
For HW raid, you'll need eg hpacucli from the HP Product Support Pack ie you need a tool from the HW-RAID manufacturer.
 
Old 08-16-2012, 04:07 AM   #6
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by chrism01 View Post
fdisk can only show you what the OS can see normally ie standalone disks and SW RAID
For HW raid, you'll need eg hpacucli from the HP Product Support Pack ie you need a tool from the HW-RAID manufacturer.
that means I can't know no. of HDD in my server only if I install the tool eg. hpacucli ?

thx
 
Old 08-24-2012, 12:41 PM   #7
techguru666
LQ Newbie
 
Registered: Jul 2012
Posts: 24

Rep: Reputation: Disabled
use fdisk command
 
Old 08-24-2012, 01:16 PM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
reboot and go into the raid controller?
 
  


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




All times are GMT -5. The time now is 02:14 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