RE: What can be used instead of /dev/disk/by-path/* symlinks?
From: Dorau, Lukasz <hidden>
Date: 2013-12-17 10:08:40
On Tuesday, December 17, 2013 10:54 AM Dimitri John Ledkov [off-list ref] wrote:
Hello, On 17 December 2013 09:10, Dorau, Lukasz [off-list ref] wrote:quoted
Hi Neil, The /dev/disk/by-path/* symlinks are not created for ATA devices in systems usingsystemd v182+, so mdadm cannot use them in case of policies and udev rules (mdadm -If --path=...)quoted
What do you think - what should be used instead? The symlinks from /sys/block/* ?I am using a patched udev from systemd daemon collection v204, it still has "by-path" symlinks setup in the persistent storage rules. Similarly upstream systemd daemon collection v204 also sets up "by-path" symlinks in the persistent storage rules. What is your udev rules config? are any of persistent storage rules overridden? or not waiting for udev to settle? maybe the "builtin" command "path_id" not returning / detecting the paths of ATA devices in question?
The /dev/disk/by-path/* symlinks have not been created for ATA devices in systemd since v182: http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-path_id.c#n378 Lukasz