Problem
Environment Information:
vCenter: 4.1.0, Build 345043
ESXi: 4.1, Build 348481
You need to move a virtual machine that is a part of a Microsoft Clustering Services (MSCS) to a new datastore and since this virtual machine has RDM (Raw Device Mapping) hard disks, you shutdown the virtual machine and use the Migrate… option to move the files:
Although the migration successfully completes without errors, you notice that once you attempt to power on the virtual machine:
… you receive the following error:
Reason: Thin/TBZ disks cannot be opened in multiwriter mode..
Cannot open the disk '/vmfs/volumes/50f88947-7d389596-e168-0025b500001a/Some-Cluster-02/Some-Cluster-02_1.vmdk' or one of the snapshot disks it depends on.
VMware ESX cannot open the virtual disk "/vmfs/volumes/50f88947-7d389596-e168-0025b500001a/Some-Cluster-02/Some-Cluster-02_1.vmdk" for clustering. Verify that the virtual disk was created using the thick option.
What’s strange is that when you view the configuration of the virtual machine, you see that the RDM drives have now become Virtual Disks:
This is different than the original configuration prior to migrating this virtual machine as shown here
Solution
**Note that the demonstration in this post is for the virtual machine cluster node 2 that originally references cluster node 1 for the RDM files.
I’m not sure if this is a bug but the migration option appears to replace RDM mappings with actual virtual desktops that are not accessible. To correct this problem, begin by removing the bad disks from the virtual machine:
**Note that you can delete the disks with the “Remove from virtual machine and delete files from disk.” but if you want to be absolutely safe, proceed with just removing and not deleting the actual files then perform a post cleanup task when the VM is back up.
With the bad hard disks removed, proceed with re-adding the RDM drives back to the virtual machine:
Browse to the cluster node 1 and add each of the RDM disks back to node 2:
Remember to add the cluster shared disks on different SCSI controllers than the system drive:
Also remember to change the SCSI Bus Sharing setting from None to Physical:
Once the RDM disks have been properly added back, you should now be able to power on the virtual machine:
No comments:
Post a Comment