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

    ZFS zpool on pfSense 2.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    1 Posts 1 Posters 907 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.
    • J Offline
      josh4trunks
      last edited by

      What is the best method to have pfSense 2.2 use a ZFS zpool?

      On pfSense 2.1 I just installed the Shellcmd package, and added the 'earlyshellcmd' "service zfs onestart"

      I noticed on pfSense 2.2 this is no longer possible as the script /etc/rc.d/zfs doesn't exists. I looked at what's in this file on a FreeBSD system and it basically just imports zpools.

      Running the command "zpool import -R /mnt tank" does work if run manually on the command-line but the zpool isn't mounted after a reboot. Adding this as an 'earlyshellcmd' doesn't work.

      Thanks,


      Adding "zpool import -R /mnt tank" as a 'shellcmd' (not early) works, now I need to make sure my ezjail runs after the zpool is available.

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