internal error cannot relocate virtual machine ramdisk (tmp) is full

por | 3 diciembre, 2021

Relocate virtual machine

Status: A general system error occurred: internal error

Initiator: VSPHERE.LOCAL\Administrator

Target: VM-MYMACHINE01

Cannot relocate virtual machine VM-MYMACHINE01 in DCMY

Relocating VM-MYMACHINE01 from 192.168.1.2, DataStore01 to 192,168.1.3 DataStore03

Task: Relocate virtual machine

Check LOGS

Cannot extend visorfs file /tmp/bbFile1.txt because its ramdisk (tmp) is full.

Log into ESXi host and :

vdf -h

vdf |grep tmp

Check whether the /tmp directory is full:

  1.  If the /tmp directory is at 90% or more under the Use% column, run the following commands:

cd /tmp
du -a <Path> | sort -n -r | head -n 20

  1. Examine the directories for ones which are suspiciously large.
  2. Within the suspicious directory, use the command to look at files.

ls -lha

Note: If there are any that are very large, or which seem to have a very high number filling up the ramdisk.

Clean files with

# > mili2d.log