This command fails , due to absence of entry /dev/dm-3, since the mount output containing only a symlink to the actual /dev/dm-3 entry which was either
/dev/mapper/360002ac00000000001008506000187b7
or /dev/disk/by-id/dm-uuid-mpath-360002ac00000000001008506000187b7
Analysis:
Now the code verifies like
This command fails , due to absence of entry /dev/dm-3, since the mount output containing only a symlink to the actual /dev/dm-3 entry which was either /dev/mapper/360002ac00000000001008506000187b7 or /dev/disk/by-id/dm-uuid-mpath-360002ac00000000001008506000187b7