<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 31 January 2018 at 21:50, Freer, Eva B. <span dir="ltr"><<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="m_5682030792489354940WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">The values for shared-brick-count are still the same. I did not re-start the volume after setting the cluster.min-free-inodes to 6%. Do I need to restart it?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"><u></u> </span></p></div></div></blockquote><div>That is not necessary. Let me get back to you on this tomorrow.</div><div><br></div><div>Regards,</div><div>Nithya</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple"><div class="m_5682030792489354940WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Thanks,<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Eva (865) 574-6894</span><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>><br>
<b>Date: </b>Wednesday, January 31, 2018 at 11:14 AM<br>
<b>To: </b>Eva Freer <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>><br>
<b>Cc: </b>"Greene, Tami McFarlin" <<a href="mailto:greenet@ornl.gov" target="_blank">greenet@ornl.gov</a>>, "<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>" <<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>>, Amar Tumballi <<a href="mailto:atumball@redhat.com" target="_blank">atumball@redhat.com</a>></span></p><div><div class="h5"><br>
<b>Subject: </b>Re: [Gluster-users] df does not show full volume capacity after update to 3.12.4<u></u><u></u></div></div><p></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">On 31 January 2018 at 21:34, Freer, Eva B. <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">Nithya,</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">Responding to an earlier question: Before the upgrade, we were at 3.103 on these servers, but some of the clients were 3.7.6. From below, does this mean that “shared-brick-count” needs
to be set to 1 for all bricks.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">All of the bricks are on separate xfs partitions composed hardware of RAID 6 volumes. LVM is not used. The current setting for cluster.min-free-inodes was 5%. I changed it to 6% per
your instructions below. The df output is still the same, but I haven’t done the</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">
<i><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">find /var/lib/glusterd/vols -type f|xargs sed -i -e 's/option shared-brick-count [0-9]*/option shared-brick-count 1/g'</span></i><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">Should I go ahead and do this?</span><u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Can you check if the values have been changed in the .vol files before you try this? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">These files will be regenerated every time the volume is changed so changing them directly may not be permanent. I was hoping setting the cluster.min-free-inodes would have corrected this automatically and helped
us figure out what was happening as we have not managed to reproduce this issue yet. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">Output of stat –f for all the bricks:</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">[root@jacen ~]# stat -f /bricks/data_A*</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_A1"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 80100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250028064</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_A2"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 81100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 3653183901 Available: 3653183901</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250029262</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_A3"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 82100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 15134840607 Available: 15134840607</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250128031</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_A4"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 83100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 15626461604 Available: 15626461604</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250153857</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">[root@jaina dataeng]# stat -f /bricks/data_B*</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_B1"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 80100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 5689640723 Available: 5689640723</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250047934</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_B2"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 81100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 6623312785 Available: 6623312785</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250048131</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_B3"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 82100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 15106888485 Available: 15106888485</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250122139</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> File: "/bricks/data_B4"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black"> ID: 83100000000 Namelen: 255 Type: xfs</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Block size: 4096 Fundamental block size: 4096</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Blocks: Total: 15626471424 Free: 15626461604 Available: 15626461604</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Consolas",sans-serif;color:black">Inodes: Total: 1250159424 Free: 1250153857</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Thanks,</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Eva (865) 574-6894</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>><br>
<b>Date: </b>Wednesday, January 31, 2018 at 10:46 AM<br>
<b>To: </b>Eva Freer <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>>, "Greene, Tami McFarlin" <<a href="mailto:greenet@ornl.gov" target="_blank">greenet@ornl.gov</a>><br>
<b>Cc: </b>Amar Tumballi <<a href="mailto:atumball@redhat.com" target="_blank">atumball@redhat.com</a>></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><br>
<b>Subject: </b>Re: [Gluster-users] df does not show full volume capacity after update to 3.12.4<u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Thank you Eva. <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
>From the files you sent:<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jacen.bricks-data_A1-<wbr>dataeng.vol: option shared-brick-count 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jacen.bricks-data_A2-<wbr>dataeng.vol: option shared-brick-count 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jacen.bricks-data_A3-<wbr>dataeng.vol: option shared-brick-count 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jacen.bricks-data_A4-<wbr>dataeng.vol: option shared-brick-count 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jaina.bricks-data_B1-<wbr>dataeng.vol: option shared-brick-count 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jaina.bricks-data_B2-<wbr>dataeng.vol: option shared-brick-count 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jaina.bricks-data_B3-<wbr>dataeng.vol: option shared-brick-count 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
dataeng.jaina.bricks-data_B4-<wbr>dataeng.vol: option shared-brick-count 0<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Are all of these bricks on separate Filesystem partitions? If yes, can you please try running the following on one of the gluster nodes and see if the df output works post that?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
gluster v set dataeng cluster.min-free-inodes 6%<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
If it doesn;t work, please send us the stat -f output for each brick.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Nithya<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
On 31 January 2018 at 20:41, Freer, Eva B. <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">Nithya,</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5">The file for one of the servers is attached.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Thanks,</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#4472c4">Eva (865) 574-6894</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.5in">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>><br>
<b>Date: </b>Wednesday, January 31, 2018 at 1:17 AM<br>
<b>To: </b>Eva Freer <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>><br>
<b>Cc: </b>"<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>" <<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>>, "Greene, Tami McFarlin" <<a href="mailto:greenet@ornl.gov" target="_blank">greenet@ornl.gov</a>><br>
<b>Subject: </b>Re: [Gluster-users] df does not show full volume capacity after update to 3.12.4</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
I found this on the mailing list: <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<i><span style="font-size:9.5pt">I found the issue.<br>
<br>
The CentOS 7 RPMs, upon upgrade, modifies the .vol files. Among other things, it adds "option shared-brick-count \d", using the number of bricks in the volume.<br>
<br>
This gives you an average free space per brick, instead of total free space in the volume.<br>
<br>
When I create a new volume, the value of "shared-brick-count" is "1".<br>
<br>
find /var/lib/glusterd/vols -type f|xargs sed -i -e 's/option shared-brick-count [0-9]*/option shared-brick-count 1/g'</span></i><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:9.5pt">Eva, can you send me the contents of the /var/lib/glusterd/<volname> folder from any one node so I can confirm if this is the problem?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:9.5pt">Regards,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:9.5pt">Nithya</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
On 31 January 2018 at 10:47, Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Hi Eva, <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
One more question. What version of gluster were you running before the upgrade?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Nithya<u></u><u></u></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
On 31 January 2018 at 09:52, Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Hi Eva, <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Can you send us the following:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
gluster volume info<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
gluster volume status<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
The log files and tcpdump for df on a fresh mount point for that volume.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
Nithya<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
On 31 January 2018 at 07:17, Freer, Eva B. <<a href="mailto:freereb@ornl.gov" target="_blank">freereb@ornl.gov</a>> wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">After OS update to CentOS 7.4 or RedHat 6.9 and update to Gluster 3.12.4, the ‘df’ command shows only part of the available space on the mount point for multi-brick volumes. All nodes are at 3.12.4.
This occurs on both servers and clients. </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">We have 2 different server configurations.
</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">Configuration 1: A distributed volume of 8 bricks with 4 on each server. The initial configuration had 4 bricks of 59TB each with 2 on each server. Prior to the update to CentOS 7.4 and gluster 3.12.4,
‘df’ correctly showed the size for the volume as 233TB. After the update, we added 2 bricks with 1 on each server, but the output of ‘df’ still only listed 233TB for the volume. We added 2 more bricks, again with 1 on each server. The output of ‘df’ now shows
350TB, but the aggregate of 8 – 59TB bricks should be ~466TB.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">Configuration 2: A distributed, replicated volume with 9 bricks on each server for a total of ~350TB of storage. After the server update to RHEL 6.9 and gluster 3.12.4, the volume now shows as having
50TB with ‘df’. No changes were made to this volume after the update.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">In both cases, examining the bricks shows that the space and files are still there, just not reported correctly with ‘df’. All machines have been rebooted and the problem persists.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#2e74b5">Any help/advice you can give on this would be greatly appreciated.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#4472c4"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#4472c4">Thanks in advance.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:1.5in">
<span style="font-family:"Tahoma",sans-serif;color:#4472c4">Eva Freer</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.5in">
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:1.5in">
<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:1.0in">
<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>