Disk Usage Question

Started by theoracle, June 21, 2025, 05:30:38 PM

Previous topic - Next topic
I am a newbie with Opnsense, using it on a Protectli VP2420 for a couple of months.

My box has 16GB of RAM, and a 500GB m.2 drive.  I am slowly learning about Opnsense, and while I have plenty of questions about that, I am OK with my current state. 

My disk usage continues to show 0%, although I have turned on (I believe) a lot of logs.  I am asking if there is a way for me to verify/validate that my m.2 drive is actually being used by Opnsense?  It was visible when I was installing Opnsense, but I can't tell that anything is using it.  I realize this question might be more of a FreeBSD question than Opnsense itself, but I believe that you folks can probably point me obtaining answers.

Thanks for your time.

get to see the storage partitions the system identifies:
$gpart showif the disk you expect to find there isn't listed, use $sudo camcontrol devlist and we can take it from there.

I too am new to Opnsense, but not to FreeBSD. A base FreeBSD install is very light on disk usage requirements which it seems they've kept in mind when developing Opnsense. I too have 500GB storage (albeit spinning disks, but that doesn't matter here). If you go to shell prompt, run:
df -hThis will show how much space is actually being used. On my system, it is only using 1.3GB out of a formatted 440GB on root, which is less than 1% so it continues to show 0% on the dashboard. I do not have Netflow turned on, but if I did that usage would certainly change.

Ah, very good point. Percentage of use on a relatively large disk.