Fortinet black logo

Administration Guide

Data storage issues

Data storage issues

If FortiRecorder cannot locally store any data such as logs, reports, and video, verify that FortiRecorder has not used all of its local storage capacity by entering this CLI command:

diagnose hardware sysinfo df

which will include disk usage for all mounted file systems, such as:

System Time:  2023-06-27 11:13:25 EDT (Uptime: 0d 20h 51m)
Filesystem      Size  Used Avail Use% Mounted on
proc               0     0     0    - /proc
sysfs              0     0     0    - /sys
devtmpfs        1.0G  7.6M 1017M   1% /dev
none               0     0     0    - /dev/pts
/dev/sdb1       371M  178M  193M  48% /data
/dev/vga/vga2   137G  409M  135G   1% /var/log
/dev/vga/vga3   2.6T  2.4T  177G  94% /var/spool
cgroup             0     0     0    - /cgroup/cpu_and_mem
Note

You can use alerts to notify you when FortiRecorder has almost consumed its hard disk space. You can also configure FortiRecorder to overwrite old logs rather, and not stop logging when the disk is full. This might not prevent full disk problems for other features, however. To free disk space, delete files such as old reports and video that you do not need.

If a full disk is not the problem, examine the configuration to determine if an administrator has disabled those features that store data.

If neither of those indicate the cause of the problem, verify that the disk's file system has not been mounted in read-only mode, which can occur if the hard disk is experiencing write problems. For details, contact Fortinet Technical Support.

Deleting all video clips

Enter the LI commands:

execute partitionlogdisk

execute formatvideodisk

FortiRecorder reboots.

Currently there is no CLI command to delete an individual video clip.

Data storage issues

If FortiRecorder cannot locally store any data such as logs, reports, and video, verify that FortiRecorder has not used all of its local storage capacity by entering this CLI command:

diagnose hardware sysinfo df

which will include disk usage for all mounted file systems, such as:

System Time:  2023-06-27 11:13:25 EDT (Uptime: 0d 20h 51m)
Filesystem      Size  Used Avail Use% Mounted on
proc               0     0     0    - /proc
sysfs              0     0     0    - /sys
devtmpfs        1.0G  7.6M 1017M   1% /dev
none               0     0     0    - /dev/pts
/dev/sdb1       371M  178M  193M  48% /data
/dev/vga/vga2   137G  409M  135G   1% /var/log
/dev/vga/vga3   2.6T  2.4T  177G  94% /var/spool
cgroup             0     0     0    - /cgroup/cpu_and_mem
Note

You can use alerts to notify you when FortiRecorder has almost consumed its hard disk space. You can also configure FortiRecorder to overwrite old logs rather, and not stop logging when the disk is full. This might not prevent full disk problems for other features, however. To free disk space, delete files such as old reports and video that you do not need.

If a full disk is not the problem, examine the configuration to determine if an administrator has disabled those features that store data.

If neither of those indicate the cause of the problem, verify that the disk's file system has not been mounted in read-only mode, which can occur if the hard disk is experiencing write problems. For details, contact Fortinet Technical Support.

Deleting all video clips

Enter the LI commands:

execute partitionlogdisk

execute formatvideodisk

FortiRecorder reboots.

Currently there is no CLI command to delete an individual video clip.