OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] NanoBSD?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] NanoBSD?  (Read 11154 times)

stephenw10

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
[SOLVED] NanoBSD?
« on: January 11, 2015, 04:51:25 pm »
Hi all.
Is there an intention to have a NanoBSD variant at all? My test boxes are all booting CF at the moment.

Steve
« Last Edit: August 28, 2015, 01:18:17 pm by franco »
Logged

ariel

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: NanoBSD?
« Reply #1 on: January 12, 2015, 12:20:27 am »
 I'll be testing in a VM but at the end my production machine (where this gonna be installed) is running from CF too so, same question, there are plans to create a NanoBSD version?
Logged

jschellevis

  • Administrator
  • Full Member
  • *****
  • Posts: 156
  • Karma: 37
    • View Profile
Re: NanoBSD?
« Reply #2 on: January 12, 2015, 01:33:11 pm »
Hi stephenw10 and ariel,

Thank you for your feedback.
We will release an embedded version soon as there seems to be quite a demand for it.

You should be able to install the current version (i386 will be out later today) by
1) doing a custom install without creating a swap space.
2) Then after install got to the System Advanced menu / Miscellaneous and set the option Use RAM Disks as well as the appropriate sizes for /tmp and /var
3) reboot your system

After this you end up with a one slice embedded system as writes go to memory and not to disk.



Logged

stephenw10

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: NanoBSD?
« Reply #3 on: January 12, 2015, 02:20:47 pm »
You might also want to edit the fstab to mount the filesystem '-noatime'. I'm not sure quite how much writing that entails.

Steve
Logged

jschellevis

  • Administrator
  • Full Member
  • *****
  • Posts: 156
  • Karma: 37
    • View Profile
Re: NanoBSD?
« Reply #4 on: January 12, 2015, 03:59:33 pm »
Hi stephenw10,

Thanks for the tip.. just installed it on 2GB CF on i386 platform and tested.
Also looked closely at disk writes and it looks very well.. no substantial disk activity.

Still I will keep you tip in mind for the final solution.
Thanks again.
Logged

stephenw10

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: NanoBSD?
« Reply #5 on: January 12, 2015, 04:35:22 pm »
It's the standard mount option in pfSenses nano images. Also the 'sync' option seems relevant.
If you've got decent quality CF cards and have moved /tmp and /var to ram you shouldn't have a problem. Unfortunately my test box won't boot from anything else so actually installing is an issue.  ::)

Steve
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: NanoBSD?
« Reply #6 on: January 12, 2015, 06:16:42 pm »
We try to provide an install media for all types of installations. This creates a little twist on bsdinstaller that was never meant to support embedded installations. We will add a tweak for bsdinstaller quick installation to work better for embedded systems in the long run. There is a lot of work ahead of us to deal with the read-write locking more transparently in the future. We can only do so much at a time. :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: [SOLVED] NanoBSD?
« Reply #7 on: August 28, 2015, 01:19:06 pm »
So good to keep promises. We've had nano for a while now, latest images here: https://pkg.opnsense.org/releases/15.7.11/
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] NanoBSD?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2