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

    pfSense 2.7.2 won't load the other zpool.

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 2 Posters 1.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      As long as the pool was imported I'd expect it to be present after boot.

      It should be in the zpool.cache file try checking: zdb -CU /boot/zfs/zpool.cache

      S 1 Reply Last reply Reply Quote 0
      • S
        scilek @stephenw10
        last edited by

        @stephenw10
        It is zpool.cache file, but it is not loaded, that is until I issue:

        service zfs start
        

        Something does not make sense here. Appending zfs_enable="YES" to /etc/rc.conf.local does not help either.

        Something is not right.

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

          pfSense does not use the BSD rc system so adding it there does nothing.

          Does it load if you run that manually after boot?

          https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html

          S 1 Reply Last reply Reply Quote 0
          • S
            scilek @stephenw10
            last edited by

            @stephenw10

            Does it load if you run that manually after boot?

            Yes.

            FYI, the shellcmd option works, earlyshellcmd does not.

            1 Reply Last reply Reply Quote 1
            • S
              scilek
              last edited by scilek

              Any idea, anyone?

              Is this a bug or what?

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

                The fact it cannot be run as an early shellcmd? That's not necessarily a bug.

                S 1 Reply Last reply Reply Quote 0
                • S
                  scilek @stephenw10
                  last edited by

                  @stephenw10
                  No, the fact that it won't load automatically despite the fact that it is included in zfs.cache...

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

                    Replicated that. Digging..

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      scilek @stephenw10
                      last edited by

                      @stephenw10
                      Any developments? Can you confirm this as a bug?

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

                        Well, I can confirm it does happen but I would classify it as a missing feature since pfSense is not expected to see multiple ZFS pools.

                        https://redmine.pfsense.org/issues/15114

                        One of our devs is looking at it.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          scilek @stephenw10
                          last edited by

                          @stephenw10
                          Thank you very much.

                          Is there another, safer and more elegant way of loading the second pool other than the shellcmd option?

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

                            None that I'm aware of currently.

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