Skip to main content
cysaw
Staff & Editor
Staff & Editor
May 19, 2021

Technical Tip: Extending disk space to FortiMail-VM log disk only

  • May 19, 2021
  • 0 replies
  • 3508 views

Description

 

This article describes how to add a new virtual disk to extend the disk space to the FortiMail-VM log disk only. 

 

Scope

 

FortiMail.

Solution

 

  1. Before extending the disk space, you may run the following command 'get sys status' to check the current size of the FortiMail-VM log disk.

 

# get sys status Version:                            FortiMail-VM v6.4.4(GA), build446, 2021.02.04 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/1048576 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 273 MB (0.14%), Free 198 GB

 

  1. From the output above, FortiMail-VM has 49 GB for the log disk.

Note: Make sure the VM license can support the hard disk volume after extending the hard disk.

For this example, the VM license can support up to 24576 GB.
 

  1. Take a VM snapshot, backup the current configuration, and all necessary data before proceeding.

  2. Shutdown the FortiMail-VM and add a new virtual disk of 100GB to FortiMail.

 

 
  1. After that, power on the FortiMail-VM.

  2. Run the following command in FortiMail-VM.
 
# exe lvm enable 100    LVM is already enabled in this device  
 
Note: By default, it will allocate 20% to the log disk and 80% to the mailbox disk.
Set '100' which means 100% for log disk and all the hard disk space will be allocated to log disk.

 

# exe lvm extend 100 This will stop all mail services and then extend log and spool devices, are you sure (Y/N)?y Fortimail will REBOOT !!

 

  1. Now the FortiMail log disk is successfully extended to 149 GB.
 
# get sys status  Version:                           FortiMail-VM v6.4.4(GA), build446, 2021.02.04 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/1048576 MB allowed, 349 GB Disk/24576 GB allowed Log disk:                          Capacity 149 GB, Used 32 MB (0.03%), Free 149 GB Mailbox disk:                      Capacity 198 GB, Used 318 MB (0.16%), Free 198 GB
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.