Hi there and welcome!!
If you could PUTTY into your server and capture the output of this command when run from the /etc folder:
This will give you a listing of all the files in this folder structure sorted by size. Hopefully something leaps off the screen at you then.
If you want, you could also capture the output and attach here as a file for people to peruse and maybe spot something for you as well!
Hi, please see the attached file of the listing of my /etc dir...
I thought it could be a swap issue and I noticed that swap is not on the datastore, and i cannot change it since /etc is full:
[root@massif:/etc] esxcli sched swap system get
Datastore Active: false
Datastore Enabled: false
Datastore Order: 0
Hostcache Active: false
Hostcache Enabled: true
Hostcache Order: 1
Hostlocalswap Active: false
Hostlocalswap Enabled: true
Hostlocalswap Order: 2
[root@massif:/etc] esxcli sched swap system set -n datastore0
Unable to set system swap configuration: /etc/vmware/esx.conf.tmp.2099398: write failed
etc-full.txt.zip 7.2 K
Looks like this ESXi host is added to an AD domain and the "Likewise" provider that VMware are using to provide this functionality is causing this:
./likewise/db: total 28388 -rw------- 1 root root 27.6M Feb 19 01:12 lsass-adcache.filedb.CAMPUS.MCGILL.CA.new -r--r--r-T 1 root root 60.0K Jan 8 03:13 .#registry.db -rwx------ 1 root root 44.0K Feb 19 00:57 registry.db -rw------- 1 root root 3.1K Feb 19 01:03 lsass-adcache.filedb.CAMPUS.MCGILL.CA drwx------ 1 root root 512 Feb 19 01:12 . drwxr-xr-x 1 root root 512 Feb 19 00:56 .. -rw-r--r-T 1 root root 0 Jan 8 03:13 pstore.filedb
The file "lsass-adcache.filedb.CAMPUS.MCGILL.CA.new" is 27.6MB in size and this will be consuming all the /etc space.
Your next question will be can I remove this file - this files seems to be an AD cache file so while I have not been able to find an official VMware document related to newer versions of ESXi however this article seems to imply the answer is yes:
Here is another implying the same thing: Not able to login to ESXi with Domain Account. Error: Cannot login to domain\user | IT Support Rocket
After completing and restarting ESXi, just check that the ESXi server is still connected to AD. If not then reconnect.
Hi, I had also noticed this big file. I have removed it and re-started hostd and now my system is back to normal.
This is a single ESXi managed by a vsphere in our lab and I had completely forgotten that I joined the ESXi server to AD. I have no need for it to join the domain so I'll just leave that part disabled for now!
Haha - excellent work and glad you got it solved.
Have a great day!