VMWare ESXi 5 – how to move a datastore from local drives to a NFS or iSCSI share

datastorenetwork-attached-storagevmware-esxi

I currently have a couple vmware esxi servers with a data store using the server's local hard drives. I am going to set up a NAS server that will support NFS or iSCSI. I would like to mount that on the VMWare server and move the current datastore on to it. Is this possible, and basically, how?

Best Answer

Sure - but it can only be done with the VM running of you have licensing that allows for Storage VMotion.

Otherwise, you'll shut the VM down and unregister it ("remove from inventory"), then in the datastore browser select the VM's directory and select the "move" option (the little paper with an arrow) in the top panel. Once that completes, find the VM in the new location in the datastore browser, right-click the .vmx file, and register it. When it's booting, it'll ask whether it was moved or copied; select moved.

Related Topic