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

    Feature Request: Resizing Support in Installer for HDDs

    Scheduled Pinned Locked Moved Virtualization
    5 Posts 2 Posters 1.4k 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.
    • R
      Reiner030
      last edited by

      Hi,

      I think this is mostly of interest for virtual guest so I put the request here in as best forum match.

      We need for one of our project resizing a KVM based firewall setup (KVM host is also firewalled /holds the hardware and other VMs which are manged by firewall behind external connected router/modems) and I found this nice howto as answer:
      http://unix.stackexchange.com/questions/117023/expanding-the-disk-size-on-pfsense-under-vmware-esxi

      which can be used by booting into installer cd/stick and then make the there mentioned steps (for me with device da0 instead of ad0).

      But it would be also nice to get a resize option integreated into installer which can grow - and perhaps also shrink? - the partitions to the actual needs.

      Bests

      Reiner

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        From the answer on that page:

        pfSense is currently based on FreeBSD 8.x. The ability to grow a UFS filesystem live is only coming with FreeBSD 10.x

        The upcoming pfSense 2.2 is based on FreeBSD 10, so you may get that functionality automagically.  I would doubt that there will be a menu option in the WebGUI, but it may be a command-line switch to expand the system partition.

        1 Reply Last reply Reply Quote 0
        • R
          Reiner030
          last edited by

          ahhh yes…  as I wrote ??? :

          @Reiner030:

          which can be used by booting into installer cd/stick and then make the there mentioned steps (for me with device da0 instead of ad0).

          But it would be also nice to get a resize option integreated into installer […].

          and "the installer" is the installation program onto live CD/boot stick ? ;)

          BTW. it would be also nice to have such "growing" howto using as first step/alternative to the "backup, delete and recreate" steps mentioned here?
          https://doc.pfsense.org/index.php/Resize_Embedded_Flash_Image

          EDIT:
          Sorry, overseen your 2nd part of answer (too late here ^^) …
          The "only" difference between now and later is that there would be the possibility to run it as online resize.
          But I guess the steps are the same... So it can implemented in a further 2.1.x version and "reused" then in 2.2.

          I think a resize option in webgui is not very useful - more on cmd line / console menu so that users are trying resize only if really "needed" (and they know what they do ;)).

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            As a workaround, you could create a second larger vdk and then using cloning utility to copy the logical sectors from your old disk to the new disk.  I haven't tried it, but it may be an easier solution if you happen to have a copy of Acronis (or equivalent) laying around.

            1 Reply Last reply Reply Quote 0
            • R
              Reiner030
              last edited by

              @KOM:

              As a workaround, you could create a second larger vdk and then using cloning utility to copy the logical sectors from your old disk to the new disk.  I haven't tried it, but it may be an easier solution if you happen to have a copy of Acronis (or equivalent) laying around.

              "problem" is only that it must support UFS filesystems…
              For instance www.gparted.org ISO image has no such support (it can only copy/move but no resize and in my case he also didn't recognize the created partition table by pfSense) ;)

              => therefore my suggestion for this option.

              Myself I have tested the mentioned solution in my first post successfully.
              It's only a "nice to have" as common task for all pfSense users.

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