We help IT Professionals succeed at work.

Move/Duplicate ESXi5 disk

Medium Priority
689 Views
Last Modified: 2012-03-13
Bonjour,

ESXi is installed on 2 mirrored 300Gb SAS disks: I feel more secured with hard drive vs USB boot.
The VM and .vmsk are on 3 else 300Gb SAS disks (RAID 5)

I wish to  use 2x smaller SATA disks (146Gb) for ESXi and thus be able to add the mirrored 300 Gb to the RAID 5, then increase the datastore and so the vmdisks usable space.

1) How can I "diskcopy" the ESXi 300Gb mirrored disk to the new 146Gb mirrored set ?

2) Is it possible in the same way to move ESXi from hard disk to USB ? and duplicate USB in order to have a spare ?

Thanks for your kind help,

Jean-Jacques
Comment
Watch Question

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:

Author

Commented:
Hanccocka,

Solution 1 : Problem is not about cloning virtual machine, we use Veeam, but ESXi installation itself.

Solution 2 : This installation is not on an USB Flash drive or SD card.
So it seems 2nd solution will not allow a simple way to clone 330Gb hard drive ESXi installation to a 146 Gb one, and would oblige to install a MS Windows on the server to be able to use winimage.

Solution 3 : Referring to the FAQ, cloning a mirrored set of disk and cloning to smaller disk seems a tough job with G4L... If that was not relevant, where/how should I install G4L ?

Isn't there a magic CD I could boot on and do the job, whatever the source (300 Gb mirrored) and the target (146 Gb mirrored or USB Flash drive) ?

Thanks for your support,
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
You only option is to clone using G4L, ESXi from 300Gb to 146Gb disks, but to be honest its hardly worth the effort

reinstall ESXi p, it only takes a few minutes to install, and if you make a backup of the config using VCLI, using the vicfgbackup.pl command, you can restore the config.

So in summary

1. yes use G4L if you really wantbto, but I would not bother.

2. yes, use G4L, but I would install new,restore backup config.


then use my article to clone, copy usb flash drive.

Author

Commented:
Do VCLI and vicfgbackup.pl command work on ESXi 5 ?
A quick googling returns no HowTo but japanese !-)
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
Yes, vCLI is here

http://www.vmware.com/support/developer/vcli/

and the commands are

To backup the host you would run the command.

vicfg-cfgbackup.pl --server <server_name> -s <backup_file_name>

To restore your backup configuration to your host you would run. This will cause the host to reboot once the process is complete.

vicfg-cfgbackup.pl --server <server_name> -l <backup_file_name>

I think this would be the quickest way for you, backup your configuration, install a new ESXi on USB, and then restore configuration.

Author

Commented:
Clear!

Thanks.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.