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

    MSATA – standard pfSense or embedded?

    Hardware
    4
    22
    16.2k
    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
      jasonlitka
      last edited by

      @wm408:

      Looks like mine has been modified to fit that picture/spec.

      I think I might just buy one elsewhere to test with.  Grr.

      Thanks

      This is what I use.  Ignore the bad reviews, Amazon had the wrong photo for a while.

      http://www.amazon.com/Intel-mSATA-Gb-s-Solid-State-Drive/dp/B00501UY28

      I can break anything.

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

        Thx I just grabbed one.  Jason I never asked,.. are you running the full pfsense?  or embedded?  Using squid with caching?  What kind of environment are you running it in.. how many people roughly?

        Thanks

        @Jason:

        @wm408:

        Looks like mine has been modified to fit that picture/spec.

        I think I might just buy one elsewhere to test with.  Grr.

        Thanks

        This is what I use.  Ignore the bad reviews, Amazon had the wrong photo for a while.

        http://www.amazon.com/Intel-mSATA-Gb-s-Solid-State-Drive/dp/B00501UY28

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

          Full install, personal use at home.  No packages at the moment, I just got finished cleaning up after a few bad IPv6 gitsyncs and am back on the vanilla 2.0 code.

          The original intention was to use squid, but to be honest, I have more bandwidth (~40/40) than I need and squid may actually slow me down.  The only thing I'd be really interested in is YouTube caching.

          The reason I upgraded from an Alix was VPN throughput.  The 6501 isn't doing quite as well as I had hoped, but it's better than before and my power consumption is lower than if I had gone with a "normal" Atom system or an i3.

          I can break anything.

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

            I am not sure about running Full pfsense on this device.  I haven't tested it and its going to be in production supporting over 100 users.  Maybe I should just add a separate 7200rpm SATA drive to the box for the caching.

            I don't have enough experience with these mSATA cards.  uggh.

            @Jason:

            Full install, personal use at home.  No packages at the moment, I just got finished cleaning up after a few bad IPv6 gitsyncs and am back on the vanilla 2.0 code.

            The original intention was to use squid, but to be honest, I have more bandwidth (~40/40) than I need and squid may actually slow me down.  The only thing I'd be really interested in is YouTube caching.

            The reason I upgraded from an Alix was VPN throughput.  The 6501 isn't doing quite as well as I had hoped, but it's better than before and my power consumption is lower than if I had gone with a "normal" Atom system or an i3.

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

              @wm408:

              I am not sure about running Full pfsense on this device.  I haven't tested it and its going to be in production supporting over 100 users.  Maybe I should just add a separate 7200rpm SATA drive to the box for the caching.

              I don't have enough experience with these mSATA cards.  uggh.

              @Jason:

              Full install, personal use at home.  No packages at the moment, I just got finished cleaning up after a few bad IPv6 gitsyncs and am back on the vanilla 2.0 code.

              The original intention was to use squid, but to be honest, I have more bandwidth (~40/40) than I need and squid may actually slow me down.  The only thing I'd be really interested in is YouTube caching.

              The reason I upgraded from an Alix was VPN throughput.  The 6501 isn't doing quite as well as I had hoped, but it's better than before and my power consumption is lower than if I had gone with a "normal" Atom system or an i3.

              SLC flash is fine for heavy-use systems, MLC is not.  I'm using 8GB SLC Compact Flash cards with full installs in my pfSense boxes at work and those are dual-wan (45/45 + 20/20) + carp for about 140 users with a total of about 400 devices.  The Intel 311 SLC SSD is designed to be written to constantly as a disk cache, you'll have no issues.

              I can break anything.

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

                Thanks for your thoughts.

                @Jason:

                @wm408:

                I am not sure about running Full pfsense on this device.  I haven't tested it and its going to be in production supporting over 100 users.  Maybe I should just add a separate 7200rpm SATA drive to the box for the caching.

                I don't have enough experience with these mSATA cards.  uggh.

                @Jason:

                Full install, personal use at home.  No packages at the moment, I just got finished cleaning up after a few bad IPv6 gitsyncs and am back on the vanilla 2.0 code.

                The original intention was to use squid, but to be honest, I have more bandwidth (~40/40) than I need and squid may actually slow me down.  The only thing I'd be really interested in is YouTube caching.

                The reason I upgraded from an Alix was VPN throughput.  The 6501 isn't doing quite as well as I had hoped, but it's better than before and my power consumption is lower than if I had gone with a "normal" Atom system or an i3.

                SLC flash is fine for heavy-use systems, MLC is not.  I'm using 8GB SLC Compact Flash cards with full installs in my pfSense boxes at work and those are dual-wan (45/45 + 20/20) + carp for about 140 users with a total of about 400 devices.  The Intel 311 SLC SSD is designed to be written to constantly as a disk cache, you'll have no issues.

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

                  This is output from pfsense on net6501 w/ the new intel mSATA ssd.  I also decided to write the image with dd in linux this time instead of physdiskwrite and windows.

                  Root mount waiting for: usbus7 usbus3
                  uhub3: 3 ports with 3 removable, self powered
                  uhub7: 3 ports with 3 removable, self powered
                  Trying to mount root from ufs:/dev/ufs/pfsense0
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=332239
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1513199
                  ad4: TIMEOUT - READ_MUL retrying (0 retries left) LBA=1513199
                  ad4: FAILURE - READ_MUL timed out LBA=1513199
                  g_vfs_done():ufs/pfsense0[READ(offset=774717440, length=18944)]error = 5
                  vnode_pager_getpages: I/O read error
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=3450767
                  ad4: TIMEOUT - READ_MUL retrying (0 retries left) LBA=3450767
                  ad4: FAILURE - READ_MUL timed out LBA=3450767
                  g_vfs_done():ufs/pfsense0[READ(offset=1766752256, length=18944)]error = 5
                  vnode_pager_getpages: I/O read error
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1135623
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1765855
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1768839
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=442207
                  ad4: TIMEOUT - READ_MUL retrying (0 retries left) LBA=442207
                  ad4: FAILURE - READ_MUL timed out LBA=442207
                  g_vfs_done():ufs/pfsense0[READ(offset=226369536, length=35328)]error = 5
                  vnode_pager_getpages: I/O read error
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=442207
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1513199
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1765455
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=1134127
                  ad4: TIMEOUT - READ_MUL retrying (1 retry left) LBA=332151

                  pfSense is booted up and I can work in the CLI.  I am just not sure about this output.

                  Update:

                  I took a 2.5" 320GB Sata drive and wrote the 4G nanobsd image to it in Linux via: dd if=pfsense.img of=/dev/sdX

                  booted up the net6501 and have the same result.

                  So either my ability to write the nanobsd image sucks (which doesn't make sense)
                  or
                  Something with the nanobsd and the net6501?

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

                    Try a full install.  I haven't monitored the console output since the initial install, but I don't remember seeing that stuff.

                    Have you tried both ports on the board?  Maybe one is bad.

                    I can break anything.

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

                      I think I tested the second mSATA port closer to the processor, and I did just test the 2.5" SATA drive on a completely different interface.  Ill test on both mSATA and SATA ports

                      Jason, check your /var/log/dmesg.boot for the errors if they exist.

                      @Jason:

                      Try a full install.  I haven't monitored the console output since the initial install, but I don't remember seeing that stuff.

                      Have you tried both ports on the board?  Maybe one is bad.

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

                        Tried both mSATA (2) and SATA (2) ports with the 4G nanobsd image.  Used the Intel ssd for mSata and a 320Gb wd black on the sata ports.  Still had those previous mentioned messages.

                        Installed pfsense i386 full on the mSATA intel ssd.  The messages aren't there anymore.  I'd like to note that the only reason I am even running full on an "embedded device" is because I am using an SLC-based mSATA board which according to many, can withstand a lot of writes.

                        I did have a small problem on boot.  Because I built the drive on another system that had other drives, the device that was placed in /etc/fstab was something like: /dev/da0s1a and I had to change it to /dev/ad4s1a.

                        first I was in some kind of boot error prompt and typed: ufs:/dev/ad4s1a  (just to get it to boot)
                        then I edited /etc/fstab to reflect the changed disk device.

                        Jason I am going to give full a whirl.

                        Thanks.

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

                          @wm408:

                          Jason, check your /var/log/dmesg.boot for the errors if they exist.

                          They do not.

                          @wm408:

                          Installed pfsense i386 full on the mSATA intel ssd.  The messages aren't there anymore.  I'd like to note that the only reason I am even running full on an "embedded device" is because I am using an SLC-based mSATA board which according to many, can withstand a lot of writes.

                          That is true, SLC flash is designed for write-heavy applications.  The 311 is used for read/write caching of your Windows boot drive with the Z68 chipset and the X25-E is the "value" choice for the ZIL for ZFS file servers.

                          @wm408:

                          I did have a small problem on boot.  Because I built the drive on another system that had other drives, the device that was placed in /etc/fstab was something like: /dev/da0s1a and I had to change it to /dev/ad4s1a.

                          first I was in some kind of boot error prompt and typed: ufs:/dev/ad4s1a  (just to get it to boot)
                          then I edited /etc/fstab to reflect the changed disk device.

                          That is to be expected when doing an install on one machine and then moving the drive to another (which is why I warned you earlier).

                          Good luck with your full install on the Soekris.  I finally added Squid to mine the other day.  I'm running with a 512MB RAM cache for objects up to 64KB and a 4GB "disk" cache for objects up to 1MB.  Now all I need to do is to figure out how to get some statistics on hit rate, saved bandwidth, etc.

                          I can break anything.

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            I know this is a really old thread but it's coming up high in search results for the problem so I thought a follow-up was in order.

                            Seems the errors on NanoBSD with the net6501 on an mSATA are due to it needing DMA and/or write caching enabled.

                            I wrote up the solution here:
                            http://doc.pfsense.org/index.php/Boot_Troubleshooting#NanoBSD_on_Newer_Hardware

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

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