Add pfSense NVMe cache overlay documentation#45
Closed
JonathanDLee24 wants to merge 2 commits intosquid-cache:mainfrom
Closed
Add pfSense NVMe cache overlay documentation#45JonathanDLee24 wants to merge 2 commits intosquid-cache:mainfrom
JonathanDLee24 wants to merge 2 commits intosquid-cache:mainfrom
Conversation
This document provides a script for creating a filesystem overlay using nullfs to mount an alternate NVMe-backed directory as the Squid cache location on pfSense systems. It includes usage instructions and a cron job setup.
rousskov
reviewed
Jan 13, 2026
Updated the testing section to text based expected log messages. removed image
Author
|
ok the logs are now text based as requested |
Author
|
I created a new one with the fixes and a additional example file that was a lot of researching in pfsense to help others or bring to light issues and known limitations
#46
… On Jan 12, 2026, at 18:02, Alex Rousskov ***@***.***> wrote:
@rousskov commented on this pull request.
In docs/ConfigExamples/Caching/pfSensenvmecacheuse.md <#45 (comment)>:
> + mount -t nullfs "${CACHE_SRC}" "${CACHE_DST}" || {
+ log_sys "ERROR: nullfs mount failed"
+ exit 1
+ }
+ else
+ log_sys "nullfs already mounted"
+ fi
+
+ # 5. Start squid
+ log_sys "Starting squid"
+ /usr/local/sbin/pfSsh.php playback svc start squid
+
+ log_sys "Squid nullfs mount completed"
+
+## Testing should show a valid mount on reboot in logs
+<img width="690" height="226" alt="Screenshot 2026-01-12 at 14 56 06" src="https://github.com/user-attachments/assets/f770a6e0-b799-47dc-89fc-d5a05e25aef5" />
It would be nice to convert this image into a markdown text table, so that we are not hosting a link to an image that we do not control. I do not know enough about GitHub user attachments to flag this as a security risk, but using text is overall better even if these attachments are not a security risk.
—
Reply to this email directly, view it on GitHub <#45 (review)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2VDGN7OIXBZ7HTFT6J3CTD4GRGZ3AVCNFSM6AAAAACRPF5SNGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTMNJTGQ2TSMRYGU>.
You are receiving this because you authored the thread.
|
Contributor
Thank you.
Do you want to close this PR and switch to #46 (as if this PR did not exist)? Or do you want us to merge this PR first (creating merge conflicts for #46 that you would have to resolve)? |
Author
|
Sure sorry about the issues the other one also has the text issues fixed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This document provides a script for creating a filesystem overlay using nullfs to mount an alternate NVMe-backed directory as the Squid cache location on pfSense systems. It includes usage instructions and a cron job setup.