Re: software RAID 1 mirror details?

From: Alexander Dalloz (alexander.dalloz_at_uni-bielefeld.de)
Date: 05/20/04

  • Next message: Jack Howarth: "Re: software RAID 1 mirror details?"
    Date: Thu, 20 May 2004 16:16:54 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    
    

    Am Do, den 20.05.2004 schrieb Jack Howarth um 15:41:

    > I have some questions regarding the proper way to
    > set up a software RAID 1 mirror under Fedora on two
    > identical SATA drives using the installation tools.
    > In particular I am seeking to create a complete
    > RAID 1 mirror so that if the main drive fails I can
    > simply move it out and reboot under the mirror.
    > What I am unclear on is how should I partition the
    > two drives and how these partitions are related
    > in the software RAID 1 mirror.

    http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/s1-diskpartitioning.html

    Just create first the software RAID partitions you like with the size
    you prefer, as just a rough example /boot = 100MB on sda and sdb, / =
    4GB an both drives and swap = 512MB on both drives. Then in a second
    step create the RAID1 arrays from both drive's partitions. From my
    example choose the partitions you made for /boot on sda and sdb and set
    them as RAID1 array. Do that with the others too.

    > My first inclination is to use DiskDruid in the
    > installer to create identical sized partitions on
    > both SATA drives (three partitions each...
    > /boot, / and /swap). Of these I would only place the
    > partitions for /boot and / in the RAID. My rational
    > for this is that there is no point in mirroring the
    > /swap partition.

    If you really want to have swap as RAID1 mirror too, that is possible
    through Disk Druid.

    > Assuming this approach is correct, I am still
    > unclear on how the software RAID 1 mirror knows
    > which partitions on each drive to map to each other?

    The information is stored creating the RAID arrays. A map is to be found
    as /etc/raidtab, telling you which drive's partitions are building an
    array.

    > Does it just try to grossly map them by size and
    > do they have to be of identical size on both
    > drives of the RAID 1 or just bigger on ther mirror?
    > Thanks in advance for any clarifications.
    > Jack

    http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-raid-intro.html

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
    Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
    Sirendipity 16:09:28 up 7 days, 13:54, load average: 0.72, 0.42, 0.30 
                       [ Γνωθι σ'αυτον - gnothi seauton ]
                 my life is a planetarium - and you are the stars
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Jack Howarth: "Re: software RAID 1 mirror details?"

    Relevant Pages

    • Re: Server 2008: How To maintain a software RAID 1?
      ... You can use a number of the disk test utilities (e.g. iometer from ... I'd also recommend breaking and reestablishing the mirror ... thing for the project are the 2x SATA hard disks operated in software RAID ... mode (drives are set as dynamic and one drive is set as a mirror for the ...
      (microsoft.public.windows.server.general)
    • Re: Raid 1 repartition
      ... on external media, then break the mirror, wipe one ... drive of the pair clean and create partitions of the size I want. ... I think I'll use Acronis! ... drives the way you want, ...
      (microsoft.public.windows.server.setup)
    • Re: How to copy to new disk drive?
      ... For some reason windows disk management does not have any options to mirror ... We are using SBS Standard with the following partitions: ... I may be able to remove both old and new drives and temporarilly transfer ...
      (microsoft.public.windows.server.sbs)
    • Re: RAID 1 recovery
      ... You can search MS Knowledge base on mirror drives, booting, disaster ... The important part is to have a bootable floppy disk (assuming you ... >> setting up an emergency disk to boot from for the software RAID. ...
      (microsoft.public.windows.server.sbs)
    • Re: RAID 1
      ... >> mirror whole drives because raid devices are not partitionable ... You create mirrored partitions. ... > drive containing the still-working mirror partition bootable, ... You will have more problem with getting grub to ...
      (comp.os.linux.networking)

    Loading