RE: What can be used instead of /dev/disk/by-path/* symlinks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, December 17, 2013 10:54 AM Dimitri John Ledkov <xnox@xxxxxxxxxx> wrote:
> 
> Hello,
> 
> On 17 December 2013 09:10, Dorau, Lukasz <lukasz.dorau@xxxxxxxxx> wrote:
> > Hi Neil,
> >
> > The /dev/disk/by-path/* symlinks are not created for ATA devices in systems using
> systemd v182+, so mdadm cannot use them in case of policies and udev rules
> (mdadm -If --path=...)
> >
> > 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

��.n��������+%������w��{.n�����{����w��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux