Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lvm - dmesg output "conflicting device node"
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
whjeon
n00b
n00b


Joined: 20 Nov 2017
Posts: 70
Location: Seoul,Korea(Republic of)

PostPosted: Thu May 23, 2019 12:49 pm    Post subject: lvm - dmesg output "conflicting device node" Reply with quote

Hi, I've installed Gentoo again, and new 'dmesg' red text appeared.

[dmesg output]
Code:

[    3.561096] udevd[3995]: conflicting device node '/dev/mapper/whjeonlvm-swap' found, link to '/dev/dm-0' will not be created
[    3.586001] udevd[3995]: conflicting device node '/dev/mapper/whjeonlvm-swap' found, link to '/dev/dm-0' will not be created
[    3.629872] udevd[3993]: conflicting device node '/dev/mapper/whjeonlvm-home' found, link to '/dev/dm-1' will not be created
[    3.663141] udevd[3995]: conflicting device node '/dev/mapper/whjeonlvm-home' found, link to '/dev/dm-1' will not be created


How can I resolve those?
If you need more information, let me know, I'll attach them.

Below is basic information for the partition scheme.

[physical hardware]

1 SSD, 2 HDDs each 1TB.

[partition scheme( for UEFI )]

<SSD>
/boot (esp/vfat)
/ (linux filesystem, ext4)

<2 HDDs> - vg - lvm
/home (linux filesystem, ext4)
swap(linux swap, swap)

[/etc/fstab]
Code:
/dev/sda1               /boot           vfat            defaults,noatime        0 2
/dev/sda2               /               ext4            noatime                 0 1
/dev/whjeonlvm/home     /home           ext4            noatime                 0 1
/dev/whjeonlvm/swap     none            swap            sw                      0 0
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7446
Location: almost Mile High in the USA

PostPosted: Thu May 23, 2019 3:28 pm    Post subject: Reply with quote

I found that to be more of a warning because my initramfs mounted them manually during boot, and when udev came around to redo them, they're already done!

Though it would be interesting if someone found a better workaround, I've been simply ignoring these warnings.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
brokendreams
n00b
n00b


Joined: 11 Nov 2018
Posts: 22
Location: clinton,ia US

PostPosted: Sat Jun 15, 2019 4:03 am    Post subject: Reply with quote

I'd agree it's more of just a warning. Only sys-fs/udev by itself or part of systemd emits this warning too. sys-fs/eudev last I checked didnt trigger a warning like that.

The fact it always mentions dm0 dm1 ect leads me to think it normally makes a link between from dm* to /dev/mapper/dm* the default if you choose not to name them is dm0 dm1 ect. Just like how mdadm defaults to md0 md1 ect.
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 680
Location: Barcelona, Spain

PostPosted: Mon Dec 30, 2019 12:24 am    Post subject: Reply with quote

Same issue here:

Code:
# dmesg | grep '/dev/dm'
[   15.195302] udevd[3128]: conflicting device node '/dev/mapper/vgd-Imatges' found, link to '/dev/dm-1' will not be created
[   15.243430] udevd[3132]: conflicting device node '/dev/mapper/vgd-swap' found, link to '/dev/dm-0' will not be created
[   15.411127] udevd[3132]: conflicting device node '/dev/mapper/vga-rootfs' found, link to '/dev/dm-2' will not be created


Code:
# ls /dev/dm-*
/dev/dm-0  /dev/dm-1  /dev/dm-2


Code:
# qlist -Iv sys-fs/eudev
sys-fs/eudev-3.2.9


Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Mon Dec 30, 2019 12:42 am    Post subject: Reply with quote

You can add 'noauto' to /etc/fstab

Code:
# now on ssd
UUID=1c981da8-f0f6-4953-b485-8dbc9e7c6879  /var                    ext4  noatime,noauto,discard    1 0
UUID=24e36648-f410-40b8-931f-41ad46741a47  /usr                    ext4  noatime,noauto,discard,user_xattr      1 0


My /usr and /var are mounted by the initrd, so they don't need to be mounted by the localmount service again.

The warnings are harmless.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
whjeon
n00b
n00b


Joined: 20 Nov 2017
Posts: 70
Location: Seoul,Korea(Republic of)

PostPosted: Mon Dec 30, 2019 12:55 am    Post subject: Reply with quote

mimosinnet wrote:
Same issue here:

Code:
# dmesg | grep '/dev/dm'
[   15.195302] udevd[3128]: conflicting device node '/dev/mapper/vgd-Imatges' found, link to '/dev/dm-1' will not be created
[   15.243430] udevd[3132]: conflicting device node '/dev/mapper/vgd-swap' found, link to '/dev/dm-0' will not be created
[   15.411127] udevd[3132]: conflicting device node '/dev/mapper/vga-rootfs' found, link to '/dev/dm-2' will not be created




Are you using 'genkernel' to make initramfs?
Mine was gone by removing '--lvm' when generating intramfs, so it would be 'genkernel --microcode initramfs' (plus other options if you need, only without lvm).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Mon Dec 30, 2019 12:59 am    Post subject: Reply with quote

mimosinne,

Code:
[   15.411127] udevd[3132]: conflicting device node '/dev/mapper/vga-rootfs' found, link to '/dev/dm-2' will not be created   

Take care. If that's your root filesystem, you need lvm in the initrd.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
whjeon
n00b
n00b


Joined: 20 Nov 2017
Posts: 70
Location: Seoul,Korea(Republic of)

PostPosted: Mon Dec 30, 2019 1:02 am    Post subject: Reply with quote

NeddySeagoon wrote:
mimosinne,

Code:
[   15.411127] udevd[3132]: conflicting device node '/dev/mapper/vga-rootfs' found, link to '/dev/dm-2' will not be created   

Take care. If that's your root filesystem, you need lvm in the initrd.


You're right. My critical mistake. I was too focused on my case. Sorry for the confusion.
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