linux multipath - change device alias safely
Yes, you can safely restart multipathd. It is only responsible for checking for failed paths and listening for new paths. It is not directly involved in i/o. To understand the different parts of the multipath system, read The Linux multipath implementation.
Related videos on Youtube
carillonator
Systems/Database Engineer who dabbles in web design.
Updated on September 18, 2022Comments
-
carillonator almost 2 years
I'm running RHEL 5.2 connected to a NetApp over FC. The server is running a database on mpathNN devices that can not be stopped. I need to add a new LUN and give it a specific alias (rather than mpathNN). I know how to set this up in multipath.conf, but I don't know the wwid of the LUN yet. I also know this can be achieved by restarting multipathd, but don't know if this is safe.
Is it safe to restart multipathd without i/o interruption?
or, is there another way I can enable the alias specified in multipath.conf once I've presented it to the host?
thanks!
-
c4f4t0r almost 8 yearsadd alias in multipath.conf and use "multipathd -k "reconfigure" " that works
-