Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd bitches about root device /dev/md/root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
guido.hatzsis
n00b
n00b


Joined: 10 Jul 2015
Posts: 51

PostPosted: Fri Oct 23, 2015 9:23 am    Post subject: systemd bitches about root device /dev/md/root Reply with quote

i have my root partition setup on an a raid device. I mount this as /dev/md/root as this is the name of the raid device. Even though this is a symlink to something in /dev/md/12x. The system works fine but it systemd keeps on complaining about not being able to stat the symlink.

[code] systemd[611]: Failed to stat device node file /dev/md/root: Permission denied[/code]

Is there anyway to silence systemd?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Wed Nov 04, 2015 6:36 am    Post subject: Reply with quote

Check the permissions of that inode.
Back to top
View user's profile Send private message
guido.hatzsis
n00b
n00b


Joined: 10 Jul 2015
Posts: 51

PostPosted: Mon Nov 23, 2015 8:34 pm    Post subject: Reply with quote

Thanks for that tip. /dev/md is created with perms 700 and is owned by root. I didn't realize that the actual message was coming from the systemd-user thing.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Mon Nov 23, 2015 8:59 pm    Post subject: Reply with quote

What if you stick to /dev/md0 instead of /dev/md/name style?

(in your mdadm.conf, initramfs, and everywhere else)

The name style is not particularly common.

Also, mdadm.conf entries should only have '/dev/mdX UUID=a:b:c:d', not '/dev/md/X name= metadata=' etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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