Gentoo Archives: gentoo-user

From: Alex Thorne <lexiconifernelius@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lvmetad Errors
Date: Sun, 12 Jul 2015 18:51:51
Message-Id: CAB5mfckAm0_V6=BCwpWUbTxgc2GRqPFFvXsWNaBLO=PUKsx6Qw@mail.gmail.com
In Reply to: Re: [gentoo-user] lvmetad Errors by Peter Humphrey
1 I'm afraid I won't be testing it any time soon -- I don't have any drives
2 to pair at the moment. As for your comments about dmraid being 'fake', I'm
3 a little confused. From what you say it sounds like this is the hardware
4 RAID that comes with many motherboards. Why is hardware RAID undesirable
5 over software RAID? Presumably the mdraid software option has an associated
6 performance hit? Is it just that opaque proprietary firmware can't be
7 trusted with the important task of looking after our data?
8
9 On 6 July 2015 at 16:01, Peter Humphrey <peter@××××××××××××.uk> wrote:
10
11 > On Monday 06 July 2015 10:19:36 Alex Thorne wrote:
12 > > I guess I did mean mdraid, but would you mind explaining the difference
13 > > (I've never used raid so don't know much about this)? Is dmraid
14 > deprecated
15 > > in favour of mdadm?
16 >
17 > Dmraid is the fake RAID that's included on most motherboards these days;
18 > it's
19 > meant for use with Windows and is enabled (or not) in the BIOS. There are
20 > Linux drivers, but we're always advised to use mdraid instead. Mdraid is
21 > all
22 > in software spread over the kernel, udev and user space*; it's not
23 > influenced
24 > at all by Windows as far as I know. Mdadm is the user-space administration
25 > program that comes with mdraid.
26 >
27 > Mdadm creates /dev/mdX from one or more /dev/sdX or similar - e.g. my
28 > /dev/md1
29 > is built on /dev/sd[ab]1; /dev/md5 is on /dev/sd[ab]5 and /dev/md7 is on
30 > /dev/sd[ab]7. That last one also has LVM on it with a dozen or more logical
31 > volumes for segments of my overall file system.
32 >
33 > If you want to play with mdraid, the old Gentoo guide is succinct but
34 > useful:
35 >
36 > http://wwwold.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
37 >
38 > Well, it was, but suddenly it isn't there - even Google's search results
39 > end
40 > up in an empty page.
41 >
42 > Ah, I've found the new version at https://wiki.gentoo.org/wiki/LVM . It
43 > must
44 > be very new - would you like to test it? :-)
45 >
46 > * Yes, I know that udev runs in user space (="User Device" management)
47 > but I
48 > thought it was worth mentioning separately.
49 >
50 > --
51 > Rgds
52 > Peter
53 >
54 >
55 >

Replies

Subject Author
Re: [gentoo-user] lvmetad Errors Alan McKinnon <alan.mckinnon@×××××.com>