aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ocfs2-tools/ocfs2-tools.confd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-14 01:43:08 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-14 01:43:08 +0100
commitf10ea8df610c3be33ff846a4e92ab4e846f79d05 (patch)
tree314b71fd453e9c9b9dbe50b99b5f164c1092883e /unmaintained/ocfs2-tools/ocfs2-tools.confd
parent3def523fc023119ccede55509bc982562437b9db (diff)
downloadaports-f10ea8df610c3be33ff846a4e92ab4e846f79d05.tar.bz2
aports-f10ea8df610c3be33ff846a4e92ab4e846f79d05.tar.xz
unmaintained/ocfs2-tools: move from main
This aport is disabled for several years.
Diffstat (limited to 'unmaintained/ocfs2-tools/ocfs2-tools.confd')
-rw-r--r--unmaintained/ocfs2-tools/ocfs2-tools.confd38
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ocfs2-tools/ocfs2-tools.confd b/unmaintained/ocfs2-tools/ocfs2-tools.confd
new file mode 100644
index 0000000000..29bc08406a
--- /dev/null
+++ b/unmaintained/ocfs2-tools/ocfs2-tools.confd
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/files/ocfs2.conf,v 1.1 2006/07/20 05:13:14 dberkholz Exp $
+
+# Put your cluster names here, separated by space, ie.
+# OCFS2_CLUSTER="cluster1 admincluster cluster2"
+OCFS2_CLUSTER="ocfs2"
+
+# Some heartbeat tweaks to prevent self-fencing quite so much during heavy load.
+# http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html
+
+# How long to wait before a node is considered dead from lack of network activity.
+OCFS2_IDLE_TIMEOUT_MS="30000"
+# How often we should attempt to send heartbeats.
+OCFS2_KEEPALIVE_DELAY_MS="2000"
+OCFS2_RECONNECT_DELAY_MS="2000"
+# How often we should attempt to send heartbeats.
+# How many interations before a node is considered dead from lack of IO activity.
+# (dead_threshold - 1) * 2s
+OCFS2_DEAD_THRESHOLD="31"
+
+# Default: "-fy" (force check on double-unmounted boot). I beleave this is best.
+# Native way is "-y", but once I have twice reboot/powerOFF with bad result...
+# Affected only fstab.
+OCFS2_FSCK="-fy"
+
+# http://oss.oracle.com/projects/ocfs2-tools/news/article_8.html
+# starting from 1.4.3, fsck.ocfs2 "aggressively cache the metadata blocks"
+# this is useful on lots of free memory, but I have heavy slowdown on x86_64
+# with 1G of RAM.
+# "yes" will "swapoff -a" & "swapon -a" around fsck to avoid caching over swap
+OCFS2_FSCK_SWAPOFF="yes"
+
+# Signal to kill processes on stop/umount on busy device (empty to not kill)
+#OCFS2_UMOUNT_KILL="KILL"
+
+# "yes" to force stop
+#OCFS2_FORCE_STOP="no"