Ensuring we don't run out of space on the server means monitoring usage patterns, collecting data, and making realistic estimates of space usage, based on current/past patterns, and expected events. When space is approaching 80% usage of the amount available in /srv, it is time to press for expansion.
To find out how much space still exists on the libcontent server, log in and type in:
df (for disk free)
This gives a list of how much space is used versus available in various areas. Ignore the listing for /cifs-mount points, as those point to another server.
|Filesystem||1K-blocks||Used||Available||Use %||Mounted on|
Notice how much space is in /srv, as that is critical to our purposes.
To find out how much space is in use by a particular directory area, such as the archive, type in:
du -sB g /srv/archive
Where the last argument is the area where you want to know the size. This gives an output in Gigabytes, such as:
The above can be read as approximately 16.6 terabytes.