Resizing a disk once the volume has grown on host in a VM (Ubuntu)

The disk will not automatically resize on many platforms once more disk space was made available. Particularly in Ubuntu 16.04 Rescanning the device for size maps : echo 1 > /sys/class/scsi_device/2\:0\:0\:0/device/rescan Then standard procedures to grow the fs apply. nJoy ๐Ÿ˜‰    

Longevity and stability of sshfs

Just worth noting I hd many arguments with other sysadmins and bosses over the stability and validity of sshfs as a shortcut to creating a bridge for transferring files for backup or adhoc moves   The following is the result of an rsync from one sshfs mount to another (from ESXi servers I only had…

VMWare vSphere ESXi v5.5 Install Errors disk cannot partition

While adding a new disk to an ESX5.5. box it could not finish the partitioning stage and did not add to the Datastores. Apparently ESX does succeed to clean up the Disk from the GUI. NOTE: This procedure will destroy all data on the disk

Accessing ESX management interface (DCUI) from ssh

Access the ESXi Direct Console User Interface (DCUI) over SSH When not in position to go to the DC to access the ESX text mode interface use the DCUI command: First you need to enable and start Remote Tech Support (SSH). This is done for the ESXi Host in Configuration -> Software -> Security Profile…

Enable VMWare time sync from command line

Virtual machines and NTP do not go easily well together. Machines paused for extended periods tend to loose the ntp sync since the difference grows too much.   Also from VMware Docs the following info might be clarificatory: Do not configure the virtual machine to synchronize to its own (virtual) hardware clock, not even as…

List VMs in ESX 5.1

To get a description of all the vms on an ESX 5.1 box use the following: ~ # vim-cmd vmsvc/getallvms | grep vmx | awk '{ print $2 }'