ESX - Find large files in the Service Console
April 9th, 2008
Got a few cases in work over the last few week where people are finding the root file system full in VMware ESX Server. This causes lots of issues with connectivity to VirtualCenter etc. The problem is that often it is difficult to find the large files that are causing the file system to fill up. I’ve been sending people this handy little script to help them so I thought I’d share it with everyone.
find / -path '/vmfs/*' -prune -o -size +10240000c -exec du -h {} \;
This searches the ESX ignoring the VMFS file system. For standard Linux you can put whatever you want in place of VMFS and it will ignore that folder.
Leave a Comment
All comments are moderated and will not appear automaticallySome HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed