[QUOTE=ajensen;3331]After a couple years of reliable service, my SLES10/OES2 file server is about to run out of space on the operating system partition. The files I’m hosting are on another partition and this partition has lot of space so I’m very confident that it’s the operating system files and folders that are the problem.
I’m assuming that this problem has slowly snuck up on me over the last couple years it’s been in service. Log files, accumulation of temp files? Due to my limited linux experience this server has many/most of the default settings since installation.
Sorry for my ignorance but I need a couple quick solutions to resolve this problem before the last 2GB of space is gone!
Any advice to configure the system so this won’t happen again is also appreciated.[/QUOTE]
As Aaron stated it would good to know more about the current partition setup and uses of the server.
You mention this system has been running for a couple of years, could be you just need some cleanup maintenance and the partitioning is fine.
To have a quick overview of the biggest directories in volume, and only for the root partition, try this command (as root):
du / -kx | sort -nr | head -n 30
The above runs the “du” command and specifies to look in root, the “k” option lists everything in kilobytes - as to be able to sort correctly, and the “x” option stays within the partition defined for the root (/) mount point.
Then that output is sorted on largest numbers downwards and finally the head command snips off the first 30 lines.