FortiADC
FortiADC enhances the scalability, performance, and security of your applications whether they are hosted on premises or in the cloud.
JordAnge
Staff
Staff
Article Id 365508
Description This article describes what to do when the Disk on the system is not mounted properly.
Scope FortiADC.
Solution

When disks are not mounted properly in FortiADC (Physical Appliance or VM), the FortiADC is not able to be upgraded or generate the 'all-in-one' (System Debug File), displaying errors like the next one:

 

UpgradeFail__00.png

 

UpgradeFail__01.png

 

Use the output of the command 'diagnose hardware get sysinfo df' to display disk-free information.

 

NS-FADC-001 # diagnose hardware get sysinfo  df
Filesystem                Size      Used Available Use% Mounted on
/dev/root               599.2M    417.4M    169.3M  71% /
none                         0         0         0   0% /proc
none                         0         0         0   0% /sys
none                         0         0         0   0% /sys/kernel/debug
none                    512.0M     68.3M    443.7M  13% /tmp
none                         0         0         0   0% /dev/pts
none                    512.0M    264.7M    247.3M  52% /dev/shm
none                    256.0M         0    256.0M   0% /tmp2
none                    512.0M     11.6M    500.4M   2% /tmp3
none                    128.0M     11.3M    116.7M   9% /tmp_hc_root
none                    800.0M      4.0K    800.0M   0% /tmp_av
cgroup                   15.6G         0     15.6G   0% /sys/fs/cgroup
cgroup                       0         0         0   0% /sys/fs/cgroup/memory
cgroup                       0         0         0   0% /sys/fs/cgroup/tmpfs_control
/dev/sdb1               185.1M    121.4M     54.0M  69% /data
/dev/loop0               27.4M     26.8M         0 100% /var/log
/dev/sdb3               945.2M      2.7M    893.7M   0% /home
tracefs                      0         0         0   0% /sys/kernel/debug/tracing
none                    512.0M         0    512.0M   0% /var/ps_cache
/dev/sdb3               945.2M      2.7M    893.7M   0% /home
none                         0         0         0   0% /proc
 
The last info Avobe, displays is that the log disk (/var/log) does not mount properly.
 
Execute the command: execute formatlogdisk.
Note: This operation deletes all locally stored log files.
 

NS-FADC-001 # diagnose hardware get sysinfo df

Filesystem   Size        Used       Available    Use%   Mounted on
/dev/root    599.2M    411.5M        175.1M       70%     /

none             0         0             0         0%     /proc
none             0         0             0         0%     /sys
none             0         0             0         0%     /sys/kernel/debug
none         512.0M     15.2M        496.8M        3%     /tmp
none             0         0             0         0%     /dev/pts
none         512.0M    264.6M        247.4M       52%    /dev/shm
none         256.0M        0         256.0M        0%    /tmp2
none         512.0M     12.0M        500.0M        2%    /tmp3

none         128.0M     11.3M 1       16.7M        9%    /tmp_hc_root
none         800.0M      4.0K        800.0M        0%    /tmp_av
cgroup        15.6G        0          15.6G        0%    /sys/fs/cgroup
cgroup           0         0           0           0%    /sys/fs/cgroup/memory
cgroup           0         0           0           0%    /sys/fs/cgroup/tmpfs_control
/dev/sdb1    185.1M    121.4M       54.0M         69%    /data
/dev/sda1    117.8G    141.7M       11.7G          0%   /var/log
/dev/sdb3    945.2M      2.7M      893.7M          0%   /home
tracefs          0         0           0           0%   /sys/kernel/debug/tracing
none         512.0M        0       512.0M          0%   /var/ps_cache
/dev/sdb3    945.2M      2.7M      893.7M          0%   /home
none             0         0           0           0%   /proc
 
Now, the log-disk was mounted properly, being able to log, upgrade, or generate the all-in-one.