Description
Solution
Method 1 - Add new virtual disks and extend the logical volume:
Edit the FortiAnalyzer/FortiManager VM settings.
Select 'Add'…
Select 'Hard Disk' and select 'Next'.
Note:
Since the SQL database operations may consume a lot of disk time, it is recommended to locate the FortiAnalyzer disks on a datastore (physical drive or array) that is not shared with other disk-consuming VMs, in order to avoid performance issues.
Specify the Advanced Options if needed, or select 'Next' and 'Finish' in the next two dialog boxes.
Prior FortiAnalyzer/FortiManager 5.6.6 & 6.0.3, increase the size of an already used virtual disk required format, in order to utilize the additional space.
Starting from FortiAnalyzer/FortiManager 5.6.6 & 6.0.3:
- The command 'exec lvm extend' no longer requires the selection of specific virtual disks, but instead it automatically extends the file system over the whole unused disk space.
- As part of the extension, it detects not only the unused new disks but also the expanded disk space on the already used disks.
- Therefore, increasing the provisioned size of an already used virtual disk, no longer requires format.
The examples below are from VMware ESXi (vSphere) 6.7.0, but the process is similar for most hypervisor types.
1) In vSphere client, edit the FortiAnalyzer/FortiManager VM settings.
2) Increase the size of disk2, disk3, etc... as required (leave disk1 as it is) and select OK.
3) Use the CLI command below to confirm if the new disk size is correctly assigned (note that it says Disk1 in the output, but that is in fact disk2 of the VM):
# exec lvm info
LVM Status: OK
LVM Size: 150GB
File System: ext4 147GB
Disk1 : Used 150GB of 160GB
Disk2 : Unavailable 0GB
Disk3 : Unavailable 0GB
Disk4 : Unavailable 0GB
Disk5 : Unavailable 0GB
Disk6 : Unavailable 0GB
Disk7 : Unavailable 0GB
Disk8 : Unavailable 0GB
4) Use the CLI below to extend the file system:
# exec lvm extend
This operation will need to reboot the system.
Do you want to continue? (y/n)y
5) Once the system reboots, confirm the new disk size:
# exec lvm info
LVM Status: OK
LVM Size: 160GB
File System: ext4 156GB
Disk1 : Used 160GB
Disk2 : Unavailable 0GB
Disk3 : Unavailable 0GB
Disk4 : Unavailable 0GB
Disk5 : Unavailable 0GB
Disk6 : Unavailable 0GB
Disk7 : Unavailable 0GB
Disk8 : Unavailable 0GB
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.