Gentoo Archives: gentoo-user

From: Kerin Millar <kerframil@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] RAID 1 install guide?
Date: Sat, 22 Feb 2014 16:34:16
Message-Id: 5308D17A.1080908@fastmail.co.uk
In Reply to: Re: [gentoo-user] RAID 1 install guide? by "J. Roeleveld"
1 On 05/09/2013 07:13, J. Roeleveld wrote:
2 > On Thu, September 5, 2013 05:04, James wrote:
3 >> Hello,
4 >>
5 >> What would folks recommend as a Gentoo
6 >> installation guide for a 2 disk Raid 1
7 >> installation? My previous attempts all failed
8 >> to trying to follow (integrate info from)
9 >> a myriad-malaise of old docs.
10 >
11 > I would start with the Raid+LVM Quick install guide:
12 > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
13 >
14 >> It seems much of the documentation for such is
15 >> deprecated, with large disk, newer file systems
16 >> (ZFS vs ext4 vs ?) UUID, GPT mdadm, etc etc.
17 >
18 > Depending on the size of the disk, fdisk or gdisk needs to be used.
19 > Filesystems, in my opinion, matter only for the data intended to be put on.
20 >
21 > For raid-management, I use mdadm. (Using the linux kernel software raid)
22 > If you have a REAL hardware raid card, I would recommend using that.
23 > (Cheap and/or onboard "raid" is generally slower then the software raid
24 > implementation in the kernel and the added bonus of being able to recover
25 > the raid using any other linux installation helps.
26 >
27 >> File system that is best for a Raid 1 workstation?
28 >
29 > I use Raid0 (striping) on my workstations with LVM and, mostly, ext4
30 > filesystems. The performance is sufficient for my needs.
31 > All my important data is stored on a NAS with hardware Raid-6, so I don't
32 > care if I loose the data on the workstations.
33 >
34 >> File system that is best for a Raid 1
35 >> (casual usage) web server ?
36 >
37 > Whichever filesystem would be best if you don't use Raid.
38 > Raid1 means all data is duplicated, from a performance P.O.V., it is not a
39 > good option. Not sure if distributed reads are implemented yet in the
40 > kernel.
41
42 They are. It's perfectly good for performance, provided the array is of
43 insufficient magnitude to encounter a bottleneck pertaining to
44 controller/bus bandwidth.
45
46 --Kerin