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

    Recover config from mirrored zfs disk?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 505 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.
    • T
      techmattr
      last edited by

      I rebooted my pfsense today and when it booted back up it threw an error that it could not find /boot/kernal/kernal or something to that effect.
      I eneded up having to reinstall
      My install was on 2 mirrored zfs disks.
      When I did the reinstall I only installed onto 1 disk.
      Is there any way for me to recover my config from the 2nd disk?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yes, you may well be able to. I would try booting the installer with only the second disk attached and just try the config recovery there.

        1 Reply Last reply Reply Quote 0
        • L
          lisa.castillo
          last edited by

          @techmattr said in Recover config from mirrored zfs disk?:

          I rebooted my pfsense today and when it booted back up it threw an error that it could not find /boot/kernal/kernal or something to that effect.
          I eneded up having to reinstall
          My install was on 2 mirrored zfs disks.
          When I did the reinstall I only installed onto 1 disk.
          Is there any way for me to recover my config from the 2nd disk?

          Open a terminal or console and identify the ZFS pool name. You can use the following command to list the available ZFS pools:

          zpool list

          Once the pool is imported, you need to mount the ZFS filesystem containing the pfSense configuration. The exact path may vary, but it's typically something like /mnt/<pool_name>.

          zfs mount <pool_name>/mountpoint

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