LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RAID question. (https://www.linuxquestions.org/questions/linux-newbie-8/raid-question-714673/)

valls 03-26-2009 03:54 PM

RAID question.
 
Hello, i have 1 question about my RAID configuration, i have 2 X 400 GB configured in RAID1, when i use df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 365G 16G 331G 5% /
/usr/tmpDSK 485M 39M 421M 9% /tmp
i get that only 1 hdd is started, when i use cat /proc/mdstat
Personalities : [raid1] [raid0]
md0 : active raid1 sdb1[1] sda1[0]
2104448 blocks [2/2] [UU]

md1 : active raid1 sdb2[1] sda2[0]
388604224 blocks [2/2] [UU]
these are the disks in raid, and when i use sfdisk -l

Disk /dev/sda: 48641 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 261 262- 2104514+ fd Linux raid autodetect
/dev/sda2 262 48640 48379 388604317+ fd Linux raid autodetect
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty

Disk /dev/sdb: 48641 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sdb1 0+ 261 262- 2104514+ fd Linux raid autodetect
/dev/sdb2 262 48640 48379 388604317+ fd Linux raid autodetect
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty

Disk /dev/md1: 97151056 cylinders, 2 heads, 4 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/md1: unrecognized partition table type
No partitions found

Disk /dev/md0: 526112 cylinders, 2 heads, 4 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/md0: unrecognized partition table type
No partitions found
i get the HDD`s, can someone help me to understand how to add the second hdd to raid (i think from what i seen its already added) or i just need to mount it... if anyone can help please do, thank you, regards.

miedward 03-27-2009 11:01 AM

A properly configured RAID looks like a single disk device to the operating system. Only from the software you used to create the RAID will you see the individual disks. So I think you are okay as you are :)

I didn't see an actual problem in your data, but I might have overlooked something.

valls 03-28-2009 05:50 AM

Quote:

Originally Posted by miedward (Post 3489714)
A properly configured RAID looks like a single disk device to the operating system. Only from the software you used to create the RAID will you see the individual disks. So I think you are okay as you are :)

I didn't see an actual problem in your data, but I might have overlooked something.

Thank you for the reply, i found that after posting, its true, the RAID is working ok, thank you for your answer, regards.


All times are GMT -5. The time now is 12:27 PM.