FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
cysaw
Staff
Staff
Article Id 193616
Description
This article describes how to change log disk and mail disk partition size in FortiMail.
Solution
The total disk space of FortiMail is 249 GB and by default 20% disk space (49 GB) is allocated to log disk and 80% disk space is allocated to mail disk (198 GB) as follows:

get sys status

Version:            FortiMail-VM-KVM v6.0,build148,190422 (6.0.5 GA)
Architecture:       64-bit
Virus-DB:           1.00000(2018-05-02 10:41)
Extended DB:        Disabled
VM Registration:    Valid: License has been successfully authenticated with registration servers.
VM License File:    License file and resources are valid.
VM Resources:       1 CPU/1 allowed, 2004 MB RAM, 2048 MB maximum, 6144 MB allowed, 249 GB Disk/1024 GB allowed
AntiSpam-DB:        1.00001(2007-05-09 17:15)
Serial-Number:      FEVM01XXXXXXXXXX
BIOS version:       n/a
Log disk:           Capacity 49 GB, Used 32 MB (0.07%), Free 49 GB
Mailbox disk:       Capacity 198 GB, Used 246 MB (0.13%), Free 198 GB
Hostname:           FEVM01XXXXXXXXXX
Operation mode:     Gateway
HA configured mode: Off
HA effective mode:  Off
FIPS-CC status:     disabled
Strong-crypto:      enabled
Distribution:       International
Branch point:       148
Uptime:             0 days  0 hours  3 minutes
Last reboot:        Mon Jun 24 20:55:05 PDT 2019
System time:        Mon Jun 24 20:58:58 PDT 2019


The following is the configuration to re-allocate 50% disk space to log disk and 50% disk space to mail disk:

Run the following command in FortiMail CLI:
exe partitionlogdisk 50
This operation will erase all data on the mail and log disk!
Do you want to continue? (y/n)y

Backup system configuration,  Please wait ...
Partitioning disks. Please wait for a moment...
reboot: Restarting system

After executing exe partitionlogdisk 50, FortiMail has now allocated 50% disk space to log disk and 50% disk space to mail disk as follows:

get sys status

Version:            FortiMail-VM-KVM v6.0,build148,190422 (6.0.5 GA)
Architecture:       64-bit
Virus-DB:           1.00000(2018-05-02 10:41)
Extended DB:        Disabled
VM Registration:    Valid: License has been successfully authenticated with registration servers.
VM License File:    License file and resources are valid.
VM Resources:       1 CPU/1 allowed, 2004 MB RAM, 2048 MB maximum, 6144 MB allowed, 249 GB Disk/1024 GB allowed
AntiSpam-DB:        1.00001(2007-05-09 17:15)
Serial-Number:      FEVM01
XXXXXXXXXX
BIOS version:       n/a
Log disk:           Capacity 123 GB, Used 32 MB (0.03%), Free 123 GB
Mailbox disk:       Capacity 123 GB, Used 246 MB (0.20%), Free 123 GB
Hostname:           FEVM01
XXXXXXXXXX
Operation mode:     Gateway
HA configured mode: Off
HA effective mode:  Off
FIPS-CC status:     disabled
Strong-crypto:      enabled
Distribution:       International
Branch point:       148
Uptime:             0 days  0 hours  0 minutes
Last reboot:        Mon Jun 24 21:01:06 PDT 2019
System time:        Mon Jun 24 21:01:51 PDT 2019



Contributors