Ova appliance harddisk size
-
Hi
I downloaded the OVA and deployed the 2.2.2 Appliance, but now I realize that the disk size are very small, only 5Gb.
Only testing before use on production and 93% disk full. Most of that on /var and /usr.Are there a easy way to expand the file system?
Thanks.
-
I downloaded the OVA and deployed the 2.2.2 Appliance,
What please is OVA?
but now I realize that the disk size are very small, only 5Gb.
From what disk we are talking about mSATA, CFCard, SSD, SDCard, HDD, SATA-DOM or SSD-DOM?
Only testing before use on production and 93% disk full. Most of that on /var and /usr.
How did you install it and from waht?
- USB MEMStick to ?
- Full install from ISO to ?
Are there a easy way to expand the file system?
With another disk perhaps or a greater one perhaps?
-
@BlueKobold:
What please is OVA?
From what disk we are talking about mSATA, CFCard, SSD, SDCard, HDD, SATA-DOM or SSD-DOM?
How did you install it and from waht?
- USB MEMStick to ?
- Full install from ISO to ?
With another disk perhaps or a greater one perhaps?
BlueKobold - An OVA is a VMware "virtual appliance". It is a pre-built virtual machine with pfSense installed & optimized, available to those who are Gold members. So, the HD is already defined.
heliop100 - I'm not sure if the FS on *BSD is resizable. You might want to Google it… (I'm too lazy at the moment). I know you can resize the virtual disk from the VMware side, just not sure about the FS.
-
Hi,
I Google BSD foruns and have expanded my hard disk from 5 to 50Gb
Worked on 2.2.2 OVA
It's always a good idea backup you VM before do that.
turn off swap
swapoff /dev/label/swap0
delete swap partition
gpart delete -i2 da0s1
expand primary partition
gpart resize -i1 da0
gpart commit da0s1expand root partition (49g save 1gb for swap)
gpart resize -i1 -s 49g da0s1
recreate swap
gpart add -t freebsd-swap da0s1
boot from live CD or single user
growfs /dev/da0s1a
Reboot and edit fstab to add new swap /dev/da0s1b
Add new swap
swapon -a
-
Hi Heliop100,
thank you for the step by step instruction. I just tried this with the 2.3.3 ova and want it to resize to a full amount of 62 GB.
After the command
swapoff /dev/label/swap0I get the errors like attached and the gpart show of the disks.
I'm not a pro at that, just a hobby thing. So please be patient with me. I do need some safe advice here ;)
Thank you!
-
So I found a good link to some commands here:
https://www.freebsd.org/doc/handbook/disks-growing.html
I now have it set like attached with the command
gpart resize -i2 da0
service growfs onestart
and it took all free space into the ufs partition
but now is the question:
There was no swap hdd, do I realy need one? PFSense is on SSD with 4 gig ram
![new size.JPG](/public/imported_attachments/1/new size.JPG)
![new size.JPG_thumb](/public/imported_attachments/1/new size.JPG_thumb) -
Hi,
I´m not a BSD expert, not shure what may happen without swap.
My pfsense have Snort installed, and my Snort stops working due to full swap.
How my are a virtual machine, I add a new 8Gb disk and made that all disk a swap partition.If yours are physical, you may create a swap file.
cheers
-
Hi Heliop,
it is a virtual machine like yours made with the newest ova… but that there is no swap suprises me.
I'm going to test it out what happens, i have squid, guard, snort and blocker. Think that will be enough ;)