LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to know no. of HD (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-know-no-of-hd-4175421377/)

ust 08-10-2012 07:12 AM

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
"
"

bigrigdriver 08-10-2012 08:01 AM

c0 = contoller zero = first controller
d0 = device zero = first disk
p0 = partition zero = first partition

ust 08-11-2012 04:00 AM

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

ust 08-11-2012 09:09 PM

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

chrism01 08-12-2012 05:36 PM

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.

ust 08-16-2012 04:07 AM

Quote:

Originally Posted by chrism01 (Post 4752612)
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

techguru666 08-24-2012 12:41 PM

use fdisk command

szboardstretcher 08-24-2012 01:16 PM

reboot and go into the raid controller?


All times are GMT -5. The time now is 08:18 AM.