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

    2.4.1 Reinstall, ZFS Mirror, GEOM "Operation not permitted"

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 5 Posters 4.7k 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.
    • CNLiberalC
      CNLiberal
      last edited by

      I'm doing a fresh install of 2.4.1.  Box previously had 2.3.4_1 installed in GEOM mirror.  I want to try out ZFS mirror.  When I do an AUTO ZFS install, I choose MIRROR, and choose the 2 256GB SSD disks.  I hit INSTALL, and I see:

      gpart:  geom 'ada0' : Operation not permitted

      I've done a quick search on these forums but am not seeing anything related to ZFS.  I've also tried to break the mirror from the installer MANUAL method.  But I'm not seeing a way to break that mirror.  Every time I try to break the mirror, I'm told the root partition must exist and am taken back to the manual mode.  I can't break the mirror at all.  Any help would be appreciated.  Thanks!

      pfSense 2.7.2-RELEASE

      Dell R210 II
      Intel E3-1340 v2
      8GB RAM
      SSD ZFS Mirror
      Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
      1 x Cisco 3850 12XS-S (Core Switch)
      2 x Cisco 3750X PoE Gig Switch (Access Stack)
      3 x Cisco 2802i APs (Mobility Express)

      1 Reply Last reply Reply Quote 0
      • CNLiberalC
        CNLiberal
        last edited by

        OK, so I read up a bit on RAID1 in FreeBSD.  I ran the following in the SHELL in pfSense 2.4.1 installer:

        gmirror list | less

        This outputted the GEOM name:  pfSenseMirror

        I then ran:

        gmirror destroy -f pfSenseMirror

        Then:

        gmirror clear ada0
        gmirror clear ada1

        That finally killed the old partition and allowed me to install ZFS mirror.

        pfSense 2.7.2-RELEASE

        Dell R210 II
        Intel E3-1340 v2
        8GB RAM
        SSD ZFS Mirror
        Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
        1 x Cisco 3850 12XS-S (Core Switch)
        2 x Cisco 3750X PoE Gig Switch (Access Stack)
        3 x Cisco 2802i APs (Mobility Express)

        1 Reply Last reply Reply Quote 5
        • M
          MacUsers
          last edited by

          Years old but saved me tonight 👍
          Only thing is no need to run gmirror clear adax: with gmirror destroy, adax are already de-associated. It was giving me error.

          -S

          1 Reply Last reply Reply Quote 1
          • H
            Hans from Berlin
            last edited by

            another three years later and saved me too!! thanks 👍

            1 Reply Last reply Reply Quote 1
            • M
              markn6262
              last edited by

              Saved me too with just the gmirror destroy...
              Odd the memstick installer doesn't do the gmirror destroy as an option.

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

                For reference: https://docs.netgate.com/pfsense/en/latest/troubleshooting/multiple-disks.html#clear-the-disk

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