[Bug 1468897] Re: multipath creates binding for Removable(USB) drives
Mike Rushton
mike.rushton at canonical.com
Thu Jun 25 21:25:01 UTC 2015
After following this post: https://www.redhat.com/archives/dm-
devel/2008-September/msg00235.html
I have prepended the following to /lib/udev/rules.d/95-multipath.rules:
#Weed out the linear map.
KERNEL=="dm-*", PROGRAM=="/sbin/dmsetup table -j %M -m %m", RESULT=="*linear*", OPTIONS="last_rule"
# And block devices that come from usb:
ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="usb", OPTIONS="last_rule"
This prevents /dev/sdi from showing up under lsblk completely and is now missing as a block device completely:
$ ls /dev/sdi*
ls: cannot access /dev/sdi*: No such file or directory
I think this is some progress, but not working as intended yet.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1468897
Title:
multipath creates binding for Removable(USB) drives
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1468897/+subscriptions
More information about the Ubuntu-server-bugs
mailing list