Fortinet white logo
Fortinet white logo

CLI Reference

formatlogdisk

formatlogdisk

Use this command to reformat the local hard disk that contains log data.

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 formatlogdisk

Example

The following example formats the log disk.

execute formatlogdisk

The CLI displays the following:

This operation will erase all data on the log 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

partitionlogdisk

formatmaildisk

formatmaildisk-backup

formatlogdisk

formatlogdisk

Use this command to reformat the local hard disk that contains log data.

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 formatlogdisk

Example

The following example formats the log disk.

execute formatlogdisk

The CLI displays the following:

This operation will erase all data on the log 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

partitionlogdisk

formatmaildisk

formatmaildisk-backup