VMware vSphere

 View Only
  • 1.  The ramdisk 'opt' is full.

    Posted May 28, 2021 01:03 PM

    It's full on all 4 VxRail hosts in the cluster. 

    As a result, the file /opt/* cannot be written to.

    How can I clear space in this ramdisk ?



  • 2.  RE: The ramdisk 'opt' is full.

    Posted May 28, 2021 01:32 PM

    Ciao

    It happened to me in the past

    First, you should check if you can log in via SSH, if OPT is full you should not be able so you have to restart the SSH service on each ESXi host.

    Then you connect via SSH to one of the hosts and run the command  VDF -h to see the space occupied.

    fabio1975_0-1622208523164.png

     

    Then you can run the following command:

    find / opt -size + 1024k -exec du -h {} \; | less

    which lists you the files with a size + larger than 1024k

    fabio1975_1-1622208575786.png

     

    from this list, you can understand what is filling your OPT and decide whether to delete the file or not

    It happened to me in the past that it was the raid controller logs (MegaSAS.log)