diff options
author | Humble Devassy Chirammal <hchiramm@redhat.com> | 2015-03-13 19:39:13 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-03-18 04:33:01 -0700 |
commit | 8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15 (patch) | |
tree | 173dc89f0466f561ad36bd9d468c8bd7fdd59456 /xlators/cluster/dht/src/dht-diskusage.c | |
parent | bf16d438237166c9379b8388a1be71b2dec4dd4d (diff) | |
download | glusterfs-8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15.tar.gz glusterfs-8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15.tar.xz glusterfs-8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15.zip |
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/dht/src/dht-diskusage.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-diskusage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index a2dc43c32a..621c613d08 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)); } |