Re: [dm-devel] Where to read the WWID of a multipath device

2019-03-21 Thread Sahid Orentino Ferdjaoui
On Thu, Mar 21, 2019 at 01:57:39AM -0600, Russell Weber wrote: > I would assume that most linux distributions at this point in time support > getting the wwids through: > ```cat /etc/multipath/wwids This path can be changed via multipath.conf I can't really use it. Also I just have a list of c

Re: [dm-devel] Where to read the WWID of a multipath device

2019-03-21 Thread Russell Weber
I would assume that most linux distributions at this point in time support getting the wwids through: ```cat /etc/multipath/wwids This can also be parsed out of multipath -ll ``` [USER ~]# multipath -ll mpathak (26639613661623365) dm-3 FUSIONIO,ION LUN size=2.7T features='3 queue_if_no_path pg_

[dm-devel] Where to read the WWID of a multipath device

2019-03-20 Thread Sahid Orentino Ferdjaoui
Hi, The question is as indicated on title, what would be the best way to get the WWID of a multipath device, something which would work on any systems or storages. My idea was to read /sys/block/dm-X/name but someone indicated to me that may not be correct in some situation, like it seems that /l