Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device appeared twice with different sysfs paths #2705

Closed
tpmajer opened this issue Feb 22, 2016 · 4 comments
Closed

Device appeared twice with different sysfs paths #2705

tpmajer opened this issue Feb 22, 2016 · 4 comments

Comments

@tpmajer
Copy link

tpmajer commented Feb 22, 2016

Hello,
I have seen this error message during system boot for about 2 days, and I couldn't find a solution. I tried to downgrade systemd to 228 and boot up Linux-lts (4.1.18-1), but it didn't help.
I have Windows 10 and Arch Linux (Dual Boot, UEFI, GRUB).

[tpmajer@archlinux ~]$ dmesg -l err
[   18.494168] systemd[1]: dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device: Dev dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda1 and /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/block/sda/sda4

dmesg.txt

[tpmajer@archlinux ~]$ lsblk -f
NAME   FSTYPE LABEL        UUID                                 MOUNTPOINT
sda                                                             
├─sda1 ntfs   Recovery     EE2ACE172ACDDCA9                     
├─sda2 vfat                16D0-E2DB                            /boot/efi
├─sda3                                                          
├─sda4 ntfs   Windows10_OS 3EDCEF66DCEF1745                     
├─sda5 swap   Linux Swap   01aeffe8-b085-4b7a-bf00-02f9101fca9a [SWAP]
└─sda6 ext4   Arch Linux   616dab8d-710d-4853-8ca9-6845a0411e5e /
sr0
[tpmajer@archlinux ~]$ cat /etc/fstab
# UUID=616dab8d-710d-4853-8ca9-6845a0411e5e LABEL=Arch\134x20Linux
/dev/sda6               /           ext4        rw,relatime,data=ordered0 1

# UUID=16D0-E2DB
/dev/sda2               /boot/efi   vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

# UUID=01aeffe8-b085-4b7a-bf00-02f9101fca9a LABEL=Linux\134x20Swap
/dev/sda5               none        swap        defaults    0 0
[tpmajer@archlinux ~]$ pacman -Q systemd
systemd 229-3
[tpmajer@archlinux ~]$ uname -a
Linux archlinux 4.4.2-1-ARCH #1 SMP PREEMPT Thu Feb 18 12:11:13 CET 2016 x86_64 GNU/Linux

My system boots up very slow.

@arvidjaar
Copy link
Contributor

Two partitions have the same partition label; it has nothing to do with systemd and certainly not a systemd issue. The message is just a warning, as long as you do not use these links anyway it does not matter.

@poettering
Copy link
Member

we should downgrade the message again I guess, to debug level.

Duplicate of #2677

@kobigi
Copy link

kobigi commented Sep 10, 2016

i see the same message in openstack deployment and suspect it causes ceph to fail during initialization.
is this indeed just a warning ?

@Steve-Newcomb
Copy link

I get these, uh, warning messages all the time, I assume because I use LUKS. Only the LUKS partitions generate the messages. I don't know why the system thinks the partition labels are duplicated, but maybe it's because the decrypted partitions are made to appear in /dev/mapper/... ? Anyway, they seem to work OK (modulo the annoying xhci_hcd reset messages that also don't seem to mean much of anything).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants