Full disk issue

I know this has come up, but I can’t figure this out. My disk is full. I only keep limited logs and 2 backups, don’t record calls. The issue seems to be the partitions, but I’d appreciate if someone can confirm before I go messing with that, and any guidance on where I should be looking for a how to.
I have Freepbx 16.0.40.8 installed on a Chromebox. Standard installation using the Iso.

My question is: looking at the below, can you tell me if I should be able to re-partition to provide more room for the future, and can I do that without re-installing? Thanks

df-h gives this:
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 873M 0 873M 0% /dev
tmpfs 887M 0 887M 0% /dev/shm
tmpfs 887M 8.9M 878M 2% /run
tmpfs 887M 0 887M 0% /sys/fs/cgroup
/dev/mapper/SangomaVG-root 11G 11G 504M 96% /
/dev/sda1 1.9G 63M 1.8G 4% /boot
tmpfs 178M 0 178M 0% /run/user/999
tmpfs 178M 0 178M 0% /run/user/0

sudo fdisk -l gives this:
Disk /dev/sda: 16.0 GB, 16013942784 bytes, 31277232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00023ae3

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 4098047 2048000 83 Linux
/dev/sda2 4098048 31277055 13589504 8e Linux LVM

Disk /dev/mapper/SangomaVG-root: 11.7 GB, 11693719552 bytes, 22839296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/SangomaVG-swaplv1: 1602 MB, 1602224128 bytes, 3129344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Your hard drive is only 16 gig in size. Not sure that this is enough to run the OS and FreePBX.

 sudo du -hx --max-depth=1 /|sort -rh

will list your usage by sub-directory sorted by size you can drill down by taking the second line and

 sudo du -hx --max-depth=1 /var/|sort -rh

sort of thing , with voicemails but no recordings, extras or logs recon about 8gb that leaves 3gb for logs etc. That is probably not enough without purging logs everyday

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