
Recently, I ran into some troubles with Airwave. GUI doesn’t show up when I try to connect to it.
After some basic troubleshooting in console mode and finding that the SQL engine is not started I found that the root cause was the lack of space on the partition which contains the var directory.
Please note that all capture are taken after I already modify the partition size.
Steps to resolve this issue:
1) Boot an ubuntu iso (just try it) on your Airwave VM
2) Use Gparted to extend the SDA4 partition
3) Open terminal and resize the logical volume which contain the var directory

sudo mount /dev/sda4 /tmp2
system call failed cannot allocate memory
I am not very aware about how work the partition system but it is not possible to mount the extended partition itself. So let’s try to mount the logical partition SDA5
sudo mount /dev/sda5 /tmp2
mount: unknown filesystem type 'LVM2_member'
You have to run another command to mount this special partition type :
– Find the name of the Logical Partition
– Mount it


I deleted manually some files, but not enough to have Airwave back on life.
So i extended the partition with Gparted then you have to play with some command to extend the partition
sudo lvextend -L +50G /dev/vg_system/lv_var
resize2fs: Bad magic number in super-block while trying to open
sudo xfs_growfs /dev/vg_system/lv_var

The command lvextend only works with EXT4 file system. Here you can see that Airwave is using XFS instead. So you have to use xfs_growfs to extend the LV.

As you can see I was able to resize the partition to 76Gb (It was 20Gb before).