What is the correct way to update a XEN VM configuration?
In this case I want a specific domain to stop using /dev/emcpowerg and use /dev/emcpowerh in stead.
I have ensured that the two devices have identical geometry and have copied the contents from the one to the other (using dd)
Then I found two config files in /etc/xen/vm which refer /dev/emcpowerg and I replaced the g with an h in both places.
However when I run
xm list --long domain_name|grep emc I still get the emcpowerg device name... So either there is another place where the config is stored .... or maybe some daemon has got a resident configuration kept in memory?
How do I correctly remove dependency on the old LUN/block device (the storage array is due to be decommissioned)
P.S. Note that the domain has been down for the entire operation.