<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I have a question regarding total volume size of a mounted
GlusterFS volume. At least in a simple replicated volume (2x1) the
size of the volume is the one of the smallest brick. We can extend
it live by extending the corresponding bricks, and the GLusterFS
volume will immediately appear bigger, up to the size of the
smallest brick.</p>
<p>Now, I had a problem on my setup, long story short, an LVM bug
has forcibly unmounted the volumes on which my bricks are running,
while gluster was being used. The problem is that instead of
having a 8TB file system mounted on /mnt/bricks/vmstore the server
suddently found an empty /mnt/bricks/vmstore pointing on / of this
server (20GB)</p>
<p>After 3 hours during which Gluster complained about missing files
on node1 (but continuing to serve files from node2 transparently),
it decided to start healing from the correct node to this empty
/mnt/bricks/vmstore on the failed node. Except that, doing this,
it suddently reduced the total size of the (mounted, and used)
volume from 8TB to 20GB. No need to say the VM using it didn't
liked it.</p>
<p>Now, my question is: is there a way to prevent GlusterFS to
automatically reduce the total size of the volume ? In this case,
I would have liked the failing node to be prevented from healing,
as it was only 20GB but the volume was 8TB (out of which ~5.5TB
was used)</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Daniel<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<table>
<tbody>
<tr>
<td>
<p> <img
src="http://www.firewall-services.com/media/image/signature_mail_fws.png"
alt="Logo FWS" width="275"> </p>
</td>
<td> <font size="2" face="Verdana, Geneva, sans-serif"> <strong>Daniel
Berteaud</strong><br>
<br>
FIREWALL-SERVICES SAS.<br>
Société de Services en Logiciels Libres<br>
Tel : <a
style="color:#00001f;background-color:#ffffdf;-moz-border-radius:3px;cursor:pointer"
title="Utiliser comme numéro" class="telified"
pattcc="+33" nr="0556641532" href="tel:0556641532">05
56 64 15 32</a><br>
Matrix: @dani:fws.fr<br>
<em><a class="moz-txt-link-abbreviated" href="http://www.firewall-services.com">www.firewall-services.com</a></em> </font> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>