Advertisement
Guest User

jac server 3

a guest
Mar 30th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. ## /etc/rc.conf
  2. ## Run Control configuration
  3. ## for Root-on-ZFS distributions
  4. #
  5.  
  6. ## Network
  7. # feel free to change the hostname, but you need to edit /etc/hosts as well
  8. hostname="zfsguru3.bsd"
  9.  
  10. # add interfaces at your leisure when requiring static configuration
  11. ifconfig_DEFAULT="DHCP"
  12. # some examples (you can override your own interface keeping DEFAULT intact)
  13. # example1: static IP address (also set defaultrouter and also /etc/resolv.conf)
  14. #ifconfig_em0="inet 10.0.0.100 netmask 255.255.255.0"
  15. # example2: enable 'Jumbo Frames' which is MTU larger than 1536 bytes
  16. #ifconfig_em0="DHCP mtu 7000"
  17. # example3: force interface to gigabit full-duplex link if autodetect is borked
  18. #ifconfig_em0="DHCP media 1000baseTX mediaopt full-duplex"
  19. ifconfig_igb0="inet 192.168.2.153 netmask 255.255.255.0"
  20. ifconfig_ix0="inet 192.168.3.153 netmask 255.255.255.0 mtu 9000"
  21. ixgbe_load="YES"
  22.  
  23. # if you want static IP, you need to specify default gateway here
  24. defaultrouter="192.168.2.254"
  25. # don't forget to edit /etc/resolv.conf for DNS configuration as well!
  26. # note that DHCP interfaces may override the /etc/resolv.conf
  27.  
  28.  
  29. ## Local Daemons
  30. zfs_enable="YES"
  31. powerd_enable="YES"
  32. ntpdate_enable="YES"
  33. ntpdate_hosts="0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
  34.  
  35. ## Network listening Daemons
  36. lighttpd_enable="YES"
  37. sshd_enable="YES"
  38. samba_enable="YES"
  39.  
  40. ## Firewall
  41. #pf_enable="YES"
  42.  
  43. ## NFS
  44. nfs_server_enable="YES"
  45. mountd_enable="YES"
  46. mountd_flag="-r"
  47. rpcbind_enable="YES"
  48. rpc_lockd_enable="YES"
  49. rpc_statd_enable="YES"
  50. # if you have problems, perhaps you can try the old NFS server:
  51. #oldnfs_server_enable="YES"
  52.  
  53. ## Sendmail
  54. sendmail_enable="NO"
  55. sendmail_submit_enable="NO"
  56. sendmail_outbound_enable="NO"
  57. sendmail_msp_queue_enable="NO"
  58. sendmail_clientmqueue_enable="NO"
  59.  
  60. ## Graphics environment
  61. #moused_enable="YES"
  62. #usbd_enable="YES"
  63. # note: you need services installed for the settings below to have any effect
  64. #gnome_enable="YES"
  65. #kdm_enable="YES"
  66. #xfce_enable="YES"
  67.  
  68. ## ZFSguru autostart
  69. zfsguru_enable="YES"
  70. # APM or Advanced Power Management controls power saving features of your hard
  71. # drives. To disable the dreaded 'headparking' feature, it is common to enable
  72. # APM to a setting of 254, to disable headparking altogether.
  73. # zfsguru_apm_enable="NO"
  74. # zfsguru_apm_disks="ada1 ada2 ada3"
  75. # zfsguru_apm_level="254"
  76. # To enable your disks to spindown whenever inactive for a number of seconds,
  77. # configure both the timer (in seconds) and the disks you want to be spun down.
  78. zfsguru_spindown_enable="YES"
  79. zfsguru_spindown_timer="300"
  80. zfsguru_spindown_disks="ada0 ada1"
  81. # If you have a pool with L2ARC cache devices present, you might want to warm
  82. # up the L2ARC right after boot with metadata. We can do that by scanning all
  83. # directory layout which will cause metadata to be written to the L2ARC cache.
  84. # Without L2ARC cache, enabling this will cause metadata to be cached in RAM.
  85. zfsguru_arc_warmup_enable="NO"
  86.  
  87. ## Misc
  88. # this value needs to be NO for LiveCD/Embedded distribution
  89. # and must be YES (the default) for Root-on-ZFS distributions
  90. root_rw_mount="YES"
  91.  
  92. # GPU power saving - turns off monitor after 300 sec (5 min)
  93. saver="green"
  94. blanktime="300"
  95.  
  96. # CPU power saving - enable highest C power state available for your CPU
  97. performance_cx_lowest="Cmax"
  98. economy_cx_lowest="Cmax"
  99.  
  100. ## Synchronous DHCP
  101. # enabling sync. DHCP will cause the system to wait for a DHCP lease before
  102. # it finishes booting. This should prevent services to not have a working
  103. # network interface when they start at boot time.
  104. # enabling this setting may cause a long wait time during boot if you
  105. # don't have any DHCP functionality.
  106. synchronous_dhclient="YES"
  107.  
  108. # end
  109.  
  110. # spindown
  111. # spindown_enable="YES"
  112. # spindown_flags="-b -i 300 -t 300 -d ada2 -d ada3 -d da0 -d da1 -d da2 -d da3 -d da4 -d da5 -d da6 -d da7"
  113. # spindown_flags="-b -i 300 -t 300 -d ada0 -d ada1 -d da8 -d da9 -d da10 -d da11 -d da12 -d da13 -d da14 -d da15"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement