OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: FredFresh on March 04, 2026, 08:20:14 PM

Title: Disk 0%
Post by: FredFresh on March 04, 2026, 08:20:14 PM
Recently I did a clean install using ZFS system, but now the disk usage widget always shows 0% , any help about I can fix this?
Thanks
Title: Re: Disk 0%
Post by: Karla on March 04, 2026, 08:42:15 PM
Can you post a screenshot of the dashboard ?
Title: Re: Disk 0%
Post by: FredFresh on March 04, 2026, 08:56:16 PM
here the screenshot
Title: Re: Disk 0%
Post by: newsense on March 04, 2026, 09:05:10 PM
Quote from: FredFresh on March 04, 2026, 08:56:16 PMhere the screenshot

Remove and re-add the widgets? The HDD and Swap ones
Title: Re: Disk 0%
Post by: FredFresh on March 04, 2026, 09:40:53 PM
already tried 4-5 times
Title: Re: Disk 0%
Post by: pfry on March 04, 2026, 10:49:56 PM
The relevant question is "What size is your disk, and how much is used?" Mine always shows 0%, but it's a 1.6TB SSD, and ZFS compression is pretty good:

root@fw:/home/user # df
Filesystem          1K-blocks    Used      Avail Capacity  Mounted on
zroot/ROOT/default 1499994924 1442860 1498552064     0%    /
devfs                       1       0          1     0%    /dev
/dev/gpt/efiboot0      266144    1360     264784     1%    /boot/efi
zroot/var/mail     1498552176     112 1498552064     0%    /var/mail
zroot              1498552160      96 1498552064     0%    /zroot
zroot/tmp          1498554792    2728 1498552064     0%    /tmp
zroot/usr/ports    1498552160      96 1498552064     0%    /usr/ports
zroot/home         1498552204     140 1498552064     0%    /home
zroot/var/audit    1498552160      96 1498552064     0%    /var/audit
zroot/var/tmp      1498552160      96 1498552064     0%    /var/tmp
zroot/var/crash    1498552160      96 1498552064     0%    /var/crash
zroot/var/log      1501573716 3021652 1498552064     0%    /var/log
zroot/usr/src      1498552160      96 1498552064     0%    /usr/src
devfs                       1       0          1     0%    /var/dhcpd/dev
root@fw:/home/user #
Title: Re: Disk 0%
Post by: Patrick M. Hausen on March 04, 2026, 10:59:12 PM
Similar. My usage is at 1%. So with a sufficiently large drive your usage will just show as 0% after rounding down.
Title: Re: Disk 0%
Post by: Karla on March 05, 2026, 10:36:00 AM
What size has the SSD, which are you using ?

I am using a SSD with 250 GB.

Then the dashboard shows 1% usage.

When the SSD has are greater size, then the dashboard show less than 1%.
Title: Re: Disk 0%
Post by: nero355 on March 05, 2026, 02:47:53 PM
Quote from: pfry on March 04, 2026, 10:49:56 PMThe relevant question is "What size is your disk, and how much is used?"
Exactly! :)

Got 1% here too since I used a old 512 GB NVMe SSD which I replaced the original 120 GB one with even tho I don't really need all that space, but even those simple cheapass WD Green things got seriously expensive so this will have to do for now...
Title: Re: Disk 0%
Post by: FredFresh on March 05, 2026, 06:25:01 PM
I am using a 512 gb, before of the clean install it showed something around 5% (if I correctly remember)...to see 0% is strange. I think it would nice to see also the memory size in addition to the percentage.
Title: Re: Disk 0%
Post by: Karla on March 07, 2026, 06:23:11 AM
As a result: can the disk usage displayed a number of total size ?
E.g.: 400 MB of 250 GB.
Title: Re: Disk 0%
Post by: DiskWizard001 on March 07, 2026, 09:38:43 AM
As fas as I understand - Yes and No. Yes, but it has to be decompressed, No - it takes additional CPU ticks.