Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MDADM Array detection slowing down boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nymexthegreat
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Mon Sep 08, 2014 5:59 pm    Post subject: MDADM Array detection slowing down boot Reply with quote

I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the arrays at boot (from the initramfs).

I've tried:

mdadm --detail –scan >> /etc/mdadm.conf

Removing info about metadata etc.. (as suggested elsewhere), and then telling Gentoo's genkernel to pull in the mdadm.conf into the initramfs through genkernel.conf.

But it's still holding up the boot process (detected mdadm array xyz etc..). I have an alternate distro (Debian) installed on a separate partition which also runs systemd and which boots much quicker. Any ideas?
gentoo systemd mdadm initramfs
Back to top
View user's profile Send private message
Sulman
n00b
n00b


Joined: 15 Feb 2014
Posts: 63

PostPosted: Tue Sep 09, 2014 2:20 am    Post subject: Re: MDADM Array detection slowing down boot Reply with quote

nymexthegreat wrote:
I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the arrays at boot (from the initramfs).

I've tried:

mdadm --detail –scan >> /etc/mdadm.conf

Removing info about metadata etc.. (as suggested elsewhere), and then telling Gentoo's genkernel to pull in the mdadm.conf into the initramfs through genkernel.conf.

But it's still holding up the boot process (detected mdadm array xyz etc..). I have an alternate distro (Debian) installed on a separate partition which also runs systemd and which boots much quicker. Any ideas?
gentoo systemd mdadm initramfs


I have my work PC setup with raid 0 and have noticed exactly the same thing. Under 10s, right? I used to have Arch Linux with similar config and it did not spend any notable time assembling the arrays; I always took it to be a quirk of my install.

I'd be curious to see if there's an explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum