LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Raid and Linux (https://www.linuxquestions.org/questions/linux-newbie-8/raid-and-linux-600803/)

tejama 11-19-2007 06:25 AM

Raid and Linux
 
I have a server with two hard drives in it. When I enter "fdisk -l", I get the following information returned:

[root@blah root]# fdisk -l

Disk /dev/sda: 73.2 GB, 73284976640 bytes
255 heads, 63 sectors/track, 8909 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 650 5116702+ 83 Linux
/dev/sda3 651 8573 63641497+ fb Unknown
/dev/sda4 8574 8909 2698920 f Win95 Ext'd (LBA)
/dev/sda5 8574 8642 554211 82 Linux swap
/dev/sda6 8643 8896 2040223+ 83 Linux
/dev/sda7 8897 8909 104391 fc Unknown

My question is, because only 1 hard drive (sda) is showing I'm guessing the second hard drive isn't displayed because the system is setup with RAID 1. Is this the case or should I see the second drive regardless of the RAID configuration.

Thanks in advance for your help, and let me know if I can clarify my question in any way.

Tahir Saleh 11-19-2007 06:45 AM

i myself am a newbe in linux (and in raid) but the harddisk should be showing try "cat /proc/partitions" and see if u can find "md*" device.

tejama 11-19-2007 06:53 AM

When I enter "cat /proc/patitions" all that is displayed is sda and sda1-7. No md or sdb. Is there anything else I can check to see if the drive is even being recognized by the system?

Tahir Saleh 11-19-2007 07:09 AM

not that i know! u hang around maybe some of the guys would help.

tejama 11-19-2007 07:18 AM

Thanks Tahir. I checked with one of the guys here at the office and he said that if the two drives are setup using RAID 1, which I believe they are, they should only appear as a single drive. If anyone can verify this it would be appreciated.

tejama 11-19-2007 08:03 AM

Just to follow up, I setup a different server with three drives in it. I setup the first two with RAID 1, and the third with no mirroring. The result was that the first two drives appear as one to the system (sda) and the no mirrored third drive appears as sdb.


All times are GMT -5. The time now is 07:03 AM.