Fortinet black logo

CLI Reference

formatmaildisk

formatmaildisk

Use this command to reformat the local hard disk that contains email data, without first performing a backup.

You can alternatively perform a backup before formatting the mail disk. For details, see formatmaildisk-backup.

Regularly format the hard disk to improve performance.

Back up all data on the disk before entering this command. Formatting hard disks deletes all files on that disk.

Syntax

execute formatmaildisk

Example

The following example formats the log disk.

execute formatmaildisk

The CLI displays the following:

This operation will erase all data on the mail disk!

Do you want to continue? (y/n)

After you enter y (yes), the CLI displays the following and logs you out of the CLI:

formatting disk, Please wait a few seconds!

Related topics

formatmaildisk-backup

formatlogdisk

formatmaildisk

Use this command to reformat the local hard disk that contains email data, without first performing a backup.

You can alternatively perform a backup before formatting the mail disk. For details, see formatmaildisk-backup.

Regularly format the hard disk to improve performance.

Back up all data on the disk before entering this command. Formatting hard disks deletes all files on that disk.

Syntax

execute formatmaildisk

Example

The following example formats the log disk.

execute formatmaildisk

The CLI displays the following:

This operation will erase all data on the mail disk!

Do you want to continue? (y/n)

After you enter y (yes), the CLI displays the following and logs you out of the CLI:

formatting disk, Please wait a few seconds!

Related topics

formatmaildisk-backup

formatlogdisk