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

    Read only installation via USB

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 2.1k 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
      tnine
      last edited by

      Hi all,
        We've installed Pfsense on 2 USB thumb drives.  This has worked really well, and has allowed us to quickly get a backup up and running if we have a hardware failure.

      Unfortunately we've getting some problems with the drives dieing as we're writing to them far too much.  I generally create these USB drives by booting to the 1.2.3 ISO and then installing to the USB media in vmware.  Is it possible to set the installation to only mount the disk and perform writes for configuration changes and package installations?  We use a syslog server, so we don't need logs.

      Thanks,
      Todd

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        You would probably be better off by using the NanoBSD based variant of pfSense. It is better optimised for use on devices with limited write cycles but it does have some other characteristics that may make it unsuitable (e.g. serial console rather than video console).

        Another option might be to use solid state disks in the form of DOMs which are intended for environments with a lot more disk writes than a USB stick would typically see. I've been using the full version of pfSense with a 1 GB Transcend DOM for more than 2 years now. It cost me under the equivalent of US$25.

        1 Reply Last reply Reply Quote 0
        • T
          tnine
          last edited by

          Thanks, unfortunately we're stuck with this HW at the moment.  Hot swappable is a big factor for us.  We have a duplicate machine that we just plug the drive into without dismantling it. I've also tried just writing to a cheap external 3.5" HD.  Unfortunately the BSD kernel seems to crap out when it's loading files from these external drives.  If you write to a DOM, do you use the live CD or the embedded version?  We're running on 2 old 2 ghz boxes with IDE cables in them so the ability to swap them out quickly is important for us.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @tnine:

            If you write to a DOM, do you use the live CD or the embedded version?

            Either, depending on what version you want to run.

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