From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:41270 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753450AbeGFVVq (ORCPT ); Fri, 6 Jul 2018 17:21:46 -0400 Received: by mail-pf0-f193.google.com with SMTP id c21-v6so4739555pfn.8 for ; Fri, 06 Jul 2018 14:21:46 -0700 (PDT) Date: Fri, 6 Jul 2018 14:21:44 -0700 From: Omar Sandoval To: Bart Van Assche Cc: "osandov@fb.com" , "linux-block@vger.kernel.org" Subject: Re: [PATCH blktests v2 3/3] Add tests for the SRP initiator and target drivers Message-ID: <20180706212144.GF25954@vader> References: <20180627214908.26379-1-bart.vanassche@wdc.com> <20180627214908.26379-4-bart.vanassche@wdc.com> <20180628234305.GB14953@vader> <90b8682d-7010-5f57-9ecd-3a4c733ccc18@wdc.com> <20180703194913.GA25954@vader> <20180703195010.GB25954@vader> <20180703213918.GC25954@vader> <69e800ccba7644a5a0b26e6d83483310926a907b.camel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <69e800ccba7644a5a0b26e6d83483310926a907b.camel@wdc.com> Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On Wed, Jul 04, 2018 at 04:24:42PM +0000, Bart Van Assche wrote: > On Tue, 2018-07-03 at 14:39 -0700, Omar Sandoval wrote: > > Alright, I installed multipath-tools from source and the segfaults are > > gone, but I still don't get these symlinks. Instead, they show up as > > > > /dev/disk/by-id/scsi-3600140572616d6469736b32000000000 > > > > Any ideas? > > Hello Omar, > > The dm-uuid symlink is created by a udev rule. Apparently that udev rule is not > in the same software package as multipathd. Can you run the following command to > check whether that udev rule is available on your setup? > > grep -r dm-uuid /lib/udev/rules.d/ $ grep -r dm-uuid /lib/udev/rules.d/ /lib/udev/rules.d/13-dm-disk.rules:ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}" > The name of the package that includes the dm-uuid rule depends on the distro, > e.g. dmsetup or device-mapper. According to the git history of git repository > https://sourceware.org/git/?p=lvm2.git the dm-uuid udev rule was added to that > repository in August 2009, almost nine years ago. Yup, it's in the device-mapper package for me on Arch Linux (and Arch has very up-to-date versions of everything). I'll try some udev debugging.