Free up storage, expand drive, or mount another drive on Vultr

I run out of storage on my Vultr installed Freepbx quite often. It’s a 25GB server and I’d like to be able to keep more call recordings, but lately it seems like other folders are growing as well.

What is the best way to address this issue, free up storage, expand the drive, or mount another drive? I don’t have a lot of experience with Linux so the easiest way without messing up my Freepbx system would be perferred.

I just deleted most of my call recordings.
[root@freepbx var]# du -sh *
0 account
0 adm
204M cache
0 crash
8.0K db
0 empty
0 ftp
0 games
0 gopher
0 kerberos
2.1G lib
0 local
0 lock
2.1G log
0 mail
0 nis
0 opt
0 preserve
0 run
3.4G spool
4.0K tmp
2.1G www
0 yp

Add block storage in the same data center: https://www.vultr.com/products/block-storage/

Attach to your server, format, and mount.

During some down time, move the recordings from /var/spool/asterisk/monitor into a directory on the new storage.

Then symlink /var/spool/asterisk/monitor to the new space.

Alternatively, you could directly mount the new space as /var/spool/asterisk/monitor.

There are lots of instructions available on how to do the Linux tasks I just outlined.

1 Like

Or you can change the recording path in advanced settings

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.