ESXi Notes

New Note: To add a data store.

esxcfg-nas -a -o <filer> -s /vol/<volume_name> <store name>

To enter CLI:

Make sure Tech Support mode is enabled.

Press Alt-F1

Type “unsupported” and press enter. (Note: “unsupported” is not displayed.)

If the above does not work, press Alt-F2 and you should then be able to select F2 to Customize. Press F2 and login as root. Select Trouble Shooting Options and then select Enable Local Tech Support. Once this is done you can then exit to the main menu and press Alt-F1 and be presented with the CLI login prompt and be able to access the CLI.

To clone a virtual machine:

Login as root and enter the following from the command line. Use the appropriated paths and file names and the target directory should be a new directory.

vmkfstools -i /vmfs/volumes/datastore/BaseVM/BaseVM.vmdk /vmfs/volumes/datastore/NewVM/newvm.vmdk

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s