Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ova appliance harddisk size

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    8 Posts 4 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      heliop100
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • N Offline
          nicholfd
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • H Offline
            heliop100
            last edited by

            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 da0s1

            expand 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

            1 Reply Last reply Reply Quote 0
            • DaReaLDeviLD Offline
              DaReaLDeviL
              last edited by

              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/swap0

              I 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!

              gpart.JPG_thumb
              gpart.JPG
              freebsd.JPG_thumb
              freebsd.JPG

              VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
              Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
              ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

              1 Reply Last reply Reply Quote 0
              • DaReaLDeviLD Offline
                DaReaLDeviL
                last edited by

                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)

                VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
                Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
                ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

                1 Reply Last reply Reply Quote 0
                • H Offline
                  heliop100
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • DaReaLDeviLD Offline
                    DaReaLDeviL
                    last edited by

                    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  ;)

                    VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
                    Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
                    ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.