Fortinet black logo

CLI Reference

disk raid

disk raid

Use this command to view information about and change the raid settings on FortiGate units that support RAID.

Syntax

Disable RAID for the FortiGate
execute disk raid disable  disable RAID

Enable RAID
execute disk raid enable  enable RAID
        {RAID level}   supported: Raid-0, Raid-1  (default: Raid-0)

Rebuild a RAID

Rebuild RAID on the FortiGate unit at the same RAID level. You can only execute this command if a RAID error has been detected. Changing the RAID level takes a while and deletes all data on the disk array.

execute disk raid rebuild  rebuild RAID

Rebuild a RAID with a different RAID level
execute disk raid rebuild-level  rebuild RAID with new level
        {RAID level}   supported: Raid-0, Raid-1

Display information about a RAID configuration
execute disk raid status  show RAID status

Examples

Use the following command to display information about the RAID disk array in a FortiGate-82C.

execute disk raid status

RAID Level: Raid-1

RAID Status: OK

RAID Size: 1000GB

Disk 1: OK Used 1000GB

Disk 2: OK Used 1000GB

Disk 3: OK Used 1000GB

Disk 4: Unavailable Not-Used 0GB

disk raid

Use this command to view information about and change the raid settings on FortiGate units that support RAID.

Syntax

Disable RAID for the FortiGate
execute disk raid disable  disable RAID

Enable RAID
execute disk raid enable  enable RAID
        {RAID level}   supported: Raid-0, Raid-1  (default: Raid-0)

Rebuild a RAID

Rebuild RAID on the FortiGate unit at the same RAID level. You can only execute this command if a RAID error has been detected. Changing the RAID level takes a while and deletes all data on the disk array.

execute disk raid rebuild  rebuild RAID

Rebuild a RAID with a different RAID level
execute disk raid rebuild-level  rebuild RAID with new level
        {RAID level}   supported: Raid-0, Raid-1

Display information about a RAID configuration
execute disk raid status  show RAID status

Examples

Use the following command to display information about the RAID disk array in a FortiGate-82C.

execute disk raid status

RAID Level: Raid-1

RAID Status: OK

RAID Size: 1000GB

Disk 1: OK Used 1000GB

Disk 2: OK Used 1000GB

Disk 3: OK Used 1000GB

Disk 4: Unavailable Not-Used 0GB