How can i extend disk size in freepbx linux?

Hello,

How can i extend disk size, any one help me for this job ?

[root@freepbx ~]# cat /etc/redhat-release
Sangoma Linux release 7.5.1805 (Core)

[root@freepbx ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/SangomaVG-root 6.7G 6.7G 20K 100% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 496M 0 496M 0% /dev/shm
tmpfs 496M 7.1M 489M 2% /run
tmpfs 496M 0 496M 0% /sys/fs/cgroup
/dev/sda1 1.9G 76M 1.8G 5% /boot
tmpfs 100M 0 100M 0% /run/user/0
tmpfs 100M 0 100M 0% /run/user/995

[root@freepbx ~]# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 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: 0x0001c314

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 4098047 2048000 83 Linux
/dev/sda2 4098048 20971519 8436736 8e Linux LVM
/dev/sda3 20971520 41943039 10485760 8e Linux LVM

Disk /dev/mapper/SangomaVG-root: 7180 MB, 7180648448 bytes, 14024704 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: 1073 MB, 1073741824 bytes, 2097152 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

It looks like you have unused space on /dev/sda. The first half of this guide walks you right through it.

https://www.tecmint.com/extend-and-reduce-lvms-in-linux/

All services on the server are dying, I need to fix it urgently. This article did not help, I have tried many articles.

Ok, where do you get stuck?

Yes, unfortunately, I had to delete the complete system and install a server from scratch. This was the cleanest thing to do. Thanks.

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