Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] OPNsense on Compact Flash
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] OPNsense on Compact Flash (Read 25814 times)
jramshur
Newbie
Posts: 3
Karma: 0
[SOLVED] OPNsense on Compact Flash
«
on:
June 07, 2015, 04:37:38 am »
pfSense has the NanoBSD package tailored for embedded systems using flash memory such as Compact Flash. According to the pfSense website "Flash memory can only handle a limited number of writes, so the embedded version runs read only from flash, with read/write file systems as RAM disks."
With that in mind...can OPNSense be used safely on Compact Flash systems? If so, then what is the proper way to set it up?
«
Last Edit: June 08, 2015, 08:35:22 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: OPNsense on Compact Flash
«
Reply #1 on:
June 08, 2015, 08:35:10 am »
We removed the read-only layer as it was convoluted and sometimes not working as expected. Our Nano(BSD) images use the /var and /tmp memory disks by default to prolong card lifetimes still.
In short: yes, please use the "nano" image we do provide:
https://pkg.opnsense.org/releases/mirror/
Logged
jramshur
Newbie
Posts: 3
Karma: 0
Re: [SOLVED] OPNsense on Compact Flash
«
Reply #2 on:
June 08, 2015, 05:47:03 pm »
Great. What about systems that have CF and hard disk? I have a pfsense box that uses the HD for cache. Is the preferred method to use the HD for cache? If so, then would this be easily setup?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] OPNsense on Compact Flash
«
Reply #3 on:
June 08, 2015, 08:42:33 pm »
What do you want to cache? If you have both, I'd recommend the hard disk install.
Otherwise, you'll have to fiddle with partition layouts or daemon setups, fdisk'ing the other disk by hand. I am not aware of any automated multi-part installation across two different disks.
Maybe you mean ARC for ZFS: we don't have ZFS fully supported.
Logged
jramshur
Newbie
Posts: 3
Karma: 0
Re: [SOLVED] OPNsense on Compact Flash
«
Reply #4 on:
June 09, 2015, 04:05:38 am »
I think it was setup for squid to use the HD as cache so as not to continually write to the CF. It is similar to this one
http://www.ebay.com/itm/Pfsense-2-2-2-ITX-Firewall-Router-1-WAN-3-LAN-60GB-CACHE-/321777533380?pt=LH_DefaultDomain_0&hash=item4aeb6f81c4
.
I'm new to pfsense and just assumed there were some benefit to installing it on the CF card.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] OPNsense on Compact Flash
«
Reply #5 on:
June 09, 2015, 11:14:35 am »
If you have enough RAM a MFS/TMPFS is probably better than the hard disk for caching (unless you want to cache more than a few GB). CF is the cheap alternative to a HD, so having both seems like a waste. The HD is definitely better in terms of overall performance.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] OPNsense on Compact Flash