*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - 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
Locked
User avatar
raulfg3
Site Admin
Site Admin
Posts: 4924
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

rc.conf Cheat Sheet

#1

Post by raulfg3 » 28 Jun 2012 09:13

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
Name=clog_logdir
Value=/mnt/share

--------------------------------------------------------------------------------

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.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

Locked

Return to “XigmaNAS Kernel Tune-up”