From 8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15 Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Fri, 13 Mar 2015 19:39:13 +0530 Subject: dht: suggest to add more bricks when min-free-disk is exceeded. Change-Id: I628fbd99c2478fcb8bb6e5be55e43467f25227bf BUG: 1165870 Signed-off-by: Humble Devassy Chirammal Reviewed-on: http://review.gluster.org/9879 Tested-by: Gluster Build System Reviewed-by: Lalatendu Mohanty Reviewed-by: Kaleb KEITHLEY --- xlators/cluster/dht/src/dht-diskusage.c | 4 ++-- xlators/cluster/dht/src/dht-messages.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/cluster') 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. * */ -- cgit