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

    Boot/load CF vs USB vs HDD

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    7 Posts 3 Posters 5.5k 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.
    • B
      Beans
      last edited by

      Hi all,

      Planning on doing a pfsense build and have most of the hardware ready, but the only thing i am unsure of is the way to handle the installation. I've been reading alot and get quite a bit of mixed reports.

      Ideally i'd like to stay away from a hard disk, and obviously a live cd. However the hardware requirements and others builds seem to stray away from using compact flash or usb as a hard drive? The read/write speed is the limiting factor? Do i really need it for my requirements? Recommended on the main page is 10gb HDD, but i see several builds with less.

      What sort of setup do you recommend for me and why? I'm confused.  ??? What about some drive like this? http://www.ebay.com/itm/KingSpec-16GB-1-8-PATA-II-SSD-IDE-MLC-Solid-State-Drive-Card-F-IBM-X40-X41-X41T-/261011887873?pt=US_Internal_Hard_Disk_Drives&hash=item3cc5855701

      Only thing special i'd probably use is squid proxy and a antivirus.

      Network is ~10pc's + FreeNAS
      30up 10down on a good day
      1.8ghz Sempron
      Mobo with no sata.
      DDR1gb ram
      Lots of gigabit nics

      Thank you!

      1 Reply Last reply Reply Quote 0
      • J
        joako
        last edited by

        I don't know about squid cache to an SSD… never done it. When I use SSD I use the embedded image. If your goal is filtering I believe you can do no cache or RAM only cache.

        I have at home something like Kingston 8GB SSD, or maybe it's 16GB? It's whatever was cheapest/smallest at the time. I know at work I was ordering something like 32gb drive for embedded systems and before you know it 64gb is cheapest/smallest from our vendor.

        1 Reply Last reply Reply Quote 0
        • B
          Beans
          last edited by

          Yeah Cache would be nice, but is it really needed to have 10gb+??? Can't i just pick up some pos ebay china brand 8gb ssd?

          Why can't i use CF or usb? Too slow?

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

            The problem with using a CF card or USB flash drive is that they have a limited number of write cycles. If you run a squid cache or end up using any swap (which shouldn't be happening) you can burn through those cycles in short order and end up with a dead flash drive. Even the standard installation with no packages writes to the disk quite a bit.

            If you are booting from flash you should be using the NanoBSD images which do not write to disk except when you change the config. The read/write speed from flash is not important since pfSense runs almost entirely from RAM once it's booted.

            It is possible to run Squid on a Nano install but only with caching disabled. You can still use it with Squidguard as a content filter.

            @Joako. Those 8GB Kinston SSDs (at least the early ones) seem to be very unreliable. They may have fixed the firmware since but it'd be worth checking if you're still running any.

            1 Reply Last reply Reply Quote 0
            • B
              Beans
              last edited by

              Okay that makes more sense. a 8gb would be enough for my needs though?

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

                The actual pfSense install requires almost nothing. The size of drive required will be dependent on how much you want to cache. Also bare in mind that squid uses ram as it caches at approximately 10MB per 1GB. So if you had a 128GB SSD and used 100GB as a squid cache you won't have enough ram to do it.

                Steve

                1 Reply Last reply Reply Quote 0
                • B
                  Beans
                  last edited by

                  lol, i really doubt i'll have that much cache. Plus i only have 1gb of ram for this machine. I have quite a few older IDE drives laying about i just really don't trust them long term.

                  but at the same time, i want it to function at 100% and not have to worry about replacing something that craps out… Oh well guess i'll try it.

                  Thanks for your help Steve.

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