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!

[Request] Enable processing of loader.conf.local

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
luzemario
Forum Moderator
Forum Moderator
Posts: 18
Joined: 08 Jun 2013 16:26
Location: Brasilia, BR
Status: Offline

[Request] Enable processing of loader.conf.local

Post by luzemario »

Hi devs,

NAS4free has an option in the "Advanced" menu to add options to loader.conf. These extra options are stored in the user file 'loader.conf.local', but embedded version's loader.conf has no call to loader.conf.local, rendering the file useless.

Please add a

Code: Select all

loader_conf_files="/boot/loader.conf.local"
line to loader.conf, so the option to add loader parameters in webgui can do it's work.
Cheapest Hosting - Bom e Barato! http://www.luzehost.com.br

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: [Request] Enable processing of loader.conf.local

Post by ChriZathens »

What do you mean exactly. I am asking in case I don't understand correctly.. What I understood was that even if you add something in loader.conf, it won't matter, cause it is not going to be loaded????
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
luzemario
Forum Moderator
Forum Moderator
Posts: 18
Joined: 08 Jun 2013 16:26
Location: Brasilia, BR
Status: Offline

Re: [Request] Enable processing of loader.conf.local

Post by luzemario »

Exactly. loader.conf needs to have the line "loader_conf_files=XXXX" to load other config files. Without this line, only loader.conf itself is processed. There is a example in the /cf/boot/defaults/loader.conf (or /boot/defaults/loader.conf for full installs).

The embedded version of N4F does not have this line in its own loader.conf. Adding items to "loader.conf" section of "Advanced" in web interface (in main menu) does nothing because these options are stored in the user file (e.g. loader.conf.local).

I could confirm this by adding verbose_loading="YES" in the supplied loader.conf for embedded version. Only after I added loader_conf_files="/boot/loader.conf.local", my option was processed (and I could finally see it failed, since the affected file was absent).
Cheapest Hosting - Bom e Barato! http://www.luzehost.com.br

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: [Request] Enable processing of loader.conf.local

Post by ChriZathens »

I keep asking, because a few weeks ago I succesfully loaded the .847 version's bge driver in .943 version, using loader.conf
Details: viewtopic.php?p=32391#p32391
If loader.conf wasn't reading the correct files, wouldn't my addition fail to load the driver??? :?
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

RedAntz
experienced User
experienced User
Posts: 125
Joined: 11 Jul 2012 07:46
Location: Sydney, Australia
Status: Offline

Re: [Request] Enable processing of loader.conf.local

Post by RedAntz »

For embedded, your System|Advanced|loader.conf variables are saved at /cf/boot/loader.conf.local

Post Reply

Return to “Suggestions & Requests”