<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Eric Sandeen &lt;sandeen@sandeen.net&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Adam Donald &lt;Adam.Donald@gencopharma.com&gt;</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">xfs@oss.sgi.com</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">06/29/2009 02:39 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: Correct usage of inode64/running
out of inodes</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Adam Donald wrote:<br>
&gt; <br>
&gt; Hello<br>
&gt; <br>
&gt; In short, I believe that I have used the indode64 option correctly
in<br>
&gt; mounting my XFS device on my Centos 5.2 system, however, I seem to
only<br>
&gt; have 59 free inodes available and 7.5TB of free space. &nbsp;I would<br>
&gt; appreciate any insight as to what the best approach would be to fix
this<br>
&gt; situation. &nbsp;In case it is helpful, I have included output from
various<br>
&gt; commands/files below, the XFS device in question is<br>
&gt; /dev/mapper/VolGroup01-DATA01. &nbsp;Thank you in advance for your
assistance!<br>
<br>
It all looks sane to me; what are the actual symptoms of the problem<br>
You can create 59 files and then -ENOSPC? &nbsp;Any kernel messages?<br>
<br>
Maybe this is a bug in the old xfs code in the centos module... though
I<br>
don't remember such a bug right now.s<br>
<br>
-Eric<br>
<br>
&gt; uname:<br>
&gt; Linux NAS01 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008
x86_64<br>
&gt; x86_64 x86_64 GNU/Linux<br>
&gt; <br>
&gt; df -h:<br>
&gt; Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted
on<br>
&gt; /dev/mapper/VolGroup00-LogVol00 &nbsp; &nbsp; &nbsp; &nbsp;71G &nbsp;
12G &nbsp; 55G &nbsp;18% /<br>
&gt; /dev/sda1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;99M &nbsp; 25M &nbsp; 70M
&nbsp;26% /boot<br>
&gt; tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.9G &nbsp; &nbsp; 0 &nbsp;3.9G
&nbsp; 0% /dev/shm<br>
&gt; /dev/mapper/VolGroup01-DATA01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;18T
&nbsp;9.9T &nbsp;7.5T &nbsp;57% /DATA01<br>
&gt; <br>
&gt; df -ih:<br>
&gt; Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Inodes &nbsp; IUsed &nbsp; IFree IUse%
Mounted on<br>
&gt; /dev/mapper/VolGroup00-LogVol00 &nbsp; &nbsp; &nbsp; &nbsp;19M &nbsp;
&nbsp;123K &nbsp; &nbsp; 19M &nbsp; &nbsp;1% /<br>
&gt; /dev/sda1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;26K &nbsp; &nbsp; &nbsp;44
&nbsp; &nbsp; 26K &nbsp; &nbsp;1% /boot<br>
&gt; tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 999K &nbsp; &nbsp; &nbsp;
1 &nbsp; &nbsp;999K &nbsp; &nbsp;1% /dev/shm<br>
&gt; /dev/mapper/VolGroup01-DATA01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;18G
&nbsp; &nbsp;297K &nbsp; &nbsp; 18G &nbsp; &nbsp;1% /DATA01<br>
&gt; <br>
&gt; mount:<br>
&gt; ...<br>
&gt; /dev/mapper/VolGroup01-DATA01 on /DATA01 type xfs (rw,inode64)<br>
&gt; ...<br>
&gt; <br>
&gt; fstab:<br>
&gt; ...<br>
&gt; /dev/VolGroup01/DATA01 &nbsp;/DATA01 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; xfs &nbsp; &nbsp;<br>
&gt; rw,suid,dev,exec,auto,nouser,async,inode64 &nbsp; &nbsp; &nbsp;1 0<br>
&gt; ...<br>
</font></tt>
<br><tt><font size=2>Thank you for your response. &nbsp;To be honest, I
only ran out of &quot;space&quot; (inodes) once on this volume a month
or so ago, and I recall receiving a ENOSPC type error at that time. &nbsp;At
the time I received out of space errors I found the xfs_db command and
have since started to monitor the ifree value, deleting files when I felt
that ifree was dipping too low, as I was unable to apply the inode64 option
without first taking down various production systems. &nbsp;When the time
came this past weekend to apply the inode64 option, I was expecting the
ifree option value to shoot up dramatically (several hundred, perhaps),
and instead the ifree value remained unaffected, the same as mounting the
volume without the inode64 option. &nbsp;</font></tt>
<br>
<br><tt><font size=2>Given the fact that I have this volume mounted with
the inode64 option, have roughly 7.5TB free, and show ifree with a double
digit number (currently 30 on our system), is there a an inconsistency
between the total amount of free space available and the number of free
inodes available?</font></tt>
<br>
<br><tt><font size=2>Thanks again for the input, I appreciate it!</font></tt>
<br>
<br>
<br><tt><font size=2>AD</font></tt>
<br>

<BR>
______________________________________________________________________<BR>
This email has been scanned by the MessageLabs Email Security System.<BR>
For more information please visit http://www.messagelabs.com/email <BR>
______________________________________________________________________<BR>