Re-Aligning FortiRecorder Disk Partitions

Facebooktwittergoogle_pluslinkedinFacebooktwittergoogle_pluslinkedin

The following recipe is for those having performance problems with the FRC-200Dgen2, the FRC-400D, and VMs installed before FortiRecorder v2.6 release. It covers how to check for alignment and aligning partition in FortiRecorder if the partitions are not aligned correctly.

 
 

 Checking Alignment

First you need to verify disk partition alignment. Access the CLI and enter “diag system disk-details”.

If your partitions are not aligned correctly, your screen will resemble the following:

System Time:  2018-04-13 09:58:13 EDT (Uptime: 1d 23h 55m)
for type for-var-physical
 +device-name=sda
 |   is-enc=0
 |   is-dma=1
 |   is-usb=0
 |     size=2000398934016 (opt=0,min=4096,alg=0,phy=4096,log=512,grn=1048576)
 +-----part-name=sda1
 |             size=2000299999744
 |             start=512(not-aligned)
 |       is-mounted=0
 |          fs-type=software_raid
 +device-name=sdb
 |   is-enc=0
 |   is-dma=1
 |   is-usb=0
 |     size=2000398934016 (opt=0,min=4096,alg=0,phy=4096,log=512,grn=1048576)
 +-----part-name=sdb1
 |             size=2000299999744
 |             start=512(not-aligned)
 |       is-mounted=0
 |          fs-type=software_raid

Continue to the next section to remedy the problem.

  

 

 Aligning Partitions

Now that we’ve identified the problem, we can now align the partitions properly.

  1. Backup your FortiRecorder configuration by going to Monitor > System Status > Status and selecting Backup.
  2. If remote storage is available, modify each camera profile in use by going to Storage Options and selecting Move after 1 hour for both continuous and detection records.
  3. Let the system run until the local storage usage is down to a minimum. This could take a few days since the system will continue recording.
  4. Repartition the disk by using the CLI command: exec factoryreset disk
  5. Restore the configuration.
 
Facebooktwittergoogle_pluslinkedinFacebooktwittergoogle_pluslinkedin