<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>The block count in the xattr doesn't amount to 16GB of used space.<br></div><div><br></div><div>Is this consistently reproducible? If it is, then could you share the steps? That would help me recreate this in-house and debug it.<br></div><div><br></div><div>-Krutika<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Lindsay Mathieson" &lt;lindsay.mathieson@gmail.com&gt;<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>Cc: </b>"gluster-users" &lt;gluster-users@gluster.org&gt;<br><b>Sent: </b>Tuesday, November 3, 2015 5:16:52 PM<br><b>Subject: </b>Re: [Gluster-users] Shard file size (gluster 3.7.5)<br><div><br></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2015 at 21:06, Krutika Dhananjay <span dir="ltr">&lt;<a href="mailto:kdhananj@redhat.com" target="_blank" data-mce-href="mailto:kdhananj@redhat.com">kdhananj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" data-mce-style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div>OK. Could you share the xattr values of this image file?<br></div><div># getfattr -d -m . -e hex &lt;path-to-the-file-in-the-backend&gt;<br></div><div><br></div></blockquote></div><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><br>gluster volume set datastore3 performance.strict-write-ordering on<br></span></span><div><br></div><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"># rsync file to gluster mount<br></span></span><div><br></div><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"># Size matches src file<br>ls -l vm-301-disk-1.qcow2<br>-rw-r--r-- 1 root root 27746172928 Nov&nbsp; 3 21:40 vm-301-disk-1.qcow2<br></span></span><div><br></div><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"># Disk usage size is way to small, should be around 16GB<br>du vm-301-disk-1.qcow2<br>390730&nbsp; vm-301-disk-1.qcow2<br></span></span><div><br></div><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"><span style="font-family:monospace,monospace" data-mce-style="font-family: monospace,monospace;"># Attributes of backend file<br>&nbsp;getfattr -d -m . -e hex /glusterdata/datastore3/images/301/vm-301-disk-1.qcow2<br>getfattr: Removing leading '/' from absolute path names<br># file: glusterdata/datastore3/images/301/vm-301-disk-1.qcow2<br>trusted.afr.dirty=0x000000000000000000000000<br>trusted.bit-rot.version=0x020000000000000056386f9400013a25<br>trusted.gfid=0xc633865ef6ca4010a47cfc80d6c35331<br>trusted.glusterfs.shard.block-size=0x0000000010000000<br>trusted.glusterfs.shard.file-size=0x0000000675cd0000000000000000000000000000000bec940000000000000000<br></span></span><div><br></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Lindsay</div></div></div></blockquote><div><br></div></div></body></html>