public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] RAID/LVM machine - install questions
Date: Sat, 20 Mar 2010 11:29:35 -0700	[thread overview]
Message-ID: <5bdc1c8b1003201129g452572dcn2d58d2c50c05657b@mail.gmail.com> (raw)
In-Reply-To: <4BA4CBFB.1070809@f_philipp.fastmail.net>

On Sat, Mar 20, 2010 at 6:22 AM, Florian Philipp
<lists@f_philipp.fastmail.net> wrote:
> Am 19.03.2010 23:40, schrieb Mark Knecht:
> [...]
>>
>>    The LVM Install doc is pretty clear about not putting these in LVM:
>>
>> /etc, /lib, /mnt, /proc, /sbin, /dev, and /root
>>
>
> /boot shouldn't be there, either. Not sure about /bin
>
>> which seems sensible. From an install point of view I'm wondering
>> about RAID and how I should treat /, /boot and swap? As I'm planning
>> on software RAID it seems that maybe those part of the file system
>> should not even be part of RAID. Is that sensible? I always want /
>> available to mount the directories above. /boot on RAID means (I
>> guess) that I'd need RAID in the kernel instead of modular, and why do
>> I need swap on RAID?
>>[...]
>
> If you use kernel based software RAID (mdadm, not dmraid), you can put
> everything except of /boot on RAID. Even for /boot, there are
> workarounds. I think there was a thread about it very recently right on
> this list.

I'm thinking I'll keep it as simple as possibly and just spread out
the Gentoo install over the multiple hard drives without using RAID,
but maybe not. It would be nice to have everything on RAID but I don't
know if I should byte that off for my first taste of building RAID.


>
> If you don't want to use an initrd (and believe me, you don't), you
> cannot build the RAID components as modules, of course. But why would
> you want? You need it anyway all the time between bootup and shutdown.

No initrd. I've never used it in 10 years of running Linux and I
wouldn't know how to start or even why I would use it. I suppose if I
had hardware RAID then maybe I'd need to but that's not my plan.

>
> You don't need to put swap on a RAID. Swap has its own system for
> implementing RAID-1 or RAID-0-like functionality. Using a RAID-1 for it
> prevents the machine from crashing if the disk on which swap resides
> dies. RAID-0 would be faster, of course.
>
> I personally find it easier to put swap on LVM in order to make
> management easier. However, if you want to use suspend-to-disk (a.k.a.
> hibernate), you would need an initrd, again.
>
> Alternatively, you can also use LVM for mirroring (RAID-1) or striping
> (RAID-0) single volumes. I think this only makes sense if you just want
> to protect some single volumes. After using it for some time, I found it
> not worth the effort. With current disk prices, just mirror everything
> and live easy ;-)
>
> Hope this helps,
> Florian Philipp
>
>

Very helpful. Thanks!

Cheers,
Mark



  reply	other threads:[~2010-03-20 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 22:40 [gentoo-user] RAID/LVM machine - install questions Mark Knecht
2010-03-20 13:22 ` Florian Philipp
2010-03-20 18:29   ` Mark Knecht [this message]
2010-03-21 12:18     ` KH
2010-03-20 16:38 ` KH
2010-03-20 18:26   ` Mark Knecht
2010-03-21 12:12     ` KH
2010-03-22 15:51       ` Paul Hartman
2010-03-22 17:34         ` Mark Knecht
2010-03-21 13:53     ` Florian Philipp

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=5bdc1c8b1003201129g452572dcn2d58d2c50c05657b@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.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