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

    RAM Disk not backing up data to disk

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 1.9k 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.
    • A
      aGeekhere
      last edited by

      Yes I have the full install of pfsense working off the usb just when I reboot the cache files and squidguard blocklist files in /tmp (ufs in RAM) and /var (ufs in RAM) are cleared and I have to redownload the blocklist.

      Never Fear, A Geek is Here!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Only the RRD data and DHCP leases files are backed up. On nano, the /cf partition is only 50 MB, so not a ton of room to be backing up a slew of things. If you won't overrun the available space there, you could hack in whatever you want in /etc/rc.shutdown or the RRD backup file it calls there.

        1 Reply Last reply Reply Quote 0
        • A
          aGeekhere
          last edited by

          Hi cmb I am not running the nano version I have a full install on the USB stick (16 GB)

          Never Fear, A Geek is Here!

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            I'd probably drop the thumbdrive before it drops you (-;

            1 Reply Last reply Reply Quote 0
            • A
              aGeekhere
              last edited by

              Lol, yeah I know but it will have to do for now. I have a apu1d4 in a case1d2bluu enclosure so still trying to figure out how to get an ssd in there.

              Never Fear, A Geek is Here!

              1 Reply Last reply Reply Quote 0
              • K
                kejianshi
                last edited by

                Cool - Then be sure to use an install that is designed to not make frequent writes to the drive.

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  How about a mSATA drive or a DOM (disk on module)?

                  Should be much better for your purposes.

                  1 Reply Last reply Reply Quote 0
                  • A
                    aGeekhere
                    last edited by

                    That is why I am using the RAM Disk… however it is not writing (That being the cache and the squidguard blacklist) to the disk even though I set the Frequency.

                    I was thinking of a mSATA disk

                    Never Fear, A Geek is Here!

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Get yourself an Intel 30GB mSATA or similar and run full install with squid and no worries about the drive writes.

                      1 Reply Last reply Reply Quote 0
                      • A
                        aGeekhere
                        last edited by

                        Yeah, I think I might do that

                        Never Fear, A Geek is Here!

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