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.
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