Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is an Intel motherboard RAID better or worse than software RAID?
Date: Mon, 20 Oct 2008 11:24:23
Message-Id: 200810201324.11273.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] Is an Intel motherboard RAID better or worse than software RAID? by "Conway S. Smith"
1 On Montag 20 Oktober 2008, Conway S. Smith wrote:
2 > On Mon, 20 Oct 2008 08:54:20 +0200
3 >
4 > Wolfgang Liebich <Wolfgang.Liebich@×××××××.com> wrote:
5 > > Hi,
6 > >
7 > > <SNIP>
8 > >
9 > > > the howtos on gentoo-wiki worked well for me.
10 > >
11 > > I'm working with them, too. Just one question remains: I want to use
12 > > udev. Do I have to create the md devices or does udev that for me?
13 >
14 > udev will do it for you. But make sure your initramfs init script
15 > unmounts /sys & /proc.
16
17 just don't use an initramfs/initrd.
18
19 > > Sorry, I'm neither a LVM nor a RAID export - could you please
20 > > elaborate on that?
21 > > I like LVM because of the convenience it adds.
22 >
23 > Write barriers are a feature to allow write caching on the hard disks
24 > w/out endangering filesystem integrity. Write caching helps
25 > performance significantly, but also allows the disk to re-order write
26 > requests - the disk may actually write a write-request that was
27 > received later before a write-request that was received earlier,
28 > which in some situations can lead to filesystem corruption. Write
29 > barriers are a special type of request that the disk is not allowed
30 > to reorder around - everything the disk receives before the write
31 > barrier must be written before anything received after the write
32 > barrier. But in order to work, write barriers need to be supported
33 > by every layer from the filesystem down to the actual disk; if your
34 > filesystem is on top of LVM & LVM doesn't support write barriers,
35 > then you won't be able to use them, and if write caching is enabled
36 > on the actual disks, you may be risking fileystem corruption. The
37 > Device Mapper kernel subsystem (dm-crypt, dm-raid, LVM, etc.) does
38 > not support write barriers - but neither does MD RAID except for
39 > RAID1, so write caching is dangerous except for filesystems directly
40 > on disk partitions or on RAID1 (if the RAID1 is directly on disk
41 > partitions).
42
43 also, reiserfs and xfs turn barriers on by default, ext3 turns it off per
44 default. Because of 'performance reasons'.

Replies

Subject Author
Re: [gentoo-user] Is an Intel motherboard RAID better or worse than software RAID? "Conway S. Smith" <beolach@××××××××.com>