Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Does systemd work with mdadm?
Date: Sun, 30 Nov 2014 01:44:27
Message-Id: 547A7672.7040703@gmail.com
In Reply to: Re: [gentoo-user] Does systemd work with mdadm? by Mark Pariente
1 On 11/29/2014 12:19 AM, Mark Pariente wrote:
2 >
3 > mdadm works perfectly fine with systemd. I am running a 4-disk RAID-10
4 > configuration and it gets assembled properly by systemd. I have the
5 > "ARRAY ..." definition in /etc/mdadm.conf and the /dev/mdXXX mount point
6 > in /etc/fstab and AFAICT that's all you need, the default udev/systemd
7 > configuration brings it all up as expected.
8 >
9 > --Mark
10 >
11 >
12
13 I managed to get it going without too much trouble. I followed a guide
14 on the gentoo wiki but it didn't mention anything about setting up a
15 network, so I didn't.
16
17 When I rebooted that caused a mess but I was still able to log in. Fixed
18 that and added services that were enabled in openrc (like kdm...) and
19 everything's good to go.
20
21 So far, it's better than openrc in that there's a bug shutting down an
22 imsm raid that's still not been addressed. It causes the array to do a
23 rebuild next time it starts up and from my testing systemd doesn't have
24 this issue.
25
26 Dan

Replies

Subject Author
Re: [gentoo-user] Does systemd work with mdadm? Rich Freeman <rich0@g.o>