Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

format

Format the hard disk on the FortiManager 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, VPN & Update Manager databases, and log data on the FortiManager system’s hard drive. The FortiManager 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 ext4 file system.

<disk_partition_2>

Format hard disk partition 2 (static)

<disk_partition_2-ext4>

Format hard disk partition 2 (static) with ext4 file system.

<disk_partition_3>

Format hard disk partition 3 (dynamic)

<disk_partition_3-ext4>

Format hard disk partition 3 (dynamic) with ext4 file system.

<disk_partition_4>

Format hard disk partition 4 (misc)

<disk_partition_4-ext4>

Format hard disk partition 4 (misc) with 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 FortiManager models that support RAID.

Press Enter to show available RAID levels.

format

Format the hard disk on the FortiManager 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, VPN & Update Manager databases, and log data on the FortiManager system’s hard drive. The FortiManager 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 ext4 file system.

<disk_partition_2>

Format hard disk partition 2 (static)

<disk_partition_2-ext4>

Format hard disk partition 2 (static) with ext4 file system.

<disk_partition_3>

Format hard disk partition 3 (dynamic)

<disk_partition_3-ext4>

Format hard disk partition 3 (dynamic) with ext4 file system.

<disk_partition_4>

Format hard disk partition 4 (misc)

<disk_partition_4-ext4>

Format hard disk partition 4 (misc) with 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 FortiManager models that support RAID.

Press Enter to show available RAID levels.