Fortinet black logo

CLI Reference

format

format

Format the hard disk on the FortiAnalyzer system. You can select to perform a secure (deep-erase) format which overwrites the hard disk with random data. You can also specify the number of time to erase the disks.

Syntax

execute format <disk | disk-ext3 | disk-ext4> <RAID level> deep-erase <erase-times>

When you run this command, you will be prompted to confirm the request.

Executing this command will erase all device settings/images, databases, and log data on the FortiAnalyzer system’s hard drive. The FortiAnalyzer device’s IP address, and routing information will be preserved.

Variable

Description

<disk | disk-ext3 | disk-ext4>

Select to format the hard disk or format the hard disk with ext3 or ext4 file system.

deep-erase

Overwrite the hard disk with random data. Selecting this option will take longer than a standard format.

<erase-times>

Number of times to overwrite the hard disk with random data. Range: 1 to 35. Default: 1

<RAID level>

Enter the RAID level to be set on the device. This option is only available on FortiAnalyzer models that support RAID. Press Enter to show available RAID levels.

format

Format the hard disk on the FortiAnalyzer system. You can select to perform a secure (deep-erase) format which overwrites the hard disk with random data. You can also specify the number of time to erase the disks.

Syntax

execute format <disk | disk-ext3 | disk-ext4> <RAID level> deep-erase <erase-times>

When you run this command, you will be prompted to confirm the request.

Executing this command will erase all device settings/images, databases, and log data on the FortiAnalyzer system’s hard drive. The FortiAnalyzer device’s IP address, and routing information will be preserved.

Variable

Description

<disk | disk-ext3 | disk-ext4>

Select to format the hard disk or format the hard disk with ext3 or ext4 file system.

deep-erase

Overwrite the hard disk with random data. Selecting this option will take longer than a standard format.

<erase-times>

Number of times to overwrite the hard disk with random data. Range: 1 to 35. Default: 1

<RAID level>

Enter the RAID level to be set on the device. This option is only available on FortiAnalyzer models that support RAID. Press Enter to show available RAID levels.