FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
heng
Staff
Staff
Article Id 193389
Description
This describes explains how to add new virtual disks to extend the disk space in Fortimail VM.

Solution
1) Before to extend the disk space, run the command #get sys status to check the current size of FortiMail VM hard disk.
# get sys status
Version:         FortiMail-VM v6.4.3(GA), build437, 2020.10.15
Architecture:              64-bit
Serial-Number:          FEVM320000210901
BIOS version:            n/a
VM Registration:      Valid: License has been successfully authenticated with registration servers.
VM License File:      License file and resources are valid.
VM Resources:         1 CPU/32 allowed, 2003 MB RAM/131072 MB allowed, 249 GB Disk/24576 GB allowed
Log disk:                  Capacity 49 GB, Used 32 MB (0.07%), Free 49 GB
Mailbox disk:          Capacity 198 GB, Used 309 MB (0.16%), Free 198 GB

2) From the output above,
FortiMail VM has 250GB hard disk.
Note.
Make sure the VM license can support the hard disk volume after extending the hard disk.
For this example, the VM license is able to support up to 24576 GB.
 
3) Backup the current configuration and all necessary data before proceeding.

4) Shutdown the Fortimail VM and add a new virtual disk 200GB to FortiMail.




5) After that, please power on the FortiMail VM.


6) Run the following command in FortiMail VM.
# exe lvm enable
LVM is already enabled in this device
# exe lvm extend
This will stop all mail services and then extend log and spool devices, are you sure (Y/N)?y
Fortimail will REBOOT !!
7) Now the FortiMail hard disk is successfully extended to 450 GB.
# get sys status

Version:                            FortiMail-VM v6.4.3(GA), build437, 2020.10.15
Architecture:                     64-bit
Serial-Number:                 FEVM320000210901
BIOS version:                   n/a
VM Registration:             Valid: License has been successfully authenticated with registration servers.
VM License File:             License file and resources are valid.
VM Resources:                1 CPU/32 allowed, 2003 MB RAM/131072 MB allowed, 449 GB Disk/24576 GB allowed
Log disk:                         Capacity 89 GB, Used 32 MB (0.04%), Free 89 GB
Mailbox disk:                  Capacity 358 GB, Used 320 MB (0.09%), Free 358 GB


Contributors