Move/Duplicate ESXi5 disk

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
SAJJITERAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
SAJJITERAuthor 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 MVE^2)VMware and Virtualization ConsultantCommented:
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.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

SAJJITERAuthor Commented:
Do VCLI and vicfgbackup.pl command work on ESXi 5 ?
A quick googling returns no HowTo but japanese !-)
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SAJJITERAuthor Commented:
Clear!

Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.