Description | This article describes how to add a local disk for logging with Proxmox Hypervisor. |
Scope | FortiOS v. 7.2, 7.4. |
Solution |
After the installation of a FortiGate VM in Proxmox Hypervisor, it is possible to add an additional virtual disk for logging locally.
After a fresh or old installation, by default there should only be one available disk for system information:
This is also reflected in Proxmox hardware settings for the host:
To add a new disk, select 'Add -> Hard Disk' under the host's hardware tab. In the new prompt, select the desired storage location as well as the size of the disk:
After selecting 'Add', the new disk will be detectable on the FortiGate VM:
The disk is now visible, but the VM will need to be rebooted in order for the disk to be correctly formatted and utilized. During the reboot, the disk will be formatted and its usage will be be modified for logging:
After boot completion, the new disk should be seen: in this case, /dev/vdb. Its partition should also be mounted for logging:
FR-LAB1_HUB # config global Disk SYSTEM(boot) 2.0GiB type: IDE [Virtio Disk] dev: /dev/vda Disk Virtual-Disk ref: 16 80.0GiB type: IDE [Virtio Disk] dev: /dev/vdb Total available disks: 2
FR-LAB1_HUB (global) # fnsysctl df -h
FR-LAB1_HUB (global) # diag sys logdisk usage
Note that only approximately 75% of disk space is available for log storage . (In the above example, the FortiGate VM has 3 VDOMs, so the disk is separated equally for all VDOMs). |
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 2025 Fortinet, Inc. All Rights Reserved.