*New 11.4 series Release:
2020-07-03: XigmaNAS - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS - released

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

rc.conf Cheat Sheet

XigmaNAS Kernel Tune-up
Forum rules
Set-Up GuideFAQsForum Rules
User avatar
Site Admin
Site Admin
Posts: 5119
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Status: Offline

rc.conf Cheat Sheet


Post by raulfg3 »

Thanks to Dan Merschi for this original post in the old forum:

Back from FreeNAS 0.69 to latest XigmaNAS build you can use rc.conf to change variables at boot time.

The above image shows an increase in the /var size from 32MB(default) to 64MB.
Name = varsize
Value = 64m
Comment = increase the /var RAM disk size from 32MB to 64MB.
Change the rsync.log path from /var to a permanent location. Save space on /var and make the logs permanent.
Name = rsync_logfile
Value = /mnt/share/dir/rsync.log
Comment = Change rsync log location
Use a custom fuppes configuration directory
Name: fuppes_configdir
Value: /mnt/share/dir/fuppes_configdir
Comment: Use a custom fuppes configuration directory
Use a custom vfolder fuppes.cfg
Name: fuppes_vfolder_config
Value: /mnt/share/dir/fuppes.cfg
Comment: Use custom fuppes vfolder configuration.
Increase lighttpd timeout
Name = lighttpd_server_maxwriteidle
Value = 1000
Comment = Increase server.max-write-idle from 360 seconds to 1000 seconds
Change the transmission "admin" user-name
Name = transmission_remote_user
Value = newname
Comment = Change the transmission "admin" user-name
Move log file location from /var to share
Name = mtdaapd_logfile
Value = /mnt/share/new/log.file
Comment = Move log file location from /var to share
Move play list to a permanent location
Name = mtdaapd_playlist
Value = /mnt/share/location/new.playlist
Comment = Move play list to a permanent location
Increase ATA-idle delay at boot from 60 seconds to 120 seconds
Name = ataidle_delay
Value = 120
Change log file location using clog_logdir


What else you can change ? ... run the following command:

Code: Select all

awk -F'[=|$|{|:]' 'NF>2 && $1==$4' /etc/rc.d/
Last edited by al562 on 26 Dec 2012 06:59, edited 2 times in total. (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Last changes

HP T510


Return to “XigmaNAS Kernel Tune-up”