<div dir="ltr">An hour of googling didn&#39;t turn up the answer, so I&#39;ll ask here: do you know about when the linux kernel changed to enable inode64 by default?  I haven&#39;t run into the issue Pat had, but I don&#39;t want to! <div>
<br></div><div>I wish inode64 use were reported by xfs_info or something.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 10:57 AM, Brian Foster <span dir="ltr">&lt;<a href="mailto:bfoster@redhat.com" target="_blank">bfoster@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/06/2014 11:25 AM, Pat Haley wrote:<br>
&gt;<br>
&gt; Hi Brian,<br>
&gt;<br>
</div><div class="im">&gt; gluster-0-1 did not recognize the delaylog option,<br>
&gt; but when I mounted the disk with nobarrier,inode64<br>
&gt; I was able to write to the disk both directly<br>
&gt; and from a client through gluster.<br>
&gt;<br>
&gt; Assuming inode64 was the key, was the problem<br>
&gt; that XFS could not address the inodes withour<br>
&gt; 64 bit representation?  Just curious.<br>
&gt;<br>
&gt; Problem solved!  Thanks!<br>
&gt;<br>
<br>
</div>Oh, ok. That&#39;s good to hear. inode64 tends to slip my mind because it&#39;s<br>
fairly standard at this point. It&#39;s enabled by default on more recent<br>
kernels.<br>
<br>
Effectively, the problem is as you describe. Without inode64 support,<br>
inodes are restricted to the first 1TB of fs space. With inode64<br>
enabled, the fs can allocate new inode chunks throughout the disk, so<br>
long as there is enough contiguous space. See the following:<br>
<br>
<a href="http://xfs.org/index.php/XFS_FAQ#Q:_What_is_the_inode64_mount_option_for.3F" target="_blank">http://xfs.org/index.php/XFS_FAQ#Q:_What_is_the_inode64_mount_option_for.3F</a><br>
<br>
FWIW, I wouldn&#39;t continue using the nobarrier option unless you know<br>
what you&#39;re doing and you can safely run with barriers disabled (see the<br>
same FAQ linked above for information on barrier support). It is<br>
completely unrelated to this particular problem.<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt; Pat<br>
&gt;<br>
&gt;<br>
&gt;&gt; On 02/05/2014 03:39 PM, Pat Haley wrote:<br>
&gt;&gt;&gt; Hi Brian,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I tried both just using touch to create<br>
&gt;&gt;&gt; an empty file and copying a small (&lt;1kb)<br>
&gt;&gt;&gt; file.  Neither worked.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Note: currently the disk served by gluster-0-1<br>
&gt;&gt;&gt; is mounted as<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; /dev/sdb1               /mseas-data-0-1         xfs<br>
&gt;&gt;&gt; defaults        1 0<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have received some advice to change the mount<br>
&gt;&gt;&gt; to  nobarrier,inode64,delaylog<br>
&gt;&gt;&gt; Would this be compatible with gluster?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; That suggests XFS cannot allocate more inodes. inode64 is worth a try if<br>
&gt;&gt; that is not currently enabled. I don&#39;t think it should make a difference<br>
&gt;&gt; for gluster. The other options are unrelated and should have no effect.<br>
&gt;&gt;<br>
&gt;&gt; Brian<br>
&gt;&gt;<br>
&gt;&gt;&gt; Pat<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 02/04/2014 02:14 PM, Jeff Darcy wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; I tried to &quot;go behind&quot; gluster and directly<br>
&gt;&gt;&gt;&gt;&gt;&gt; write a file to the nfs filesystem on gluster-0-1.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; If I try to write to /mseas-data-0-1 (the file<br>
&gt;&gt;&gt;&gt;&gt;&gt; space served by gluster-0-1) directly I still<br>
&gt;&gt;&gt;&gt;&gt;&gt; get the &quot;No space left on device&quot; error.<br>
&gt;&gt;&gt;&gt;&gt;&gt; (df -h still shows 784G on that disk)<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Are you writing to an existing file or attempting to create a new one?<br>
&gt;&gt;&gt;&gt; Can you simply create a new, empty file on your backend (i.e., touch<br>
&gt;&gt;&gt;&gt; mynewfile)?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Brian<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; If I try to write to the system disk<br>
&gt;&gt;&gt;&gt;&gt;&gt; (the only other area) there is no problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I don&#39;t have any portion of the disk served by<br>
&gt;&gt;&gt;&gt;&gt;&gt; gluster-0-1 that is not under gluster, so I<br>
&gt;&gt;&gt;&gt;&gt;&gt; can&#39;t try to write to a non-gluster portion of<br>
&gt;&gt;&gt;&gt;&gt;&gt; the disk.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Does this suggest anything?<br>
&gt;&gt;&gt;&gt;&gt; Quota limit?<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; Gluster-users mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Justin Dossey<br>CTO, PodOmatic<div><br></div>
</div>