This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
loader.conf
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
loader.conf
Hi
anyone could tell me the easierst way to keep my loader.conf after firmware upgrade?
Thanks
Daniel
anyone could tell me the easierst way to keep my loader.conf after firmware upgrade?
Thanks
Daniel
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
copy to your data disk and execute a postinit script to copy fron data disk to boot disk every time you restart.
PD: better if you do not do changes in loader.conf , normally changes can be done using auxiliary parameters on WEBGUI and saved on config.xml so is persistant and do not lose in upgrades.
Post your changes to guide to best way to insert in webGUI
PD: better if you do not do changes in loader.conf , normally changes can be done using auxiliary parameters on WEBGUI and saved on config.xml so is persistant and do not lose in upgrades.
Post your changes to guide to best way to insert in webGUI
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: loader.conf
thank raulfg3raulfg3 wrote: PD: better if you do not do changes in loader.conf , normally changes can be done using auxiliary parameters on WEBGUI and saved on config.xml so is persistant and do not lose in upgrades.
where is an input box for auxiliary parameters of loader.conf on WEBGUI?
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: loader.conf
u have to reboot once again (after firmware upgrade first reboot) because it's a postinit script don't u?raulfg3 wrote:copy to your data disk and execute a postinit script to copy fron data disk to boot disk every time you restart.
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
try preinit instead ( you must write a scrip that control if need to be updated, some version control must be done)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: loader.conf
thank raulfg3raulfg3 wrote: PD: better if you do not do changes in loader.conf , normally changes can be done using auxiliary parameters on WEBGUI and saved on config.xml so is persistant and do not lose in upgrades.
where is an input box for auxiliary parameters of loader.conf on WEBGUI?
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
you are right , there are not auxiliary parameters in web GUI, a see your suggest to add one tab in System|Advanced viewtopic.php?f=56&t=4136
But add auxiliary parameters to ZFSkerntune is a good Idea too ( ZFSkerntune apply changes to loader.conf):
thsi is a example of my loader.conf after apply 8GB RAM in zfskerntune:
But add auxiliary parameters to ZFSkerntune is a good Idea too ( ZFSkerntune apply changes to loader.conf):
thsi is a example of my loader.conf after apply 8GB RAM in zfskerntune:
Code: Select all
kernel="kernel"
bootfile="kernel"
kernel_options=""
kern.hz="100"
hw.est.msr_info="0"
hw.hptrr.attach_generic="0"
kern.maxfiles="65536"
kern.maxfilesperproc="50000"
kern.cam.boot_delay="8000"
autoboot_delay="5"
isboot_load="YES"
zfs_load="YES"
# ZFS kernel tune
vm.kmem_size="6656M"
vfs.zfs.arc_min="5120M"
vfs.zfs.arc_max="5120M"
vfs.zfs.prefetch_disable="0"
vfs.zfs.txg.timeout="5"
vfs.zfs.vdev.max_pending="10"
vfs.zfs.vdev.min_pending="4"
vfs.zfs.write_limit_override="0"
vfs.zfs.no_write_throttle="0"12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
- kkd
- Forum Moderator

- Posts: 306
- Joined: 08 May 2013 21:47
- Location: Budapest, Hungary
- Contact:
- Status: Offline
Re: loader.conf
According to my best knowledge FreeBSD 9.x includes new event timers subsystem: eventtimers(4). Eventtimers(4) adds support for one-shot timer operation mode, when interrupts generated only when there is some work to do. That allows to not reduce kern.hz variable, so if u you use >=FreeBSD 9.x no need kern.hz="100". It's a FreeBSD 8.x heritage.raulfg3 wrote:you are right , there are not auxiliary parameters in web GUI, a see your suggest to add one tab in System|Advanced viewtopic.php?f=56&t=4136
But add auxiliary parameters to ZFSkerntune is a good Idea too ( ZFSkerntune apply changes to loader.conf):
thsi is a example of my loader.conf after apply 8GB RAM in zfskerntune:Code: Select all
kernel="kernel" bootfile="kernel" kernel_options="" kern.hz="100" hw.est.msr_info="0" hw.hptrr.attach_generic="0" kern.maxfiles="65536" kern.maxfilesperproc="50000" kern.cam.boot_delay="8000" autoboot_delay="5" isboot_load="YES". zfs_load="YES" # ZFS kernel tune vm.kmem_size="6656M" vfs.zfs.arc_min="5120M" vfs.zfs.arc_max="5120M" vfs.zfs.prefetch_disable="0" vfs.zfs.txg.timeout="5" vfs.zfs.vdev.max_pending="10" vfs.zfs.vdev.min_pending="4" vfs.zfs.write_limit_override="0" vfs.zfs.no_write_throttle="0"
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
Thanks.kkd wrote:That allows to not reduce kern.hz variable, so if u you use >=FreeBSD 9.x no need kern.hz="100". It's a FreeBSD 8.x heritage.
I pass this info to developers.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
- zoon01
- Developer

- Posts: 724
- Joined: 20 Jun 2012 21:06
- Location: Netherlands
- Contact:
- Status: Offline
Re: loader.conf
Thanks raulfg3,
if kern.eventtimer.periodic: 1 than kern.hz= can be used.
So indeed kern.hz can be removed!
With a tickless kernel kern.hz should have no effect all the time. (dynamic tick mode also called tickless mode)
I have no complains so far that there seem to be problems using tickless VMs over longer periods of time on on VMware ESX 5.0.
Regards,
zoon01
if kern.eventtimer.periodic: 1 than kern.hz= can be used.
So indeed kern.hz can be removed!
With a tickless kernel kern.hz should have no effect all the time. (dynamic tick mode also called tickless mode)
I have no complains so far that there seem to be problems using tickless VMs over longer periods of time on on VMware ESX 5.0.
Regards,
zoon01
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz
Development system is same system in virtualbox.
Development system is same system in virtualbox.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
add the ability to edit / add loaders in loader.conf if latest r814 https://sourceforge.net/p/nas4free/code/814
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
RedAntz
- experienced User

- Posts: 125
- Joined: 11 Jul 2012 07:46
- Location: Sydney, Australia
- Status: Offline
Re: loader.conf
User edited variables and settings will be saved to loader.conf.local. loader.conf will remain unchanged.
These settings will be backup/restore via usual backup of config.xml (if you add these settings vig WebGUI of course)
A restore to Factory defaults will also wipe off these settings.
These settings will be backup/restore via usual backup of config.xml (if you add these settings vig WebGUI of course)
A restore to Factory defaults will also wipe off these settings.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: loader.conf
Not sure if you test latest r814 or latter.RedAntz wrote:User edited variables and settings will be saved to loader.conf.local. loader.conf will remain unchanged.
These settings will be backup/restore via usual backup of config.xml (if you add these settings vig WebGUI of course)
A restore to Factory defaults will also wipe off these settings.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510