FortiSOAR Discussions
adem_netsys
Contributor

SOAR Upgrade Disk İssue

Hi guys,

 

I wanna upgrade my SOAR to the latest version but i get a response disc error. How can i fix this?

 

 

Error: There is insufficient disk space to complete this operation.
Make sure you have enough space on the following locations
and then retry the operation.
Details: Available Free Space on /: 1.33GB
Required Free Space on /: 2 GB
Rerun the script post addressing above error(s).
Exiting.

1 Solution
PurnKapa

Hello Adem,

 

For the root partition size increase we need to create a disk from the expanded disk space, create PV, expand the VG, and expand the LV.

 

Here are the detailed steps to perform the root partition increase.

 
1) Stop all the Services
# csadm services --stop

2) use "# fdisk /dev/sda" to create a LVM Partition.
# fdisk /dev/sda
Press n To Create a new partition
Press p To Choose partition as a primary partition
Press Enter to Choose which number of the partition to be selected to this new partition (please go ahead with default number)
Press Enter 2 times here system will select the First sector and Last sector (by default the system will allocate all the free space to this partition)
Press t to change the partition Type and enter partition number (here system will show the new partition number as default)
type '8e' for Hex code
Press p to print the new partition (along with old partitions)
Press w to write the changes

3) create new PV (Physical Volume)
# pvcreate /dev/sda3

4) expand the vg with newly created PV space.
# vgextend vgos /dev/sda3
Check the size of the VG here we can see the Free space
# vgs

5) Extend the logical volume:
lvextend -L+(disk-size) /dev/mapper/vgos-root
# lvextend -L+10G /dev/mapper/vgos-root
lvextend -l +100%FREE /dev/volgroup/logvol

6) After Extending, we need to re-size the file-system:
# xfs_growfs /dev/mapper/vgos-root

7) start all the services
# csadm services --start
 
Thank you.
 
Regards,
Purna Kapa

View solution in original post

8 REPLIES 8
dspille
Staff
Staff

Hey Adem,

 

How you fix the disk space will depend on the way you've allocated the disks to the vm. How have you deployed the instance ( ie OVA, AWS, qcow, docker, cli) ?

 

Can you also send the output of these 4 commands (some may require sudo):

lsblk

df -h

vgs

lvs

There are some docs about how to increase the space depending on the scenario, but with the output of those commands we can provide some tailored instructions - https://docs.fortinet.com/document/fortisoar/7.4.3/deployment-guide/29218/troubleshooting-fortisoar-...

Dylan Spille
adem_netsys

Hi @dspille 

In fact, we've deployed OVA on the VM. I increased the size of the discs on the VM but nothing changed. 

PurnKapa

Hello Adem,

 

For the root partition size increase we need to create a disk from the expanded disk space, create PV, expand the VG, and expand the LV.

 

Here are the detailed steps to perform the root partition increase.

 
1) Stop all the Services
# csadm services --stop

2) use "# fdisk /dev/sda" to create a LVM Partition.
# fdisk /dev/sda
Press n To Create a new partition
Press p To Choose partition as a primary partition
Press Enter to Choose which number of the partition to be selected to this new partition (please go ahead with default number)
Press Enter 2 times here system will select the First sector and Last sector (by default the system will allocate all the free space to this partition)
Press t to change the partition Type and enter partition number (here system will show the new partition number as default)
type '8e' for Hex code
Press p to print the new partition (along with old partitions)
Press w to write the changes

3) create new PV (Physical Volume)
# pvcreate /dev/sda3

4) expand the vg with newly created PV space.
# vgextend vgos /dev/sda3
Check the size of the VG here we can see the Free space
# vgs

5) Extend the logical volume:
lvextend -L+(disk-size) /dev/mapper/vgos-root
# lvextend -L+10G /dev/mapper/vgos-root
lvextend -l +100%FREE /dev/volgroup/logvol

6) After Extending, we need to re-size the file-system:
# xfs_growfs /dev/mapper/vgos-root

7) start all the services
# csadm services --start
 
Thank you.
 
Regards,
Purna Kapa
adem_netsys

Hi @PurnKapa 

 

Firstly, I wanna thank you so much. Documentation confused me, thanks to you, i was able to figure it out.

PurnKapa

Hi Adam,

 

I am glad it worked. 

adem_netsys

Hi @PurnKapa,

 

After the upgrade, I'm having cyops-postman not running error. Do you have any suggestion?

 

 

Thanks

PurnKapa

Hi Adem,

 

I need to see the logs to find the reason for the service failure.

Thank you.

 

--

Purna Kapa  

jankit6
Staff
Staff

Hello Adem,

It should be an LVM type of partition. If there is available disk space in the Volume Group (VG), the Logical Volume (LV) can be extended directly. However, if there is insufficient space, you may need to add a new partition, convert it to a Physical Volume (PV), then extend the existing Volume Group, and finally, extend the Logical Volume partition

 

You can refer to the below guide for more detailed and steps:

https://docs.fortinet.com/document/fortisoar/7.4.3/deployment-guide/29218/troubleshooting-fortisoar-...

Regards

Ankit Jain