On 26.05.2023 17:15, Carlos E. R. wrote:
I get this in the /var/log/warn logfile:
2023-05-26T16:00:03.721677+02:00 Elesar systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap: Cannot add dependency job, ignoring: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap not found. 2023-05-26T16:00:03.736908+02:00 Elesar systemd[1]: message repeated 11 times: [ dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap: Cannot add dependency job, ignoring: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.swap not found.]
Strange things: the message is not in /var/log/messages nor in journalctl output.
And there is no such device, and no similar entry at all in fstab.
There is no way to tell it because you did not show which device as which label.
cer@Elesar:~> l /dev/disk/by-path/*part1* lrwxrwxrwx 1 root root 10 May 26 15:58 /dev/disk/by-path/pci-0000:00:1f.2-ata-1.0-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 26 15:00 /dev/disk/by-path/pci-0000:00:1f.2-ata-1.1-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 26 15:00 /dev/disk/by-path/pci-0000:00:1f.2-ata-1-part1 -> ../../sdb1
Educated guess - systemd is confused by two different device paths to the same device.
cer@Elesar:~>
cer@Elesar:~> cat /etc/fstab
LABEL=ssd-swap swap swap defaults 0 0 LABEL=ssd-test / ext4 acl,user_xattr,relatime,lazytime 1 1 LABEL=Cripta /home xfs defaults,relatime,lazytime 0 1 LABEL=ssd-usr /usr ext4 data=ordered,relatime,lazytime 0 1
# Disco antiguo de oxido rotante, 340 horas de uso. LABEL=Lamán_xfs /data/Lamán xfs defaults,relatime,lazytime 0 1
cer@Elesar:~>
What could be producing that message?