<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Helm&#039;s Technology Blog &#187; disks</title>
	<atom:link href="http://www.ihelm.org.uk/tag/disks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Thu, 29 Sep 2011 22:19:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Can&#8217;t create or edit a file &#8211; Linux &#8211; but have diskspace?</title>
		<link>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/</link>
		<comments>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:05:44 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[disks]]></category>
		<category><![CDATA[inode]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=127</guid>
		<description><![CDATA[Have you ever had a linux server or desktop which all of a sudden couldn't create a file - running "df -h" shows you your disk partitions aren't full?

You've logged in as root to check - and yup you still can't write any files - even a "touch test.txt" fails with a message saying can't write file - disk or partition full?]]></description>
			<content:encoded><![CDATA[<p>Have you ever had a linux server or desktop which all of a sudden couldn&#8217;t create a file &#8211; running &#8220;df -h&#8221; shows you your disk partitions aren&#8217;t full?</p>
<p>You&#8217;ve logged in as root to check &#8211; and yup you still can&#8217;t write any files &#8211; even a &#8220;touch test.txt&#8221; fails with a message saying can&#8217;t write file &#8211; disk or partition full?</p>
<p>You could be out of inodes! Linux stores file address information in inodes &#8211; and if you have a lot of very small files (or quite an oddly setup filesystem) you could be out of inodes&#8230;</p>
<p>How do you find out though?</p>
<p>just type in</p>
<p>&#8220;df -i&#8221; &#8211; same as the normal diskfree space command except it tells you inodes, if you have none left (or very few) you may not be able to create a new file (or edit it if your editor creates temporary lockfiles).</p>
<p>In a future blog I&#8217;ll go through how to resize the number of inodes available (primarily aimed at your temporary dev/shm space as this can suffer from the inode problem if you allocate more to it from a small size &#8211; the number of inodes is not increased so you can run out).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/05/cant-create-or-edit-a-file-linux-but-have-diskspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

