<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Troubleshooting: &quot;du: fts_read: No such file or directory&quot; error</title>
	<atom:link href="http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/</link>
	<description>Learn UNIX</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrew Gascoyne</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-6761</link>
		<dc:creator>Andrew Gascoyne</dc:creator>
		<pubDate>Thu, 26 Nov 2009 09:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-6761</guid>
		<description>Hi 

I simply ran a quick ls of the directory I had the eror on then ran the du without error.

I think it&#039;s similar to not being able to stat a directory as the filesystem doesn&#039;t recognise it as being properly mounted.</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I simply ran a quick ls of the directory I had the eror on then ran the du without error.</p>
<p>I think it's similar to not being able to stat a directory as the filesystem doesn't recognise it as being properly mounted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vovets</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-5620</link>
		<dc:creator>vovets</dc:creator>
		<pubDate>Thu, 23 Jul 2009 14:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-5620</guid>
		<description>Solaris now default filesystem zfs is said to have &quot;snapshots&quot; feature. So you can make snapshot and then use du on the snapshot rather than on the original dataset. That will guarantee that file structure won&#039;t chage while du&#039;ll be running.</description>
		<content:encoded><![CDATA[<p>Solaris now default filesystem zfs is said to have "snapshots" feature. So you can make snapshot and then use du on the snapshot rather than on the original dataset. That will guarantee that file structure won't chage while du'll be running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-2059</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Thu, 26 Feb 2009 15:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-2059</guid>
		<description>We don&#039;t use much of it, but if I understand the technology correctly (at least in NetApps), inodes are still used for each of the files. When you&#039;re removing duplicated data, you get rid of inode and get rid of references to the original data blocks, that&#039;s all</description>
		<content:encoded><![CDATA[<p>We don't use much of it, but if I understand the technology correctly (at least in NetApps), inodes are still used for each of the files. When you're removing duplicated data, you get rid of inode and get rid of references to the original data blocks, that's all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Simmons</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-2058</link>
		<dc:creator>Matt Simmons</dc:creator>
		<pubDate>Thu, 26 Feb 2009 15:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-2058</guid>
		<description>Are you using data dedup? I&#039;ve always wondered how it handled inode mapping...</description>
		<content:encoded><![CDATA[<p>Are you using data dedup? I've always wondered how it handled inode mapping&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-2054</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Thu, 26 Feb 2009 13:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-2054</guid>
		<description>Thanks for your comment!

Yes, for the data sets I personally manage, I lean towards identifying the really specific subdirs rather than looking at the du of a parent directory. 

Great point about df, it&#039;s even more twisted in my case because I&#039;ll be looking at the df/inode counts returned by the filer behind the data, and not the client-side df.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment!</p>
<p>Yes, for the data sets I personally manage, I lean towards identifying the really specific subdirs rather than looking at the du of a parent directory. </p>
<p>Great point about df, it's even more twisted in my case because I'll be looking at the df/inode counts returned by the filer behind the data, and not the client-side df.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Simmons</title>
		<link>http://www.unixtutorial.org/2009/02/troubleshooting-du-fts_read-no-such-file-or-directory-error/comment-page-1/#comment-2053</link>
		<dc:creator>Matt Simmons</dc:creator>
		<pubDate>Thu, 26 Feb 2009 13:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=469#comment-2053</guid>
		<description>Great detective work. 

I&#039;ve got this problem as well. One of my SAN arrays houses a 600GB directory with 1.2mil files (at last count). It takes a while to run du ;-)

I think that the solution to this problem is adminstrative rather than technical. As you mentioned, it&#039;s possible to run du on subdirectories rather than the big directory. Beyond that, it&#039;s actually preferable. 

By running du on there subdirs you can monitor their growth discretely rather than in a lump. This allows you to work on specific causes. 

I&#039;ve gotten to the point that I only run du on a couple of giant sub directories. I then take their sum and compare it to the results of &#039;df&#039; and only look into the problem if there&#039;s a large disparity. 

If you use this method, remember that du and df will return different numbers due to df checking free inodes and du counting the space used by the files it finds. The difference being that air a file is deleted while it is still open, the file disappears from the directory listing but the inodes don&#039;t get freed until the process releases them. 

Great post. I&#039;ll link to it as soon as I&#039;m off the train. 

--Matt</description>
		<content:encoded><![CDATA[<p>Great detective work. </p>
<p>I've got this problem as well. One of my SAN arrays houses a 600GB directory with 1.2mil files (at last count). It takes a while to run du <img src='http://unixtutorial.s3.amazonaws.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I think that the solution to this problem is adminstrative rather than technical. As you mentioned, it's possible to run du on subdirectories rather than the big directory. Beyond that, it's actually preferable. </p>
<p>By running du on there subdirs you can monitor their growth discretely rather than in a lump. This allows you to work on specific causes. </p>
<p>I've gotten to the point that I only run du on a couple of giant sub directories. I then take their sum and compare it to the results of 'df' and only look into the problem if there's a large disparity. </p>
<p>If you use this method, remember that du and df will return different numbers due to df checking free inodes and du counting the space used by the files it finds. The difference being that air a file is deleted while it is still open, the file disappears from the directory listing but the inodes don't get freed until the process releases them. </p>
<p>Great post. I'll link to it as soon as I'm off the train. </p>
<p>&#8211;Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/11 queries in 0.004 seconds using disk: basic
Object Caching 355/356 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: unixtutorial.s3.amazonaws.com

Served from: www.unixtutorial.org @ 2012-02-08 01:30:30 -->
