[pfSense] Storage in VirtualBox

Hi,

I'm a new with FreeBSD. I am using pfSense as a guest OS in a VirtualBox. Initially, I allocate 10 GB but while in use for several weeks, it hit 100% disk space consumption.

I was able to make the virtual disk adjustment from 10 GB to 200 GB. However in the pfSense WebGUI status it still shows as 100% disk full which has been creating my main problem for storage of cache files.

I went to the pfSense forum and one of the experts redirected me to FreeBSD as pfSense is a FreeBSD thing.

When I dh -i it shows this: (please see attachment)

I am not a expert nor a techie in *BSD or UNIX so I'm gonna going to need your expertise to solve my issue.

Any advise or a tutorial is highly appreciated.
 

Attachments

  • disk.jpg
    disk.jpg
    35.1 KB · Views: 1,152
I'm not sure about the filesystem of pfSense but this what it shows when I
Code:
$ df -hi
Filesystem            Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/label/pfSense    7.7G    6.2G    933M    87%     52k  1.0M    5%   /
devfs                 1.0K    1.0K      0B   100%       0     0  100%   /dev
/dev/md0              3.6M     38K    3.3M     1%      25   741    3%   /var/run
devfs                 1.0K    1.0K      0B   100%       0     0  100%   /var/dhcpd/dev
/dev/md10             237M    6.0K    218M     0%       3   31k    0%   /var/tmp/havpRAM
I don't even know how to read those data as I am only a user of pfSense FreeBSD. So if you could help, much appreciated.
 
More diskspace isn't going to help you. It looks like pfSense runs off of a RAM disk, see md(4).
 
I have 4 GB physical memory so increasing this would somehow fix the issue? But how about the disk usage: 100% on the dash board, does this not refer to the shortage of drive space?

In my VirtualBox, the Virtual Drive is now 800 GB (previously 10 GB)and the actual size: 7.77 GB. When I adjusted the drive capacity via the VitualBox utiity, I was able to adjust from 10 GB to 800 GB, meanwhile the disk usage in the pfSense dashboard shows still 100%. So I assumed it's a storage issue. I will try to add physical RAM then?

I can make the physical upgrade today as I am 80 miles away from home and I am trying to adjust my pfSense (FreeBSD) box via RDP.
 
Yeah, devfs is always 100% full, it's supposed to be. The rest isn't.
 
Are you saying that having 100% /dev and 100% /var/dhcpd/dev has nothing to do with storage? It already screaming
Code:
/:write failed, filesystem is full.

Any fix for that?
 
onlineph said:
Are you saying that having 100% /dev and 100% /var/dhcpd/dev has nothing to do with storage?
Yes,

Code:
dice@molly:~> df | grep devfs
devfs         1          1          0   100%    /dev
devfs         1          1          0   100%    /jails/j-internetz/dev
devfs         1          1          0   100%    /jails/j-build-amd64/dev

It already screaming
Code:
/:write failed, filesystem is full.
That would be the root filesystem. I see now that that may use an UFS filesystem (/dev/label/pfSense).
 
So, how am I going to fix the storage issue? You mentioned that it might be a RAM issue instead? But why does it show Full Disk instead of RAM usage full?
 
None of your filesystems are currently filled up, so I'm unsure what the cause of the message is.
 
Back
Top