From 699b275aea03ef75f8e26bfeff8437e793c77425 Mon Sep 17 00:00:00 2001 From: Patrick Caulfield Date: Mon, 11 Dec 2006 14:06:25 +0000 Subject: [PATCH] Add manpage reference for clvmd -T that got missed out when I checked the code in (sorry). --- WHATS_NEW | 1 + man/clvmd.8 | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/WHATS_NEW b/WHATS_NEW index cbb381b46..5c5b49927 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.17 - =================================== + Add manpage entry for clvmd -T Fix gulm operation of clvmd, including a hang when doing lvchange -aey Fix hang in clvmd if a pre-command failed. diff --git a/man/clvmd.8 b/man/clvmd.8 index 96c1acb82..2c440e32c 100644 --- a/man/clvmd.8 +++ b/man/clvmd.8 @@ -6,6 +6,7 @@ clvmd \- cluster LVM daemon [\-d] [\-h] [\-R] [\-t ] +[\-T ] [\-V] .SH DESCRIPTION clvmd is the daemon that distributes LVM metadata updates around a cluster. @@ -23,6 +24,23 @@ be so small that commands with many disk updates to do will fail, so you may need to increase this on systems with very large disk farms. The default is 30 seconds. .TP +.I \-T +Specifies the timeout for clvmd daemon startup. If the daemon does not report +that it has started up within this time then the parent command will exit with +status of 5. This does NOT mean that clvmd has not started! What it means is +that the startup of clvmd has been delayed for some reason; the most likely +cause of this is an inquorate cluster though it could be due to locking +latencies on a cluster with large numbers of logical volumes. If you get the +return code of 5 it is usually not necessary to restart clvmd - it will start +as soon as that blockage has cleared. This flag is to allow startup scripts +to exit in a timely fashion even if the cluster is stalled for some reason. +
+The default is 0 (no timeout) and the value is in seconds. Don't set this too +small or you will experience spurious errors. 10 or 20 seconds might be +sensible. +
+This timeout will be ignored if you start clvmd with the -d switch. +.TP .I \-R Tells all the running clvmd in the cluster to reload their device cache and re-read the lvm configuration file. This command should be run whenever the