<?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>Lindesk &#187; fat32</title>
	<atom:link href="http://lindesk.com/tag/fat32/feed/" rel="self" type="application/rss+xml" />
	<link>http://lindesk.com</link>
	<description>Linux - on the Desktop</description>
	<lastBuildDate>Tue, 23 Jun 2009 14:03:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recovering Deleted Data in Linux Ext3 Filesystem: Use Trash Can</title>
		<link>http://lindesk.com/2009/01/recovering-deleted-data-linux-ext3-filesystem-use-trash-can/</link>
		<comments>http://lindesk.com/2009/01/recovering-deleted-data-linux-ext3-filesystem-use-trash-can/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 18:25:09 +0000</pubDate>
		<dc:creator>BinnyVA</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[fat32]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[trash]]></category>

		<guid isPermaLink="false">http://lindesk.com/?p=170</guid>
		<description><![CDATA[As most of you know, <strong class="highlight">Ext3 file system don't have to be defragmented</strong> like the FAT32 or NTFS file systems. This is a nice feature - but this has a bad side effect as well. You <strong class="highlight">cannot recover deleted files</strong>. This is a good trade-off in a server environment. Its not practical to run a defragmenter on a live server. It might take hours to complete - and disk access will not be allowed in that time. And most server environment have very strong backup mechanisms - so data recovery is not a big issue. But <strong class="highlight">when it comes to the desktop environment, this is a very Bad Thing</strong>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://lindesk.com/wp-content/uploads/2009/01/trashcan.png" alt="Deleting Files to the Trash" title="Deleting Files to the Trash" width="128" height="128" class="alignnone size-full wp-image-171 intro" align="right" /></p>
<p class="intro">As most of you know, <strong class="highlight">Ext3 file system don&#8217;t have to be defragmented</strong> like the FAT32 or NTFS file systems. This is a nice feature &#8211; but this has a bad side effect as well. You <strong class="highlight">cannot recover deleted files</strong>. This is a good trade-off in a server environment. Its not practical to run a defragmenter on a live server. It might take hours to complete &#8211; and disk access will not be allowed in that time. And most server environment have very strong backup mechanisms &#8211; so data recovery is not a big issue. But <strong class="highlight">when it comes to the desktop environment, this is a very Bad Thing</strong>.</p>
<p>From a desktop user perspective, it is not a huge deal to run a defragmenter once in a while. I used to do it once every month or so when I was on windows. But <strong class="highlight">accidental deletion is a huge problem</strong> as most desktop users don&#8217;t have a very strong backup system in place.</p>
<p>In Windows(FAT32 or NTFS) if you want a deleted file back, there are file recovery software available that might recover the file. There is a good chance of getting back the file in one piece if you try to recover the file soon. But this is not possible in Ext3 &#8211; the way the file system is designed makes it next to impossible. This is because the <strong class="highlight">file system will overwrite the deleted portions &#8211; to prevent fragmentation of files</strong>. The advantage of this method is that fragmentation will be avoided. The disadvantage is, well, you will not be able to recover deleted files.</p>
<h2>Solution: The Trash</h2>
<p>There is a very simple solution to this problem &#8211; but it is something no self respecting geek will use. The Recycle Bin. <strong class="highlight">The Trash Can. Use it</strong>.</p>
<p>The problem is I have not seen anyone other than total newbies delete files into the Trash. Most people I know use the Shift+Delete shortcut to delete. I use a slightly different shortcut &#8211; Shift+Delete, Enter. That means I don&#8217;t even see the deletion confirmation prompt. And <strikethrough>if</strikethrough> when I delete something important, the only thing left to do is cry.</p>
<p>I have <a href="http://lindesk.com/2008/06/perl-script-to-backup-mysql-databases/">several</a> <a href="http://lindesk.com/2008/05/shell-script-to-backup-files-locally-using-rsync/">backup systems</a> <a href="http://lindesk.com/2008/06/script-to-backup-files-over-a-network-using-rsync/">in place</a> &#8211; but you know the Murphy&#8217;s law when in comes to backups&#8230;</p>
<blockquote><p>You have a backup of everything &#8211; except the file that was deleted</p>
</blockquote>
<p>So, <strong class="highlight">start using the Trash &#8211; do a delete instead of a shift+delete</strong>. I would advice removing the confirmation dialog on the delete action to make it go faster. You can do it easily in Konquorer&#8230;</p>
<ul>
<li>Open Konquorer</li>
<li>Setting &gt; Configure Konquorer&#8230;</li>
<li>Behavior &gt; Ask Confirmation For</li>
<li>Make sure the &#8216;Move to trash&#8217; checkbox is turned off.</li>
</ul>
<p>I am sure this is possible in Nautilus as well &#8211; but I am not sure how to do it. If any of my readers is a gnome user, please post a comment on how to do it.</p>
<p>One last thing &#8211; remember to clean the trash once every two days or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://lindesk.com/2009/01/recovering-deleted-data-linux-ext3-filesystem-use-trash-can/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
