Yes, that makes coping a bit painful and a new datastore name could screw up some scripts.
There are some problems one could face:
- if you just unpresent the original and then rescan so that ESX removes the old SCSI LUNS is could have negative effects on *all* VMS, even if they are located on other datastores.
You can find some more information if you search for "all paths down" or "APD", e.g.:
c01908147 - VMware ESX Server 4.x - Server reboots when LUNs are presented/unpresented from EVA
- the original datastore is registered in the vCenter database and often linked by other objects, e.g. VMs, which makes deletion a bit hard.
It should be possible to remove the links, e.g. by unregistering the VMs, then deleting (!!) the original datastore, unpresenting the vdisk and rescanning. Then present the clone, rescan, resignature, ...
- Or, just unpresent the original and rescan (watch about APD). Alter the clone's LUN WWN to that of the original and present it under the original LUN address, then rescan.
- One way to minimize disruptions due to APD I've attemped once was:
-- migrate all VMs off one server
-- unpresent the vdisk from that server only
-- rescan
-- repeat with next server
I didn't encounter a problem, but, hey, maybe I was just lucky.
No amount of planning will ever replace dumb luck
(no, sorry, I did not invent that)
.