Skip to main content
gsharma
Staff
Staff
July 9, 2020

Technical Tip: How to repair or format logdisk if status shows not available

  • July 9, 2020
  • 0 replies
  • 2307 views

Description


This article describes how to repair or format logdisk if the status shows not available.

 

Scope

 

FortiWeb.

Solution


From CLI, check the sessions using the following commands:

 

diagnose system mount list

 

Check for var/log, which is not showing in this case in the output below.

kb_18560_1.png

 

Try to repair the log disk by below command:

 

FortiWeb-A # execute fscklogdisk

 

Try to rebuild the database using the following command:

 

 FortiWeb-A # execute db rebuild

 

If this resolves the issue and shows var/log and log disk as available, otherwise log disk needs to be formatted by the following command:
Note: This command will delete logs on FortiWeb, and as of version 7.2.1, will lead to rebooting FortiWeb (a maintenance window is required as a reboot will be triggered, causing service interruption):

 

FortiWeb-A # execute formatlogdisk

 

When executing this command, the FortiWeb appliance displays the following message:


This operation will clear all data on the log disk and take a few minutes according to the disk size!!
Do you want to continue? (y/n)
Enter 'y' to continue. Enter 'n' if you want to abort the operation.

Output post fscklogdisk command.

 

kb_18560_2.png


Related documents:

db rebuild

execute formatlogdisk