Is my software RAID working on FC4?

deja.10.thrillho_at_spamgourmet.com
Date: 10/23/05


Date: 22 Oct 2005 21:45:33 -0700

I used the Fedora installer to automatically partition. On each drive,
I created 3 software RAID partitions on each drive, one sized 100MB,
one sized 787MB and the rest of the free space on the third. I then
create a RAID device (i think it was call a device) and set the mount
points: /boot on the 100, a swap partition on the 787 and / on the
rest. Creating the RAID device only let me choose one drive to attach
the mount point so I set them all to /dev/hda. After that, I let the
installer format the file system and install FC4.

How can I tell if the software RAID is actually working? Here is my
fdisk output. It looks like I'm only using one of the 2 drives:

-------------------------------------------------------------------------
[root@localhost ~]# fdisk -l

Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 fd Linux raid autodetect
/dev/hda2 14 30303 243304425 fd Linux raid autodetect
/dev/hda3 30304 30401 787185 fd Linux raid autodetect

Disk /dev/hde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 fd Linux raid autodetect
/dev/hde2 14 30303 243304425 fd Linux raid autodetect
/dev/hde3 30304 30401 787185 fd Linux raid autodetect

Disk /dev/md0: 805 MB, 805961728 bytes
2 heads, 4 sectors/track, 196768 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 249.1 GB, 249143623680 bytes
2 heads, 4 sectors/track, 60826080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md2: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md2 doesn't contain a valid partition table
-------------------------------------------------------------------------



Relevant Pages

  • Re: RAIDING different size drives
    ... partition 1, 250G ... these two hard drives are only for data. ... You'd then be saying that it's a bad idea because recovery is hard. ... But if the setup is based on Windows software RAID, ...
    (comp.sys.ibm.pc.hardware.storage)
  • SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected
    ... I've got two Maxtor 6Y120M0 drives, same firmware, but they show up ... sectors/track, 238216 cylinders. ... The partition table on /dev/hde is inconsistent. ... SiI3112 Serial ATA: IDE controller at PCI slot 0000:03:02.0 ...
    (Linux-Kernel)
  • Re: lvm over raid confusion
    ... I installed FC5 with the default partitioning settings (/boot + LVM partition containing LVs for / and /home) on /dev/hda. ... Then I added two more drives to the box, ... for Software RAID I've always created a partition and set it to type fd rather than use the device itself. ...
    (Fedora)
  • Re: Win server 2k vs 2k3 and proper setup (RAID)
    ... I will assume software raid. ... You will have to determine partition size based on whatever else you are ... If you have a hardware raid controller you would mirror the drives before ...
    (microsoft.public.windows.server.general)
  • Re: boot partition
    ... Linux /boot partition should be 16-32 MB, and it must be within the ... is no longer any reason for that, but in the old days some machines required it to be in the first 1024 cylinders. ... drives were small: the original drive was about 1.5 GBytes and the new one was 4.3 GBytes. ...
    (comp.os.linux.setup)