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

    Hyper-V and Dynamic Memory and Disks

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 3 Posters 1.2k 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.
    • provelsP
      provels
      last edited by

      Just a general question. On your VM, do you run dynamic disks and/or memory? Any issues? Also, do you normally have your VM set to "Save" or "Shut Down" on server reboots? Thanks for any replies.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      1 Reply Last reply Reply Quote 0
      • nzkiwi68N
        nzkiwi68
        last edited by

        2.4.4_p3 (x64) - Hyper-V Virtual Machine on Server 2016 free hypervisor
        Gen 2
        2 v-CPU
        2 GB RAM (Fixed)
        30GB Disk vhdx (Dynamically expanding)
        Packages : FreeRADIUS
        Automatic Stop Action: Save

        Note: For Gen 2 machine to work set Secure Boot disabled

        1 Reply Last reply Reply Quote 1
        • S
          SteveITS Galactic Empire
          last edited by

          @provels said in Hyper-V and Dynamic Memory and Disks:

          or "Shut Down" on server reboots

          A shut down is only going to work if the VM is running the Hyper-V guest tools, so it has a way to tell the VM OS to shut down.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          nzkiwi68N 1 Reply Last reply Reply Quote 0
          • nzkiwi68N
            nzkiwi68 @SteveITS
            last edited by nzkiwi68

            @teamits Shutdown does work.

            FreeBSD has built-in Microsoft Hyper-V integration services for a while now, really good support since FreeBSD 11.1 (which is the entire pfSense 2.4 branch).

            pfSense does support shutdown from Hyper-V - I've tested it..

            Reference:
            https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-freebsd-virtual-machines-on-hyper-v

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