summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-03-13 19:39:13 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-03-18 04:33:01 -0700
commit8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15 (patch)
tree173dc89f0466f561ad36bd9d468c8bd7fdd59456 /xlators/cluster
parentbf16d438237166c9379b8388a1be71b2dec4dd4d (diff)
dht: suggest to add more bricks when min-free-disk is exceeded.
Change-Id: I628fbd99c2478fcb8bb6e5be55e43467f25227bf BUG: 1165870 Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9879 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/dht/src/dht-diskusage.c4
-rw-r--r--xlators/cluster/dht/src/dht-messages.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c
index a2dc43c32aa..621c613d08c 100644
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -259,7 +259,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol)
gf_msg (this->name, GF_LOG_WARNING, 0,
DHT_MSG_SUBVOL_INSUFF_SPACE,
"disk space on subvolume '%s' is getting "
- "full (%.2f %%), consider adding more nodes",
+ "full (%.2f %%), consider adding more bricks",
subvol->name,
(100 - conf->du_stats[i].avail_percent));
}
@@ -270,7 +270,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol)
gf_msg (this->name, GF_LOG_CRITICAL, 0,
DHT_MSG_SUBVOL_INSUFF_INODES,
"inodes on subvolume '%s' are at "
- "(%.2f %%), consider adding more nodes",
+ "(%.2f %%), consider adding more bricks",
subvol->name,
(100 - conf->du_stats[i].avail_inodes));
}
diff --git a/xlators/cluster/dht/src/dht-messages.h b/xlators/cluster/dht/src/dht-messages.h
index 80b20a61efd..f4096ae8f1e 100644
--- a/xlators/cluster/dht/src/dht-messages.h
+++ b/xlators/cluster/dht/src/dht-messages.h
@@ -404,7 +404,7 @@
* @messageid 109033
* @diagnosis The specified subvolume is running out of disk space. If all
subvolumes run out of space, new files cannot be created.
- * @recommendedaction Consider adding more nodes to the cluster if all subvolumes
+ * @recommendedaction Consider adding more bricks to the cluster if all subvolumes
* run out of disk space.
*
*/