The other day I upgraded my esxi 4.1 host to 5.1. My process was as follows:
1. Our environment on this particular server was local storage. I connected some external storage via iSCSI, moved all of the guests to the external storage.
2. Installed 5.1 to the build in SD card
3. Added my guest machines (on external storage) to the host
4. Upgraded vmware tools
5. Upgraded virtual hardware.
--
So today, I figured I would move these back to the local storage - but I noticed that the local storage was still vmfs3. So I upgraded it. Then I noticed that all of the vms that were local (and are now external) still exist on the local - so I removed the datastore and tried to re-add it. I got the following error:
"Call "HostDatastoreSystem.CreateVmfsDatastore" for object "ha-datastoresystem" on ESXi "dmzesxi01" failed."
After doing some research, I found a post about the partedUtility. When I tried to mklabel I am getting that the disk is read-only.
How can I re-attach this local datastore and move my vms back to it?
Thanks in advance,
sb