- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
I tried the deviceinfo command above, but the static is confuse. How can I check the total disk-usage?
Solved! Go to Solution.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Donglv9
What is the output of fnsysctl df -h?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Donglv9
What about below command output?
exe disk list
show system storage
Created on ‎10-02-2023 02:51 AM Edited on ‎10-02-2023 02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@xshkurti
It doesn't show the used percentage of the 80Gb disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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!
