Comment 1 for bug 1628163

Revision history for this message
swapnil-nilangekar (swapnil-nilangekar) wrote :

Hi,
I am using Ubuntu 16.04.2 system.
My setup has multipathd service in active state and there is no multipath.conf explicitly created in the system. Hence it is defaulting the 'user_friendly_name' to 'no'.

For initial mount/unmount operations for same volume through our FC driver /dev/disk/by-id/dm-uuid-mpath-<WWN> entry is populated.
Whereas after retrying few more number of times it is found that /dev/disk/by-id/dm-uuid-mpath-<WWN> entry is not populated. But it can be seen that /dev/disk/by-id/scsi-<WWN> path entry is available in all cases.

Ask here is to have path checks for all the possible multipath device path to avoid the failure of operation.

In short, for default multipath configuration on Ubuntu, sometimes /dev/disk/by-id/dm-uuid-mpath-<WWN>
and /dev/mapper/<WWN> path entries are not populated but /dev/disk/by-id/scsi-<WWN> entry is populated after the scan. Hence OS_brick needs to check entries for all the the possible paths.

Or Is there any other reason why path check is restricted to only /dev/disk/by-id/dm-uuid-mpath-<WWN>
and /dev/mapper/<WWN>.