VMware Cloud Community
drfooser
Contributor
Contributor

The ramdisk 'opt' is full.

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 ?

Reply
0 Kudos
1 Reply
fabio1975
Commander
Commander

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)

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

Reply
0 Kudos