Skip to Content

How to include and exclude Temporary disk DSv2-series in FAZ-VM LVM Azure instance

This article describes how to include and exclude the temporary disk.

Each size of an instance of FAZ-VM has its temporary disk at Azure.

Therefore, temporary disks (typically /dev/sdb) cannot be used and will not appear under exe lvm info in the CLI FortiAnalyzer-VM.

Therefore, temporary disks (typically /dev/sdb) cannot be used and will not appear under exe lvm info in the CLI FortiAnalyzer-VM.

Scope

FortiAnalyzer and Azure.

Solution

When the temporary disk is included in LVM Azure, the log from FortiAnalyzer will not be lost and the device will not be deleted from the instance.

However, when the FortiAnalyzer instance is turned off or shut down, all logs from the archive are deleted and the device from FortiAnalyzer needs to be integrated again.

Therefore, to exclude the temporary disk from LVM, it is necessary to format the disk.

FortiAnalyzer # exe format disk
This operation will format hard disk to ext4 filesystem.
Do you want to continue? (y/n)y

After formatting the disk, stop the FortiAnalyzer instance, start the FortiAnalyzer, and run again the exe lvm info.

FortiAnalyzer # exe lvm info
LVM Status: OK
LVM Size: 1043GB
File System: ext4 1026GB
Disk1 : Used 1023GB
Disk2 : Used 10GB
Disk3 : Used 10GB
Disk4 : Unavailable 0GB

As the processes need to stop/shut the instance, it is better to take a backup before formatting and stop/shut the instance.