Esx: Difference between revisions

From DWIKI
Line 42: Line 42:
        
        


== Identify disks in Linux ==
== Identify disks in Linux guest==


  lsscsi
  lsscsi


== Check if vmdk is in use ==
== Check if vmdk is in use ==

Revision as of 08:38, 3 July 2023


Links

Tools

esxtop

Links



FAQ

start VM

List all vms

vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.getstate [vmid]
vim-cmd vmsvc/power.off [vmid]
vim-cmd vmsvc/power.on [vmid]

root account locked

pam_tally2 --user root --reset

show hardware info

esxcfg-info
      

Identify disks in Linux guest

lsscsi

Check if vmdk is in use

grep vmdk some.vmx

https://blah.cloud/infrastructure/safely-checkremove-orphaned-vmdk-files-from-esxi/

 vmkfstools -D foo.vmdk


 

list modules

esxcli system module list


ESXi login locked

pam_tally2 --user root

and

pam_tally2 --user root --reset