rpms/openafs/F-18 afs.conf,1.3,1.4 openafs.spec,1.25,1.26

Jack Neely jjneely at rpmfusion.org
Fri Aug 24 18:55:28 CEST 2012


Author: jjneely

Update of /cvs/free/rpms/openafs/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28919

Modified Files:
	afs.conf openafs.spec 
Log Message:
* Thu Aug 23 2012 Jack Neely <jjneely at ncsu.edu> 0:1.6.1-5
- Update /etc/sysconfig/openafs to have some more current
  default settings.
- AFS_CACHE_DIR is now pre-poplated with the default value
- Encryption is used by default



Index: afs.conf
===================================================================
RCS file: /cvs/free/rpms/openafs/F-18/afs.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- afs.conf	8 Mar 2012 21:11:39 -0000	1.3
+++ afs.conf	24 Aug 2012 16:55:28 -0000	1.4
@@ -13,10 +13,13 @@
 AFS_SERVER=off
 
 # AFS client configuration options:
-LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
-MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
-SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
-OPTIONS="$MEDIUM -nosettime -memcache -afsdb -dynroot"
+# A "normal" memcache based default.  20MB of cache
+NORMAL="-memcache -daemons 3 -blocks 20480"
+# A "server" doing heavier AFS I/O: disk cache, set cache size in 
+#    /etc/openafs/cacheinfo
+SERVER="-daemons 5 -chunksize 18 -volumes 512"
+
+OPTIONS="$NORMAL -nosettime -afsdb -dynroot -fakestat"
 
 # Set some sane sysnames -- figure out what we are
 _ARCH=`uname -i | sed 's/x86_64/amd64/'`
@@ -52,16 +55,19 @@
 #    /usr/afsws/etc/fs setserverprefs <host> <rank>
 #}
 
+afs_post_init() {
+    /usr/bin/fs setcrypt -crypt on
+}
+
 # Either the name of an executable script or a set of commands go here.
 # AFS_POST_INIT=afs_serverprefs
-AFS_POST_INIT=
-
+AFS_POST_INIT=afs_post_init
 
 # Directory to mount AFS under (usually /afs)
 AFS_MOUNT_POINT="/afs"
 
 # Directory to use for the cache directory
-AFS_CACHE_DIR=""
+AFS_CACHE_DIR="/var/cache/openafs"
 
 # Directory to use for configuration information
 AFS_CONF_DIR="/etc/openafs"


Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/F-18/openafs.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- openafs.spec	23 Aug 2012 18:48:27 -0000	1.25
+++ openafs.spec	24 Aug 2012 16:55:28 -0000	1.26
@@ -13,7 +13,7 @@
 Summary:        Enterprise Network File System
 Name:           openafs
 Version:        1.6.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 License:        IBM
 Group:          System Environment/Daemons
 URL:            http://www.openafs.org
@@ -102,7 +102,8 @@
 # This changes osconf.m4 to build with -fPIC on i386 and x86_64
 %patch0
 
-# This allows fileservers to serve data from partition sizes greater than 2TB.
+# This allows fileservers to report correct partition usage on
+# partitions greater than 2TB.
 %patch1 -p1
 
 # This allows us to build with newer glibc
@@ -336,11 +337,18 @@
 %{_datadir}/openafs/C/afszcm.cat
 
 %changelog
+* Thu Aug 23 2012 Jack Neely <jjneely at ncsu.edu> 0:1.6.1-5
+- Update /etc/sysconfig/openafs to have some more current
+  default settings.
+- AFS_CACHE_DIR is now pre-poplated with the default value
+- Encryption is used by default
+
 * Wed Aug 22 2012 Ken Dreyer <ktdreyer at ktdreyer.com> 0:1.6.1-4
 - Upstream patch for new glibc
 
 * Wed Aug 22 2012 Ken Dreyer <ktdreyer at ktdreyer.com> 0:1.6.1-3
-- Upstream patch for fileserver partitions >2TB
+- Patch to allow fileservers to report correct partition
+  usage data on partitions sizes greater than 2TB.
 
 * Mon May 01 2012 Ken Dreyer <ktdreyer at ktdreyer.com> 0:1.6.1-2
 - Provide openafs-static (RPM Fusion bug #2310).


More information about the rpmfusion-commits mailing list