Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Donglv9
New Contributor II

Fortigate - Show Current disk usage static.

I want to check the current sttatic of disk-usage in fortigate VM. 
My Fortigate Vm running on VMWare have 2 disks: Disk SYSTEM (20.0GiB) and Disk Virtual-Disk(80.0GiB)
Screenshot 2023-10-02 141356.png
I tried the deviceinfo command above, but the static is confuse. How can I check the total disk-usage?

2 Solutions
xshkurti
Staff
Staff

@Donglv9 
I think we have the solution here.
You have a 80GB HDD but you are using only:
set size 30107 (29.4GB)
In order for you to use the whole HDD you have to change
config system storage

edit "Virtual-Disk"
set size 81920 
next

end

After this change you will use all 80 GB and see correct values.

 

If you have found a solution, please like and accept it to make it easily accessible for others.
Regards!
@xshkurti 

View solution in original post

xshkurti
Staff
Staff

@Donglv9 

According to this link:
Technical Tip: How to extend disk size for FortiGa... - Fortinet Community
Formating logdisk will make FGT to use the whole space. Havent tried it but other engineers have tested that it works.

 

Now to format that partition (sdb where sdb1 for log is created) follow this link:
Technical Tip: how to format disk SDA partition to... - Fortinet Community

Please give it a try. And remember to backup it first. (also guide on the second link)

If you have found a solution, please like and accept it to make it easily accessible for others.
Regards!

@xshkurti 

View solution in original post

9 REPLIES 9
xshkurti
Staff
Staff

@Donglv9

 

Please try commands described in this link:
Troubleshooting Tip: How to clear short of flash s... - Fortinet Community
But most probably this will come to help: 

# fnsysctl df -h

 

If you have found a solution, please like and accept it to make it easily accessible for others.
Regards!
@xshkurti

Donglv9
New Contributor II

thanks @xshkurti 
My total 2 disk space is 100GB (20+80), I curious about my Virtual-Disk(80.0GiB) how many disks space in-used because it not show the total (80Gb) when running "fnsysctl df -h"
Or can any command show how many disks space was used in 100GB allocated?

xshkurti
Staff
Staff

@Donglv9 
What is the output of fnsysctl df -h?

Donglv9
New Contributor II

xshkurti
Staff
Staff

@Donglv9 
What about below command output?
exe disk list 
show system storage

Donglv9
New Contributor II

@xshkurti 
It doesn't show the used percentage of the 80Gb disk.Screenshot 2023-10-02 141356.png

xshkurti
Staff
Staff

@Donglv9 
I think we have the solution here.
You have a 80GB HDD but you are using only:
set size 30107 (29.4GB)
In order for you to use the whole HDD you have to change
config system storage

edit "Virtual-Disk"
set size 81920 
next

end

After this change you will use all 80 GB and see correct values.

 

If you have found a solution, please like and accept it to make it easily accessible for others.
Regards!
@xshkurti 

Donglv9
New Contributor II

@xshkurti 
I see the problem!
But can I set the size 30Gb to 80Gb on Fortigate, can you show me?
There is no command to set the size to 81920 as your comment above.
Screenshot 2023-10-02 141356.png

xshkurti
Staff
Staff

@Donglv9 

According to this link:
Technical Tip: How to extend disk size for FortiGa... - Fortinet Community
Formating logdisk will make FGT to use the whole space. Havent tried it but other engineers have tested that it works.

 

Now to format that partition (sdb where sdb1 for log is created) follow this link:
Technical Tip: how to format disk SDA partition to... - Fortinet Community

Please give it a try. And remember to backup it first. (also guide on the second link)

If you have found a solution, please like and accept it to make it easily accessible for others.
Regards!

@xshkurti 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors