<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=lYCzn1QolK10N8" style="display:none" height="1" width="1" alt="">

Managing Disk Space On Your On-Premises GreenArrow Installation

Jonathan Winters
by Jonathan Winters on July 19, 2019

Managing GreenArrow 4--Managing Disk Space

I have mentioned a few times in this series the importance of tracking disk space usage as part of your monitoring and regular system checks. But since disk space issues (specifically: running out of it) are some of the most common support requests I receive, I thought diving a bit deeper into a lesser-known -- but still incredibly useful -- tool that’s available to you in GreenArrow would be a great way to close out this series.

Checking how much disk space your operating system says you’ve used is quick and simple, and for a basic check, that is a perfectly good metric to watch. GreenArrow also has a configurable warning banner that will let you know in the web interface when your disk is running low. (If you haven’t configured that, now is a great time to check it out!)

So knowing when you’re running low on space is often pretty obvious.

But once you notice your free disk space is running low, it isn’t always so obvious exactly what is taking up so much space or how to get back into the safe zone.

Concerned system administrators, I’d like to introduce you to your new favorite command line tool: greenarrow disk_usage.

Here are the two invocations I’ve found the most useful so far:

greenarrow disk_usage

This is the most basic use of the tool and is a good starting point. It gives you an overview of how much disk space each category uses, and provides your first clues about where to look next in more detail.

greenarrow disk_usage-1

greenarrow disk_usage --details

Adding the --details flag delivers a comprehensive list of results, breaking down each category (from the above basic command) to show how much space each directory or database table uses.

greenarrow disk_usage --details-1

This can be an overwhelming amount of data, so limiting the results with the --area flag, or changing the formatting to --json can make it easier to process this information. Be sure to check out our documentation for the full details on these extra flags, and to see all of the other ways you can use this tool.

Knowledge is power, but knowing is only half the battle! What should you do when you see you’re running low? The answer is (for now):

It depends.

One thing is for sure -- what you absolutely should not do is just start deleting things that are taking up space. This will almost certainly end with a restore from backup or reinstalling GreenArrow.

Your first stop should always be to check the Troubleshooting Disk Space Issues documentation. This is your primary guide showing what you can do on your own and when it is time to contact GreenArrow Technical Support for help.

Our development team is always hard at work building new features for GreenArrow and we may just have some more tools on the roadmap that will make managing disk space and other tasks in GreenArrow even easier for you. So stay tuned!

If you have any questions about this or any of the other blog posts in this series, please feel free to drop us a line at support@greenarrowemail.com.

Leave a comment

Jonathan Winters
Written by Jonathan Winters
Have an email problem that needs solving or BBQ that needs smoking? Say hello to Jonathan Winters, System Administrator extraordinaire.

Want more? Here's what everyone else is reading:

Multiple IP Addresses: Why and How Many?

Two Reasons to Consider Switching

Whether you're new to sending email in bulk, or an experienced mailer switching from an ESP...

David Harris
By David Harris - August 12, 2013
Email Domains and Deliverability: How Setup Affects Your Sending

Hammering Out Which Domain To Use

When sending email, domains are a key part of how people remember and experience your brand....

Jonathan Winters
By Jonathan Winters - December 8, 2017
Manage Your Domain Reputation with Google Postmaster Tools

Can it really be this easy?

I love details, and I love numbers. Makes sense, right? I’m a developer. Details matter because...

David Harris
By David Harris - April 25, 2018