[dm-devel] Where to read the WWID of a multipath device
Sahid Orentino Ferdjaoui
sahid.ferdjaoui at canonical.com
Wed Mar 20 10:28:05 UTC 2019
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
/lib/udev/scsi_id would not be correct either.
To give a bit of context it's for an OpenStack library in Python.
Thanks,
s.
More information about the dm-devel
mailing list