So I talked about using /var instead of /var/log for you standard ESX deployment… Still I see people do lots of weird things, these are my recommendation for esx partitioning:
Primary:
/boot - 250MB
/ - 5120MB
Swap - 1600MB
Extended Partition:
/var - 4096MB
/home - 2048MB
/opt - 2048MB
/tmp - 2048MB
VMKcore - 100MB
VMFS - Fillup, but leave atleast 5GB for additional partitions in the future as Bouke and Eric suggest below!
This will take up around 18GB of the 36GB you have these days as a minimum. And you’ll avoid filling up your root file system with log files, core dumps or temporary files. Start using it if you’re not doing it…
And if you did manage to fill up your root file system use this command from the COS to find any files larger than 10MB:
find –type f –size +10240k