From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NsyeC-0000n0-Gg for garchives@archives.gentoo.org; Sat, 20 Mar 2010 13:23:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CA62E07FD; Sat, 20 Mar 2010 13:22:12 +0000 (UTC) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by pigeon.gentoo.org (Postfix) with ESMTP id CB03FE07FD for ; Sat, 20 Mar 2010 13:22:12 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 93A10E593E; Sat, 20 Mar 2010 09:22:12 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 20 Mar 2010 09:22:12 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:reply-to:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=DF5P73A1fw444lcEaIFaB1tDsJo=; b=tdR+3wy/w4RVpA8ZTdlW1wPS3l5jLqfuxBbNwXBTgdiMahnEBYnZjGlCXfNdKAMUzbTwGFg+6s8jvqaJ8J8W4Tg5arnJyjJ3WPP/56UF35i5GNQ7K9a+BmO5d1SbzYV475xyJyo9jhY2qNztywJjNBYydSbMkxW0LbLoHMjk/Sg= X-Sasl-enc: 2A7lICEDIK0vP9odrSRRg9Dn/kpWdiPIUtL10GMo0WEi 1269091330 Received: from [192.168.5.10] (lvps83-169-5-6.dedicated.hosteurope.de [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 6ECE447C20 for ; Sat, 20 Mar 2010 09:22:10 -0400 (EDT) Message-ID: <4BA4CBFB.1070809@f_philipp.fastmail.net> Date: Sat, 20 Mar 2010 14:22:03 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100313 Lightning/1.0b2pre Thunderbird/3.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] RAID/LVM machine - install questions References: <5bdc1c8b1003191540i5928eb4em5f8704b2db9fc046@mail.gmail.com> In-Reply-To: <5bdc1c8b1003191540i5928eb4em5f8704b2db9fc046@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig413404AB98B79A160B29D9B0" X-Archives-Salt: 9b680d43-48c0-4b89-9cad-0561e141535f X-Archives-Hash: 8ec56133af5112044ede8d4b5d0def69 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig413404AB98B79A160B29D9B0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 19.03.2010 23:40, schrieb Mark Knecht: [...] >=20 > The LVM Install doc is pretty clear about not putting these in LVM: >=20 > /etc, /lib, /mnt, /proc, /sbin, /dev, and /root >=20 /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? >[...]=20 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. 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. 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 --------------enig413404AB98B79A160B29D9B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkukzAAACgkQqs4uOUlOuU/OrQCePyBkWumfZG4ST+Gv012CLhsx O60An2tA+UqInXw+EmmE0QmnJQ5IiuAn =h3Fa -----END PGP SIGNATURE----- --------------enig413404AB98B79A160B29D9B0--