Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [SOLVED] Running cryptsetup under mdev
Date: Mon, 12 May 2014 05:52:08
Message-Id: 2699182.2x86YEIH5p@andromeda
In Reply to: Re: [gentoo-user] [SOLVED] Running cryptsetup under mdev by Andrew Savchenko
1 On Thursday, May 08, 2014 02:36:29 PM Andrew Savchenko wrote:
2 > On Wed, 07 May 2014 20:57:29 +0200 J. Roeleveld wrote:
3 > > On 7 May 2014 20:11:10 CEST, Walter Dnes <waltdnes@××××××××.org>
4 > >
5 > > wrote:
6 > > >On Wed, May 07, 2014 at 08:11:02AM +0200, J. Roeleveld wrote
7 > > >
8 > > >> On Tuesday, May 06, 2014 05:34:52 PM Walter Dnes wrote:
9 > > >> > Unfortunately, mdev != udev. People running RAID have
10 > > >> >
11 > > >> > problems
12 > > >
13 > > >too.
14 > > >
15 > > >> I know it isn't. I just find it strange that LVM can't work
16 > > >> without udev when I see options which configure the LVM-tools
17 > > >> to either double-check udevs actions or even completely bypass
18 > > >
19 > > >> udev:
20 > > > Thanks for the pointer. After turning off the udev-related
21 > > > options in
22 > > >
23 > > >lvm.conf, I'm getting /dev/mapper device nodes as expected.
24 > >
25 > > That is good. Now if only mdadm can be confirmed to work with
26 > > mdev. I could try it on one of my machines.
27 >
28 > And what is the problem with mdadm with mdev?
29
30 Only that Walter mentioned that people with Raid have issues too.
31
32 > I have such setup:
33 > nothing special here and works fine.
34 >
35 > Just to speed up device lookup:
36 >
37 > $ grep -v ^# /etc/mdadm.conf
38 > DEVICE /dev/sd*
39 >
40 > And here we go:
41 >
42 > $ cat /proc/mdstat
43 > Personalities : [raid10]
44 > md0 : active raid10 sdd[3] sdf[2]
45 > 2930265088 blocks super 1.2 256K chunks 2 far-copies [2/2] [UU]
46
47 Do the devices get created correctly in /dev as well?
48
49 Many thanks,
50
51 Joost