public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: harold@uga.edu
Cc: linux-raid@vger.kernel.org
Subject: Re: Draft Mirrored Linux Mini How-to
Date: Fri, 07 Aug 2009 04:09:13 +0200	[thread overview]
Message-ID: <87ocqse5o6.fsf@frosties.localdomain> (raw)
In-Reply-To: <4A7B708F.4050406@uga.edu> (Harold Pritchett's message of "Thu, 06 Aug 2009 20:08:47 -0400")

Harold Pritchett <harold@uga.edu> writes:

> Following this note is a draft of a "Mirrored Linux Mini How-to" document.
> It's primarily for my own use, but I will make it available to anyone who
> would like a copy.
>
> Before I do this, I would like input from this group as to whether it:
> 1. is a good idea?
> 2. has no obvious errors or problems?
> 3. will reliably work?
> 4. Should I provide more details?  Or at least pointers to using fdisk, etc.
>
> Thanks for the assistance
>
> Harold
>
> ==============================================================================
>
> Mirrored Linux Mini How-to
>
> Install linux on two identical disk drives in such a way that the failure
> of either of the drives will allow the system to be recovered without any
> loss of data
>
> Both of the drives are partitioned exactly the same:
>      1.  3 primary partitions
>      2.  Partition 1 - size - 1GB format as Linux Raid (fd)
>      3.  Partition 2 - size = real memory size, format as linux swap (82)
>      4.  Partition 3 = size = remainder of disk, format as linux raid (fd)

Grub2 can boot from lvm on raid and swap can be on lvm too. So all you
really need is one partition.

Also the size of swap depends on the amount of ram. The more ram you
have the less swap you need. Unless you want to do suspend to swap
picking the size of swap by the ram size is pointless.

> To ensure that the partitions are correct, and in the correct order, boot from
> the install CD/DVD and run the rescue system.  Use fdisk from this system
> to partition the two drives.  (The GUI disk partitioner which runs in the
> anaconda installer has a tendency to move partitions around without asking.
> We don't want this to happen!)  After saving the partition information on
> both drives, you can Run the Linux installer.  Select "custom" installation.

Insert Debian CD/DVD. Boot installer and configure raid1 when you get
to the point about partitioning.

Do you really need a HowTo for that?

MfG
        Goswin

  reply	other threads:[~2009-08-07  2:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A78292A.5000607@in.ibm.com>
     [not found] ` <1249421223.18245.36.camel@pasglop>
2009-08-05  9:17   ` 2.6.31-rc5-git2 crash on a idle system Sachin Sant
2009-08-05  9:52     ` Benjamin Herrenschmidt
2009-08-06 13:33       ` Sachin Sant
2009-08-06 13:40         ` Michael Ellerman
2009-08-06 21:51         ` Benjamin Herrenschmidt
2009-08-07  0:08           ` Draft Mirrored Linux Mini How-to Harold Pritchett
2009-08-07  2:09             ` Goswin von Brederlow [this message]
2009-08-07  3:53             ` Tapani Tarvainen
2009-08-08  1:11               ` Goswin von Brederlow
2009-08-08  1:41                 ` NeilBrown
2009-08-08  7:59                   ` Goswin von Brederlow
2009-08-08 15:24                     ` John Robinson
2009-08-08 14:09                   ` Bill Davidsen
2009-08-07  8:10             ` Fredrik Pettersson
2009-08-07  9:51             ` Keld Jørn Simonsen
     [not found]               ` <4A7C5BD2.80508@uga.edu>
     [not found]                 ` <20090807173423.GA32127@rap.rap.dk>
2009-08-08 11:36                   ` Keld Jørn Simonsen
2009-08-07 15:27             ` Draft Mirrored Linux Mini How-to - sfdisk suggestion Maurice Hilarius
2009-08-08  1:13               ` Goswin von Brederlow
2009-08-09 18:55     ` 2.6.31-rc5-git2 crash on a idle system Louwrentius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ocqse5o6.fsf@frosties.localdomain \
    --to=goswin-v-b@web.de \
    --cc=harold@uga.edu \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox