FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
atahir
Staff
Staff
Article Id 336834
Description This article describes the troubleshooting steps to assess the health of a FortiGate hard disk.
Scope FortiGate, 3700D.
Solution

The FortiGate device may occasionally display a 'log disk error' in the alert console. This message typically indicates that FortiOS has detected a potential issue with the SMART disk on the FortiGate unit.

 

Check Disk Health:
FortiGate devices have built-in tools to check the health of the storage devices. The Self-Monitoring, Analysis, and Reporting Technology (SMART) attributes for hard drives are used to monitor the reliability of drives and predict potential failures.

 

  1. To verify whether the FortiGate device has an available disk, run the following command on the CLI of the FortiGate:


get system status

 

Example output:

FortiGate # get system status

Version: FortiGate-3700D v7.0.13,build0566,231024 (GA.M)

Log hard disk: Available

(Output is modified for clarity.)

 

  1. To display detailed information about the storage devices and partitions on a FortiGate unit, use:

get system storage

== [ HDD1 ]

name: HDD1  

== [ HDD2 ]

name: HDD2 

 

  1. To display information about the storage devices connected to a FortiGate unit, use:


exec disk list

diag hardware deviceinfo disk

diag sys logdisk status

 

  1. To display disk usage information for the system's file system, helping administrators understand how disk space is being utilized, use:

fnsysctl df -k

 

  1. Finally, The following commands display the SMART stats to help determine if a drive is going to fail:


diag sys logdisk smart - (SMART attribute values are displayed in hexadecimal format)

diagnose hardware smartctl -a /dev/sdb

 

When the RAW value for one of these five attributes is greater than zero, further investigation is required:

 

Attribute

Description

SMART 5

Reallocated Sectors Count.

SMART 187

Reported Uncorrectable Errors.

SMART 188

Command Timeout.

SMART 197

Current Pending Sector Count.

SMART 198

Uncorrectable Sector Count.

 

Related article:

Troubleshooting Tip: Log disk failure Imminent, prioritize data backup and disk replacement