User Tools

Site Tools


burim:vmware

vagrant

usb disk to vmware esxi version 6

vmkfstools -C vmfs6 -S my_vmfs /vmfs/devices/disks/naa.ID:1

vmkfstools -C vmfs6 -S usb1tb /vmfs/devices/disks/mpx.vmhba33:C0:T0:L0

https://www.it-react.com/index.php/2020/04/26/how-to-add-a-usb-disk-as-vmfs-datastore-in-esxi-6-7/

how_to_add_a_usb_disk_as_vmfs_datastore_in_esxi_6.pdf

Upgrade

Thunderbolt 3

64GB mem

vmware esxi upgrade

info setup ESXI NUC

seearch for “TPM 2.0 device detected but a connection cannot be established.” to disable

https://madlabber.wordpress.com/2019/07/13/running-esxi-6-7-on-a-bean-canyon-intel-nuc-nuc8i5beh/

USB adapter lan

  • usb 3.0 to ethernet adapater gigabit

https://flings.vmware.com/usb-network-native-driver-for-esxi#requirements

  • needed startup script to bind the usb
vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
count=0
while [[ $count -lt 20 && "${vusb0_status}" != "Up" ]]
do
    sleep 10
    count=$(( $count + 1 ))
    vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
done

if [ "${vusb0_status}" = "Up" ]; then
    esxcfg-vswitch -L vusb0 vSwitch1
    esxcfg-vswitch -M vusb0 -p "Management Network" vSwitch1
    esxcfg-vswitch -M vusb0 -p "VM Network" vSwitch1
fi
  • 10gbe

https://medium.com/@moondev/my-adventure-adding-10gbe-networking-to-an-intel-nuc-for-esxi-via-thunderbolt-3-pcie-expansion-1d6a627ffea4

  • vsan blog

https://danjohnson.blog/2017/11/17/the-intel-nucvsan-home-lab/

backup free script

Power on VM

ESXi 4.x, 5.x and 6.0

To power on a virtual machine from the command line: List the inventory ID of the virtual machine with the command:

vim-cmd vmsvc/getallvms |grep <vm name>

Note: The first column of the output shows the vmid.

Check the power state of the virtual machine with the command:

vim-cmd vmsvc/power.getstate <vmid>

Power-on the virtual machine with the command:

vim-cmd vmsvc/power.on <vmid>

USB storage

usb-devices-as-vmfs-datastore-in-vsphere-esxi-6-5

esxcli storage vmfs snapshot list
esxcli storage vmfs snapshot mount -u 583b1a72-ade01532-55f6-f44d30649051
burim/vmware.txt · Last modified: 2025/08/29 09:54 by burim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki