Sunday, December 21, 2014

How best to upgrade hard drive on VMware Server?



I have a VMware ESXi 4 server running on a 250GB disk, with a single VM on it. I would like to replace the 250GB with a new 2TB disk I now have. Which of the following is the best approach:



1) Use Clonezilla to clone disk to disk and then expand the partition that has the VM on it to the max size.



2) Use GParted to copy each partition on the source disk to the dest disk and manually install GRUB




3) Install VMware fresh on the new disk, then manually copy over the files that make up the VM at the filesystem level.



I'm attempting to do #1 right now, but have seen a warning or two like:



VMFS: Warning: LUN ID mismatch on .....


Answer



I recommend the fresh install method.



Because the VM consists of only a few files, it's easy to treat much like a file share disk, as opposed to a program disk with unknown dependencies. ESXi is easy enough to install that you ought to be fully upgraded in 1-2 hours.




Just back up the files, reinstall the latest version of ESXi and copy the files back in.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...