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

    how can i increase disk space of my pfsense VM

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 5.3k 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.
    • K
      keeshpat
      last edited by

      Hi There we are running version 2.3.4 and we would like to increase the disk space of my vm as it often gets disk space issue due to logs. so far it pfsense crashed 2 times and lost all the configuration. dont want this to happen again in future.

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by NogBadTheBad

        It's all down to the VM Software not pfSense, pfSense will use all the disk space you allocate.

        VMware Fusion:-

        Screenshot 2020-08-17 at 16.44.33.png

        Screenshot 2020-08-17 at 16.44.46.png

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 1
        • K
          keeshpat
          last edited by

          @NogBadTheBad thanks for the quick reply but do you think we need to do anything on pfsense side ? Like windows we need extend the disk space size after increasing from vmware.
          please let me know,

          thanks,

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by

            If its a fresh build pfSense will allocate all the available disk space.

            If you have an old config import it after a fresh install on a bigger disk.

            Also 2.3.4 is old use 2.4.5-p1.

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Upgrade to 2.4.5-p1. It's a VM, there is no reason to stay on such an old version. If it's a 32-bit VM, you'll need to make a new 64-bit VM and redeploy, and when you do, just give it a larger disk.

              Alternately:

              1. Increase the size of the disk in the hypervisor
              2. touch /root/force_growfs
              3. Reboot the VM

              I can't remember when that was added, might have been after 2.3.x.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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