<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Stephen Foskett, Pack Rat &#187; NTFS Archives  &#8211; Stephen Foskett, Pack Rat</title>
	<atom:link href="http://blog.fosketts.net/tag/ntfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fosketts.net</link>
	<description>Understanding the accumulation of data</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>Microsoft Adds Data Deduplication to NTFS in Windows 8</title>
		<link>http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/</link>
		<comments>http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 21:59:06 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Gestalt IT]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[data deduplication]]></category>
		<category><![CDATA[deduplication]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[I/O]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Rick Vanover]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=6475</guid>
		<description><![CDATA[The next version of Microsoft Windows Server includes integrated data deduplication technology. Microsoft is positioning this as a boon for server virtualization and claims it has very little performance impact. But how exactly does Microsoft's de-duplication technology work?]]></description>
			<content:encoded><![CDATA[<div id="attachment_6628" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://static.fosketts.net/wp-content/uploads/2012/01/Microsoft-Windows-8-Dedupe-Stack.jpg" ><img class="size-medium wp-image-6628 " title="Microsoft Windows 8 Dedupe Stack" src="http://static.fosketts.net/wp-content/uploads/2012/01/Microsoft-Windows-8-Dedupe-Stack-300x225.jpg" alt="" width="300" height="225" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Windows 8 server editions will include a filter driver for NTFS for data deduplication</p></div>
<p>The next version of Microsoft Windows Server includes <strong>integrated data deduplication technology</strong>. Microsoft is positioning this as a boon for server virtualization and claims it has very little performance impact. But how exactly does Microsoft&#8217;s de-duplication technology work?</p>
<h3>Introducing Windows 8 Deduplication</h3>
<p>Let&#8217;s make one thing clear right from the start: Microsoft started from a clean sheet and invented their own deduplication technology. This is not a licensed, cloned, or copied feature as far as I can tell. There are some clever aspects to it, along with a few head scratchers for folks like me who&#8217;ve seen lots of different deduplication approaches.</p>
<p><strong>Microsoft&#8217;s deduplication is layered onto NTFS in Windows 8</strong>, and will be a feature add-on for Server users. It is implemented as a filter driver on a per volume basis, with each volume a complete, self describing unit. It is cluster aware, and fully crash consistent on all operations. This is a pretty neat trick: As is typical for Microsoft, deduplication will be a simple, transparent feature.</p>
<p>Now let&#8217;s talk for a moment about what Windows 8 deduplication is not.</p>
<ul>
<li>It is a <strong>server-only</strong> feature, like so many of Microsoft&#8217;s storage developments. But perhaps we might see it deployed in low-end or home servers in the future.</li>
<li>It is <strong>not supported on boot or system volumes</strong>.</li>
<li>Although it should work just fine on removable drives, <strong>deduplication requires NTFS</strong> so you can forget about FAT or exFAT. And of course the connected system must be running a server edition of Windows 8.</li>
<li>Although <strong>deduplication does not work with clustered shared volumes</strong>, it is supported in Hyper-V configurations that do not use CSV.</li>
<li>Finally, deduplication does not function on encrypted files, files with extended attributes, tiny (less than 64 kB) files, or re-parse points.</li>
</ul>
<h3>Some Technical Details on Deduplication in Windows 8</h3>
<p>Microsoft Research spent 2 years experimenting with algorithms to find the &#8220;cheapest&#8221; in terms of overhead. <strong>They select a chunk size  for each data set</strong>. This is typically between 32 KB and 128 KB, but smaller chunks can be created as well. Microsoft claims that most real-world use cases are about 80 KB. The system processes all the data looking for &#8220;fingerprints&#8221; of split points and selects the &#8220;best&#8221; on the fly for each file.</p>
<p>After data is de-duplicated, Microsoft compresses the chunks and stores them in a special &#8220;chunk store&#8221; within NTFS. This is actually  part of the System Volume store in the root of the volume, so dedupe is volume-level. The entire setup is self describing, so a deduplication NTFS volume can be read by another server without any external data.</p>
<p>There is some redundancy in the system as well. Any chunk that is referenced more than x times (100 by default) will be kept in a second location. All data in the filesystem is checksummed and will be proactively repaired. The same is done for the metadata. The deduplication service includes a scrubbing job as well as a file system optimization task to keep everything running smoothly.</p>
<p>Windows 8 deduplication cooperates with other elements of the operating system. <strong>The Windows caching layer is dedupe-aware</strong>, and this will greatly accelerate overall performance. Windows 8 also includes a new &#8220;express&#8221; library that makes compression &#8220;20 times faster&#8221;. Compressed files are not re-compressed based on filetype, so zip files, Office 2007+ files, etc will be skipped and just deduped.</p>
<p>New writes are not deduped &#8211; <strong>this is a post-process technology</strong>. The data deduplication service can be scheduled or can run in &#8220;background mode&#8221; and wait for idle time. Therefore, I/O impact is between &#8220;none and 2x&#8221; depending on type. Opening a file is less than 3% greater I/O and can be faster if it&#8217;s cached. Copying a large file can make some difference (e.g. 10 GB VHD) since it adds additional disk seeks, but multiple concurrent copies that share data can actually improve performance.</p>
<h3>Stephen&#8217;s Stance</h3>
<p>Although I am intrigued by Microsoft&#8217;s new deduplication technology in Windows 8 server, I still have many questions about its usefulness and impact on performance. Concentrating duplicate data in the system volume makes sense from a technical perspective, but could lead to an I/O hotspot on the disk. This is especially true for external caching storage systems, since there is no integration between Microsoft deduplication and storage array features. I am particularly concerned about the use of deduplication with VHD files in Hyper-V, since it could eat up valuable system RAM and impact I/O performance.</p>
<p>If you would like to try Microsoft deduplication for yourself, I am happy to report that it is included in <a rel="nofollow" href="http://msdn.microsoft.com/en-us/windows/br229518" >the developer preview of Windows 8 that is available on Dev Center</a>. Here are <a rel="nofollow" href="http://social.msdn.microsoft.com/Forums/zh/windowsdeveloperpreviewgeneral/thread/3f601771-1400-47c4-9aec-bb9bc45b2d85" >a few commands</a> to get you started, and read <a href="http://www.techrepublic.com/blog/networking/configuring-windows-server-8-deduplication/4918" >Rick Vanover&#8217;s post</a> too!</p>
<pre>Import-Module ServerManager
Add-WindowsFeature -name FS-Data-Deduplication
Import-Module Deduplication
Enable-DedupVolume E:
get-dedupvolume</pre>
<blockquote><p>Note: I am a Microsoft MVP and Microsoft briefs me on upcoming technologies under NDA. This post is based on a Microsoft briefing from November which was said at the time not to be covered by any NDA. All of this information could be gleaned by experimenting with the Windows 8 developer preview, but it&#8217;s much easier to just go to the source.</p></blockquote>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2009/05/05/windows-storage-server-2008/"  rel="bookmark" class="crp_title">I Can Finally Talk About Windows Storage Server 2008!</a></li><li><a href="http://blog.fosketts.net/2008/09/25/deduplication-ready-prime-time/"  rel="bookmark" class="crp_title">Is Deduplication Ready for Prime Time?</a></li><li><a href="http://blog.fosketts.net/2008/08/19/windows-7-server-windows-server-2008-r2/"  rel="bookmark" class="crp_title">Windows 7 Server == Windows Server 2008 R2</a></li><li><a href="http://blog.fosketts.net/2009/05/27/windows-7-hands/"  rel="bookmark" class="crp_title">Windows 7 Is Here! In My Hands! But Why 8 DVDs?</a></li><li><a href="http://blog.fosketts.net/2008/09/16/deduplication-primary-storage/"  rel="bookmark" class="crp_title">Deduplication Coming to Primary Storage</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2012. |
<a href="http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/">Microsoft Adds Data Deduplication to NTFS in Windows 8</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</a>, <a href="http://blog.fosketts.net/category/gestaltit/" title="View all posts in Gestalt IT" rel="category tag">Gestalt IT</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Back From the Pile: Interesting Links, January 7, 2011</title>
		<link>http://blog.fosketts.net/2011/01/07/pile-interesting-links-january-7-2011/</link>
		<comments>http://blog.fosketts.net/2011/01/07/pile-interesting-links-january-7-2011/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 18:59:32 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computer History]]></category>
		<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Bill Hill]]></category>
		<category><![CDATA[Bob Plankers]]></category>
		<category><![CDATA[Chris Mellor]]></category>
		<category><![CDATA[digest]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[Erin Collopy]]></category>
		<category><![CDATA[Floyd Strimling]]></category>
		<category><![CDATA[Freedom to Tinker]]></category>
		<category><![CDATA[Ian Foster]]></category>
		<category><![CDATA[InPhase]]></category>
		<category><![CDATA[Martin Glassborow]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[PCIe]]></category>
		<category><![CDATA[pNFS]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[Raising the Floor]]></category>
		<category><![CDATA[SearchStorage]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[Storage Savvy]]></category>
		<category><![CDATA[Tech Field Day]]></category>
		<category><![CDATA[thin provisioning]]></category>
		<category><![CDATA[VNX]]></category>
		<category><![CDATA[Winextra]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4722</guid>
		<description><![CDATA[It's been a slow week (the holidays) and a crazy one. I've started pouring out the thin provisioning series, with 10 posts so far, as well as launching a new video "talk show" about enterprise IT. And I've got a new post over at SearchStorage, too. Whew!]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a slow week (the holidays) and a crazy one. I&#8217;ve started pouring out the <a href="http://blog.fosketts.net/series/state-of-the-art-thin-provisioning/"  target="_blank">thin provisioning series</a>, with 10 posts so far, as well as launching <a href="http://foskettservices.com/2011/01/episode-1-cloud-storage-gateways/"  target="_blank">a new video &#8220;talk show&#8221; about enterprise IT</a>. And I&#8217;ve got <a href="http://searchstorage.techtarget.com/tip/0,289483,sid5_gci1525453,00.html#"  target="_blank">a new post over at SearchStorage</a>, too. Whew!</p>
<ul class="scrd_digest">
<li>My <a href="http://blog.fosketts.net/series/state-of-the-art-thin-provisioning/" >State of the Art Thin Provisioning</a> series
<ul>
<li><a href="http://blog.fosketts.net/2010/12/27/thin-provisioning-storage-cheaper/" >Storage is Not Getting Cheaper</a></li>
<li><a href="http://blog.fosketts.net/2010/12/28/thin-provisioning-attacking-storage-utilization/" >Thin Provisioning: Attacking Storage Utilization</a></li>
<li><a href="http://blog.fosketts.net/2010/12/29/deallocating-core-issue-thin-provisioning/" >De-Allocating is the Core Issue for Thin Provisioning</a></li>
<li><a href="http://blog.fosketts.net/2010/12/30/thin-provisioning-playing-telephone-game/" >Thin Provisioning: Playing the Telephone Game</a></li>
<li><a href="http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/" >Monitoring Filesystem Metadata For Thin Provisioning</a></li>
<li><a href="http://blog.fosketts.net/2011/01/04/page-reclaim-savior-thin-provisioning/" >Zero Page Reclaim: Savior of Thin Provisioning?</a></li>
<li><a href="http://blog.fosketts.net/2011/01/05/write_same-green-eggs-ham/" >What is WRITE_SAME? Green Eggs and Ham!</a></li>
<li><a href="http://blog.fosketts.net/2011/01/06/bridge-veritas-thin-provisioning-api/" >The Bridge: Veritas Thin (Provisioning) API</a></li>
<li><a href="http://blog.fosketts.net/2011/01/07/trim-thin-provisioning/" >Is TRIM Useful For Thin Provisioning?</a></li>
</ul>
</li>
<li>The <a href="http://foskettservices.com/2011/01/episode-1-cloud-storage-gateways/"  target="_blank">Raising the Floor</a> podcast series
<ul>
<li><a href="http://foskettservices.com/2011/01/episode-1-cloud-storage-gateways/" >Raising the Floor 1: Cloud Storage Gateways</a></li>
<li><a href="http://blog.fosketts.net/2011/01/06/talking-cloud-storage-gateways-nasuni-cirtas/" >Talking Cloud Storage Gateways With Nasuni and Cirtas</a></li>
<li><a rel="nofollow" href="http://feedproxy.google.com/~r/nasuni/~3/Hu-BqeJ3L5Q/" rel="external" >Raising the Floor: How the Cloud Impacts Enterprise IT</a></li>
</ul>
</li>
<li><a href="http://techfieldday.com"  target="_blank">Tech Field Day</a> links
<ul>
<li><a href="http://gestaltit.com/featured/top/stephen/data-robotics-presents-tech-field-day/" > Data Robotics Is First Three-Time Tech Field Day Presenter</a></li>
<li><a rel="nofollow" href="http://networkingnerd.wordpress.com/2011/01/05/the-nerds-going-to-have-a-field-day/" rel="external" >The Nerd’s Going to Have a Field Day! | The Networking Nerd</a></li>
</ul>
</li>
<li>And more links!
<ul>
<li>I wrote this piece for SearchStorage: <a href="http://searchstorage.techtarget.com/tip/0,289483,sid5_gci1525453,00.html#" >Is PCIe SSD right for you? Deploying PCI Express SSD devices</a></li>
<li>I was interviewed for another thin story: <a href="http://searchstorage.techtarget.com/news/article/0,289142,sid5_gci1525688,00.html" rel="external" >Thin provisioning driven by technology advances, best practices</a></li>
<li>My friend Erin Collopy from HP is starting a blog: <a rel="nofollow" href="http://socialswimmer.wordpress.com/2011/01/04/newyearfreshslate/" rel="external" >A new year, a fresh slate « Social Swimmer</a></li>
<li>Bob Plankers always impresses with his technical writing: <a rel="nofollow" href="http://feedproxy.google.com/~r/lonesysadmin/mkpe/~3/kT_qqjeV-pc/" rel="external" >How To Create and Measure NTFS &amp; ext3 Disk Fragmentation</a></li>
<li>I loved this idea from Freedom to Tinker: <a href="http://www.freedom-to-tinker.com/blog/appel/monitoring-all-electrical-and-hydraulic-appliances-your-house" rel="external" >Monitoring all the electrical and hydraulic appliances in your house</a></li>
<li>Chris Mellor spills the beans on EMC&#8217;s big announcement next week: <a rel="nofollow" href="http://feedproxy.google.com/~r/NetAppStorageEfficiency/~3/yNJla4cac0I/more-questions-than-answers-storage-virtualization.html" rel="external" >Storage Virtualization, Unified and the VNX</a></li>
<li>Chris also posted a great piece about InPhase: <a href="http://www.theregister.co.uk/2010/12/29/inphase_insider_story/"  target="_blank">How I watched a holographic storage company implode</a></li>
<li>Then there&#8217;s this Winextra bit on <a rel="nofollow" href="http://feedproxy.google.com/~r/Winextra/~3/KL7uxk0xoEY/" rel="external" >Microsoft’s Biggest Mistake of 2010</a></li>
<li>A new EMCer blog, <a href="http://storagesavvy.com/"  target="_blank">Storage Savvy</a>, has a nice pNFS piece: <a href="http://storagesavvy.com/2010/10/11/why-pnfs-can-be-a-big-deal-even-if-nfs4-1-isnt/" >Why pNFS can be a big deal even if NFS4.1 isn’t…</a></li>
<li>Martin Glassborow is always worth reading: <a rel="nofollow" href="http://storagebod.typepad.com/storagebods_blog/2010/12/reading-the-ruins.html" >Reading the Ruins</a></li>
<li>Floyd Strimling makes a go at prognostication: <a rel="nofollow" href="http://platen.wordpress.com/2010/12/29/fun-alert-insane-2011-predictions-that-may-come-true/" >Fun Alert: Insane 2011 Predictions That May Come True</a></li>
<li>Another great Bill Hill post on cloud: <a rel="nofollow" href="http://virtualbill.wordpress.com/2010/12/16/cloud-crossroads/" >Cloud Crossroads</a></li>
<li>And Ian Foster isn&#8217;t happy with Amazon: <a href="http://www.grumpystorage.com/2010/12/amazon-masters-of-marketing-or.html" >Amazon &#8211; Masters of marketing or perfecting the art of customer dissatisfaction?</a></li>
</ul>
</li>
</ul>
<p>Subscribe to <a rel="nofollow" href="http://www.google.com/reader/shared/sfoskett" rel="me"  target="_blank">my Google Reader feed</a> or <a href="http://twitter.com/sfoskett" rel="me"  target="_blank">follow me on Twitter</a> to see these in real-time.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2011/02/26/pile-interesting-links-february-25-2011/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, February 25, 2011</a></li><li><a href="http://blog.fosketts.net/2007/07/30/how-thin-are-you/"  rel="bookmark" class="crp_title">How Thin Are You?</a></li><li><a href="http://blog.fosketts.net/2011/01/06/bridge-veritas-thin-provisioning-api/"  rel="bookmark" class="crp_title">The Bridge: Veritas Thin (Provisioning) API</a></li><li><a href="http://blog.fosketts.net/2007/07/23/brocade-adds-thin-provisioning/"  rel="bookmark" class="crp_title">Brocade Adds Thin Provisioning</a></li><li><a href="http://blog.fosketts.net/2010/11/16/pile-interesting-links-november-12-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links,  November 12, 2010</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2011/01/07/pile-interesting-links-january-7-2011/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2011. |
<a href="http://blog.fosketts.net/2011/01/07/pile-interesting-links-january-7-2011/">Back From the Pile: Interesting Links, January 7, 2011</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/computerhistory/" title="View all posts in Computer History" rel="category tag">Computer History</a>, <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2011/01/07/pile-interesting-links-january-7-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Filesystem Metadata For Thin Provisioning</title>
		<link>http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/</link>
		<comments>http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 17:58:26 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computer History]]></category>
		<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[data robotics]]></category>
		<category><![CDATA[Drobo]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[metadata monitoring]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[thin provisioning]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4628</guid>
		<description><![CDATA[I began by introducing the core problem: Storage isn't getting any cheaper due to storage utilization and provisioning problems. Thin provisioning isn't all it's cracked up to be, since the telephone game makes de-allocation a challenge. So now let's talk about how to make thin provisioning actually work.]]></description>
			<content:encoded><![CDATA[<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide01.jpg"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4606" title="Slide01" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide01-300x225.jpg" alt="" width="300" height="225" /></a>

One of the topics I've often written and spoken about is thin provisioning. This series of 11 articles is an edited version of <a href="http://www.slideshare.net/sfoskett/state-of-the-art-thin-provisioning" target="_blank">my thin provisioning presentation from Interop New York 2010</a>. I hope you enjoy it!</p>
<p>I began by introducing the core problem: <a href="http://blog.fosketts.net/2010/12/27/thin-provisioning-storage-cheaper/"  target="_blank">Storage isn&#8217;t getting any cheaper</a> due to <a href="http://blog.fosketts.net/2010/12/27/thin-provisioning-attacking-storage-utilization/"  target="_blank">storage utilization and provisioning problems</a>. Thin provisioning isn&#8217;t all it&#8217;s cracked up to be, since <a href="http://blog.fosketts.net/2010/12/30/thin-provisioning-playing-telephone-game/" >the telephone game</a> makes <a href="http://blog.fosketts.net/2010/12/29/deallocating-core-issue-thin-provisioning/" >de-allocation a challenge</a>. So now let&#8217;s talk about how to make thin provisioning actually work.</p>
<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide11.jpg" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4596" title="Slide11" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide11-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>There are 100 different ways of solving the de-allocation problem, some of which have gained some prominence. They all boil down to two options:</p>
<ol>
<li>Make the <strong>server</strong> super-smart and have it communicate better</li>
<li>Make the <strong>storage</strong> super-smart and have it make educated guesses</li>
</ol>
<p>There&#8217;s only a few ways that the server-side option can be implemented, and we&#8217;ll get to that. But first, let&#8217;s take a look at a sort of hybrid approach that relies on known server usage patterns: Metadata monitoring.</p>
<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide12.jpg" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4595" title="Slide12" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide12-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It&#8217;s really hard for the storage to really understand what the server is doing. The best example that I know of is <a href="http://blog.fosketts.net/series/drobo/"  target="_blank">the Drobo sitting under my desk</a>.</p>
<p>I love this little black box. When I got it, I configured it as eight terabytes and I put a 160-gig disk in it. That&#8217;s thin provisioning. And over time, I&#8217;m swapping out the disks and I&#8217;m doing all my stuff, and it still looks like eight terabytes. Add data, delete it, swap disks, and it always just works.</p>
<p>Not a lot of people know how the Drobo works, though. One of the things that people have complained about is that it only supports certain file systems and partition schemes. The reason for this is a &#8220;magical&#8221; thing it&#8217;s doing that relates very, very closely to the topic of this discussion. The Drobo is the first thin provisioning box that I know of that directly monitors the file system.</p>
<p>What the Drobo does is this: It knows where the supported filesystems (HFS+, NTFS, EXT3, and FAT) keep the record of what&#8217;s been deleted. So the Drobo it watches that spot and when you delete something, it reclaims that space. No enterprise storage system can do this, and yet this little box under my desk does it all day long.</p>
<p>This is basically the super, ultimate smarts of storage. But, of course, it&#8217;s very limited. It faces a real challenge in an enterprise setting because there is much more variety. We have all these layers of virtualization and weird file systems and things like that to worry about. We just can&#8217;t expect a product like this to accommodate everybody, so we just can&#8217;t expect this kind of smarts to be put everywhere.</p>
<p>Instead, we have a variety of semaphores sent from the server to the storage array that attempt to solve the telephone game. That&#8217;s what we&#8217;re talking about next.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/12/30/thin-provisioning-playing-telephone-game/"  rel="bookmark" class="crp_title">Thin Provisioning: Playing the Telephone Game</a></li><li><a href="http://blog.fosketts.net/2010/12/29/deallocating-core-issue-thin-provisioning/"  rel="bookmark" class="crp_title">De-Allocating is the Core Issue for Thin Provisioning</a></li><li><a href="http://blog.fosketts.net/2011/01/04/page-reclaim-savior-thin-provisioning/"  rel="bookmark" class="crp_title">Zero Page Reclaim: Savior of Thin Provisioning?</a></li><li><a href="http://blog.fosketts.net/2011/01/06/bridge-veritas-thin-provisioning-api/"  rel="bookmark" class="crp_title">The Bridge: Veritas Thin (Provisioning) API</a></li><li><a href="http://blog.fosketts.net/2010/12/28/thin-provisioning-attacking-storage-utilization/"  rel="bookmark" class="crp_title">Thin Provisioning: Attacking Storage Utilization</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2011. |
<a href="http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/">Monitoring Filesystem Metadata For Thin Provisioning</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/computerhistory/" title="View all posts in Computer History" rel="category tag">Computer History</a>, <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[State of the Art Thin Provisioning]]></series:name>
	</item>
		<item>
		<title>Back From the Pile: Interesting Links, December 3, 2010</title>
		<link>http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/</link>
		<comments>http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 14:00:14 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[cloud storage]]></category>
		<category><![CDATA[Compellent]]></category>
		<category><![CDATA[Cradlepoint]]></category>
		<category><![CDATA[digest]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[trends]]></category>
		<category><![CDATA[TSA]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4446</guid>
		<description><![CDATA[My regular series resumes this week.]]></description>
			<content:encoded><![CDATA[<p>My regular series resumes this week.</p>
<ul class="scrd_digest">
<li>My writing
<ul>
<li><a href="http://searchstorage.techtarget.com/tip/0,289483,sid5_gci1523462,00.html"  target="_blank">Cloud storage gateway eases transition to cloud storage services</a></li>
<li><a href="http://blog.fosketts.net/2010/11/30/eleven-tech-trends-watch-2011/" >Eleven Tech Trends To Watch In 2011</a></li>
<li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/" >How To Write To Windows NTFS Drives In Mac OS X 10.6 “Snow Leopard”</a></li>
<li><a href="http://foskettservices.com/2010/12/introducing-raising-the-floor-our-datacenter-podcast/" >Introducing “Raising the Floor”, Our Datacenter Podcast</a></li>
</ul>
</li>
<li>Enterprise tech
<ul>
<li><a rel="nofollow" href="http://www.youtube.com/watch?v=0uIzNkkX9rs&amp;feature=autoshare" rel="external" >NetApp Snapshot: News On NetApp &#8211; Ep 4</a></li>
<li><a href="http://www.compellent.com/Community/Blog/Posts/2010/11/SANChat-2011.aspx" >December #SANchat &#8211; 11 Trends for 2011</a></li>
<li><a href="http://bladesmadesimple.com/2010/11/fujitsu-teams-up-with-netapp-to-design-a-storage-blade/" rel="external" >Fujitsu Teams up with NetApp to Design a Storage Blade</a></li>
<li><a rel="nofollow" href="http://packetattack.wordpress.com/2010/11/27/the-scaling-limitations-of-etherchannel-or-why-11-does-not-equal-2/" rel="external" >The Scaling Limitations of Etherchannel -Or- Why 1+1 Does Not Equal 2</a></li>
</ul>
</li>
<li>Other geeky stuff:
<ul>
<li><a href="http://technologizer.com/2010/11/26/beta-hardware/" rel="external" >The Curse of Beta Hardware</a></li>
<li><a href="http://www.schneier.com/blog/archives/2010/12/full_body_scann.html" rel="external" >Full Body Scanners: What&#8217;s Next?</a></li>
<li><a rel="nofollow" href="http://blogs.techrepublic.com.com/mac/?p=867&amp;utm_source=twitterfeed&amp;utm_medium=twitter&amp;utm_campaign=Feed:+techrepublic/mac+(TechRepublic+Macs+in+Business)" rel="external" >Useful applications for the PC-to-iPad convert</a></li>
<li><a href="http://globalconfig.net/techfieldday/review-of-cradlepoint-ctr-500/" rel="external" >CradlePoint CTR-500 Review</a></li>
</ul>
</li>
</ul>
<p>Subscribe to <a rel="nofollow" href="http://www.google.com/reader/shared/sfoskett" rel="me"  target="_blank">my Google Reader feed</a> or <a href="http://twitter.com/sfoskett" rel="me"  target="_blank">follow me on Twitter</a> to see these in real-time.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/11/20/pile-interesting-links-november-19-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links,  November 19, 2010</a></li><li><a href="http://blog.fosketts.net/2011/03/25/pile-interesting-links-march-25-2011/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, March 25, 2011</a></li><li><a href="http://blog.fosketts.net/2011/04/01/pile-interesting-links-april-1-2011/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, April 1, 2011</a></li><li><a href="http://blog.fosketts.net/2010/10/26/pile-interesting-links-october-26-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links,  October 26, 2010</a></li><li><a href="http://blog.fosketts.net/2011/03/18/pile-interesting-links-march-18-2011/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, March 18, 2011</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2010. |
<a href="http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/">Back From the Pile: Interesting Links, December 3, 2010</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</title>
		<link>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/</link>
		<comments>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 16:19:42 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[10.3]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[Dave Cutler]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[GoFlex]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount_ntfs]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[Panther]]></category>
		<category><![CDATA[Paragon]]></category>
		<category><![CDATA[Seagate]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4420</guid>
		<description><![CDATA[One of the daily hassles of using Apple Macintosh computers is the incompatibilities that arise with the broad Microsoft Windows world. Individual files often require conversion, but what about whole disks? Apple has long supported the universal and simplistic FAT filesystem, and added read-only support for NTFS back in 2003 in OS X 10.3 "Panther". Third-party software like Paragon's NTFS or the free NTFS-3G driver enabled read/write support, but a native solution was more desirable. Although 10.6 "Snow Leopard" includes NTFS write support, it is disabled by default. In this post, I'll discuss methods for activating this native NTFS write support, as well as the pros and cons of doing so!]]></description>
			<content:encoded><![CDATA[<p>One of the daily hassles of using Apple Macintosh computers is the incompatibilities that arise with the broad Microsoft Windows world. Individual files often require conversion, but what about whole disks? Apple has long supported the universal and simplistic FAT filesystem, and added read-only support for NTFS back in 2003 in OS X 10.3 &#8220;Panther&#8221;. Third-party software like Paragon&#8217;s NTFS or the free NTFS-3G driver enabled read/write support, but a native solution was more desirable. Although 10.6 &#8220;Snow Leopard&#8221; includes NTFS write support, it is disabled by default. In this post, I&#8217;ll discuss methods for activating this native NTFS write support, as well as the pros and cons of doing so!</p>
<h3>Introducing NTFS</h3>
<p>A filesystem is the basic scheme for organizing data on a hard disk drive. The common FAT filesystem, supported by just about every operating system, is just too basic for modern operating systems. Microsoft introduced the advanced NTFS filesystem with their Windows NT operating system in 1993. Borrowing from OS/2&#8242;s HPFS and VMS&#8217; Files-11, NTFS is a <a rel="nofollow" href="http://en.wikipedia.org/wiki/Journalling_filesystem" >journalling filesystem</a> with many features, including <a rel="nofollow" href="http://en.wikipedia.org/wiki/POSIX" >POSIX</a> links, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Fork_(filesystem)" >alternate data streams</a>, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Sparse_file" >sparse files</a>, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Data_compression" >compression</a>, and <a rel="nofollow" href="http://en.wikipedia.org/wiki/Encrypting_File_System" >encryption.</a></p>
<p>Although just about everything Microsoft produces is maligned by UNIX and Mac geeks, this hatred is unwarranted in the case of the many storage advances coming out of Redmond. Microsoft may be fairly criticized for producing expensive, proprietary systems, but they have dome some amazing things with disks, and NTFS is arguably one of the most advanced filesystems in wide usage. Much of this credit goes to Windows NT architect <a rel="nofollow" href="http://en.wikipedia.org/wiki/Dave_Cutler"  target="_blank">Dave Cutler</a>, who also led development of DEC VMS, the RISC concepts that became <a rel="nofollow" href="http://en.wikipedia.org/wiki/DEC_Alpha"  target="_blank">Alpha</a>, and Microsoft&#8217;s <a rel="nofollow" href="http://en.wikipedia.org/wiki/Azure_Services_Platform"  target="_blank">Azure</a> cloud platform.</p>
<p>Although every version of Windows supports evolutions of the old FAT filesystem, modern iterations increasingly require NTFS. Windows XP allowed either FAT32 or NTFS for booting; Windows Vista could be forced to boot from FAT32; Windows 7 requires NTFS. Therefore, most PC hard disk drives, including external USB drives, now come formatted with NTFS by default.</p>
<h3>NTFS on Mac OS X</h3>
<p>This leads to issues for Mac users, especially when they dual-boot with Boot Camp or buy external hard disk drives. As mentioned, all versions of Mac OS X since 10.3 &#8220;Panther&#8221; have included read-only NTFS support, but those wanting full access had two options:</p>
<ol>
<li><a href="http://www.paragon-software.com/home/ntfs-mac/"  target="_blank">Paragon Software&#8217;s</a> NTFS for Mac OS X is a full and supported read/write solution. Although available for purchase separately, many hard disk drives like the <a rel="nofollow" href="http://www.amazon.com/Seagate-FreeAgent-Ultra-Portable-External-STAA1000100/dp/B003ELOSI2%3FSubscriptionId%3DAKIAJYEMQAFREVFYOMPQ%26tag%3DPackrat-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB003ELOSI2" >Seagate GoFlex</a> now include a free copy of Paragon NTFS.</li>
<li>The open source <a href="http://www.tuxera.com/community/ntfs-3g-download/"  target="_blank">NTFS-3G</a> driver has also been ported to Mac OS X, allowing read/write support for free.</li>
</ol>
<p>Mac OS X 10.6 &#8220;Snow Leopard&#8221; adds a third alternative: Native read/write support for NTFS. But it&#8217;s not as simple as that. Although early betas enabled read/write support by default, it was limited once again to read-only in the final releases.</p>
<p>It is possible and even simple) to enable read/write support with the native Snow Leopard drivers, but this is definitely an &#8220;at your own risk&#8221; proposition. Users have reported kernel panics when using these methods, and although I have not heard of data corruption, it is possible as well.</p>
<h3>The Manual Method: mount_ntfs</h3>
<p>Making disks available is called &#8220;mounting&#8221; in UNIX geek-speak, and mount commands in modern operating systems are <a rel="nofollow" href="http://www.youtube.com/watch?v=kZnztwiWZo4"  target="_blank">like ogres</a>: They have many layers. Plug in a drive, and Mac OS X makes it available for you using a layer cake of commands, but the bottom-most command is &#8220;mount&#8221;. This simple command-line utility takes a few arguments and attaches a raw disk device to a point in the unified filesystem tree.</p>
<p>When presented an NTFS drive, Mac OS X calls a utility called mount_ntfs that resides in the /sbin directory, and we can call it, too. Although OS X always tells mount_ntfs to mount NTFS drives read-only, we can tell it to enable writing as well by using the &#8220;-o rw&#8221; flag.</p>
<p>There&#8217;s just one problem: Where should we connect the NTFS file system? Mac OS X automatically creates a new directory (called a &#8220;mount point&#8221; in UNIX-speak) in /Volumes with the name of the filesystem. For example, the GoFlex drive I bought yesterday mounts as &#8220;/Volumes/FreeAgent GoFlex Drive&#8221; by default. But mount_ntfs won&#8217;t create this mount point, so we have to do it.</p>
<p>Here are the steps to mount an NTFS drive read/write from the command line:</p>
<ol>
<li>Plug in the drive and let Mac OS X mount it read-only.</li>
<li>Look in Finder to see the name of the drive. For example, my drive mounts with the name &#8220;FreeAgent GoFlex Drive&#8221; and this is what shows up on the desktop and in Frinder under &#8220;Devices&#8221;.</li>
<li>Open the Terminal application to get command-line access. We&#8217;ll use &#8220;sudo&#8221; which executes commands as the administrator instead of a regular user.</li>
<li>Type the following command in Terminal to get necessary information about the drive. Use the drive name you see in Finder in place of &#8220;drive name&#8221;, and make sure to use quotation marks around it since Terminal treats un-quoted spaces as separators rather than part of the name.
<pre>diskutil info "/Volumes/drive name"</pre>
</li>
<li>Record the &#8220;Device Node&#8221; entry, which will look something like &#8220;/dev/disk4s1&#8243;. This is where the raw partition is mapped by the disk subsystem, and where the filesystem driver will read its data.</li>
<div id="attachment_4421" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://static.fosketts.net/wp-content/uploads/2010/11/Diskutil-info-GoFlex.png" ><img class="size-medium wp-image-4421" title="Diskutil info GoFlex" src="http://static.fosketts.net/wp-content/uploads/2010/11/Diskutil-info-GoFlex-300x246.png" alt="" width="300" height="246" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">The diskutil command gives us the &quot;Node Name&quot;, which we&#39;ll need momentarily</p></div>
<li>Eject the drive, using option-click in Finder or with the hdiutil command in Terminal:
<pre>hdiutil eject "/Volumes/drive name"</pre>
</li>
<li>Now you must create the mount point again. Type the following:
<pre>sudo mkdir "/Volumes/drive name"</pre>
</li>
<li>Finally, use mount_ntfs to mount the drive read/write using the following command. Use the node name you spotted above and the mount point you just created:
<pre>sudo mount_ntfs -o rw /dev/disk?s? "/Volumes/drive name"</pre>
</li>
<li>When you&#8217;re done, you can use the Finder, the hdiutil command, or just about anything else to eject the drive. Make sure your mount point is deleted as well!</li>
</ol>
<p>This method is great for occasional NTFS use, which is frankly all Mac users should need. If you intend to use a drive frequently, I highly recommend reformatting it with the native HFS+ filesystem since it will be fully-supported by the operating system.</p>
<h3>The Per-Drive Method</h3>
<p>Let&#8217;s say you have an NTFS drive you frequently need to mount read/write and find the above method too much of a hassle. Maybe it&#8217;s your Boot Camp drive, or perhaps it&#8217;s a USB hard disk drive you share with a Windows-using colleague. It is possible to tell Mac OS X to always mount a given NTFS drive read/write using its native driver using the following commands. However, I recommend investing in the Paragon driver for this use case, since it&#8217;s fully-supported!</p>
<p>Like all UNIX systems, Mac OS X uses a configuration file to determine what it should do with certain drives. This file, called &#8220;fstab&#8221; and located in &#8220;/etc&#8221;, is not present by default but will override the &#8220;read-only&#8221; flag on a per-drive basis if found. This allows a drive to always be mounted read/write without any hassle.</p>
<ol>
<li>Get the drive name as in step 2 above.</li>
<li>Open Terminal and type the following command to edit the /etc/fstab file:
<pre>sudo nano /etc/fstab</pre>
</li>
<div id="attachment_4422" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://static.fosketts.net/wp-content/uploads/2010/11/Nano-fstab.png" ><img class="size-medium wp-image-4422" title="Nano fstab" src="http://static.fosketts.net/wp-content/uploads/2010/11/Nano-fstab-300x211.png" alt="" width="300" height="211" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Adding a line in /etc/fstab will make Mac OS X always mount a single drive in read/write mode</p></div>
<li>&#8220;Nano&#8221; is a command-line editing program. Add the following line to the file (and don&#8217;t forget the quotes around the drive name if it contains spaces!)
<pre>LABEL="drive name" none ntfs rw</pre>
</li>
<li>Now type control-x to save and exit, type y for yes, and hit enter.</li>
<li>After a reboot, Mac OS X should automatically mount any drive with that label as read/write</li>
</ol>
<p>Note that this can also be done using the NTFS UUID of the drive, but this isn&#8217;t present on every drive to LABEL works better. Also, some <a rel="nofollow" href="http://forums.macrumors.com/showthread.php?t=785376"  target="_blank">have reported</a> needing multiple reboots to make it work. I have no idea why.</p>
<h3>The Permanent Universal Method</h3>
<p>It is also <a href="http://blog.navisidhu.com/53-ntfs-write-snow-leopard/"  target="_blank">possible</a> to permanently modify how Mac OS X calls the mount_ntfs command to always mount every NTFS drive in read/write mode. Again, I will point out that this isn&#8217;t necessarily a great idea since Apple doesn&#8217;t support using the driver in this way. But here it is!</p>
<ol>
<li>Open Terminal. We won&#8217;t need the drive name or Node Name since this applies to every NTFS drive.</li>
<li>Rename the mount_ntfs command to something else by typing the following:
<pre>sudo mv /sbin/mount_ntfs /sbin/mount_ntfs_orig</pre>
</li>
<li>Create a shell script called mount_ntfs using the Nano editor:
<pre>sudo nano /sbin/mount_ntfs</pre>
</li>
<li>This script will simply call mount_ntfs with the &#8220;-o rw&#8221; flag every time it&#8217;s used. Type the following in Nano:
<pre>#!/bin/sh
/sbin/mount_ntfs_orig -o rw "$@"</pre>
</li>
<li>Type control-x to save and exit, type y for yes, and hit enter.</li>
<li>Now we&#8217;ll fix the permissions on this new file so it&#8217;s owned by root and group wheel:
<pre>sudo chown root:wheel /sbin/mount_ntfs</pre>
</li>
<li>Finally, we make the shell script executable:
<pre>sudo chmod 755 /sbin/mount_ntfs</pre>
</li>
<li>Now every time OS X encounters an NTFS drive, it will mount it read/write by calling this script rather than the &#8220;mount_ntfs&#8221; executable it thinks it&#8217;s using.</li>
</ol>
<p>Note that future OS updates might &#8220;break&#8221; this method by replacing the /sbin/mount_ntfs command, or it could cause other issues. But it works for now and doesn&#8217;t even require a reboot.</p>
<h3>Stephen&#8217;s Stance</h3>
<p>I&#8217;m hesitant to recommend that casual Mac users employ any of these methods to access NTFS drives. Each requires superuser access and careful typing. You can easily mess up your system this way, and unsupported uses of the NTFS driver might result in data loss.</p>
<p>If you aren&#8217;t comfortable with this kind of mucking-about or intend to frequently write to NTFS drives, I highly suggest installing NTFS-3G or Paragon&#8217;s NTFS driver. In fact, the best method is simply to go buy a <a rel="nofollow" href="http://www.amazon.com/Seagate-FreeAgent-Ultra-Portable-External-STAA1000100/dp/B003ELOSI2%3FSubscriptionId%3DAKIAJYEMQAFREVFYOMPQ%26tag%3DPackrat-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB003ELOSI2" >Seagate GoFlex drive</a> and use the Paragon driver that comes with it!</p>
<p>But hackers and geeks like me want to know how to do this. This is why I decided to document it here.<br />
<blockquote>Note: Some of these links include affiliate codes that help pay for this blog. For example, <a href="http://www.amazon.com/gp/product/B002Y27P3M?ie=UTF8&tag=packrat-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B002Y27P3M" target="_blank">buying an Amazon Kindle with this link</a> sends a few bucks my way! But I don't write this blog to make money, and am happy to link to sites and stores that don't pay anything. I like Amazon and buy tons from them, but you're free to buy whatever and wherever you want.</blockquote></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/07/26/boot-snow-leopard-64bit-mode/"  rel="bookmark" class="crp_title">How To Boot Snow Leopard in 64-Bit Mode</a></li><li><a href="http://blog.fosketts.net/2008/07/31/windows-server-2008-changes-storage/"  rel="bookmark" class="crp_title">Windows Server 2008 Changes Storage</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2010. |
<a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>An Introduction To exFAT</title>
		<link>http://blog.fosketts.net/2010/10/01/introduction-exfat/</link>
		<comments>http://blog.fosketts.net/2010/10/01/introduction-exfat/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 15:16:04 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computer History]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Bill Gates]]></category>
		<category><![CDATA[exFAT]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[FAT16]]></category>
		<category><![CDATA[FAT32]]></category>
		<category><![CDATA[Filesystems]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Marc McDonald]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[Memory Stick]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[QDOS]]></category>
		<category><![CDATA[SD]]></category>
		<category><![CDATA[SDHC]]></category>
		<category><![CDATA[SDXC]]></category>
		<category><![CDATA[Seattle Computer Products]]></category>
		<category><![CDATA[Tim Paterson]]></category>
		<category><![CDATA[VFAT]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=3777</guid>
		<description><![CDATA[Microsoft already gave the world FAT and NTFS, and both have become common in the non-Windows world thanks to flash drives, SD cards, and portable disks. But the folks from Redmond are now introducing a new filesystem, exFAT. Do we really need a new filesystem?]]></description>
			<content:encoded><![CDATA[<div id="attachment_3778" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2010/10/Scale-Face-by-playingwithpsp.jpg" ><img class="size-medium wp-image-3778" title="Scale Face by playingwithpsp" src="http://blog.fosketts.net/wp-content/uploads/2010/10/Scale-Face-by-playingwithpsp-300x287.jpg" alt="" width="300" height="287" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Today&#39;s super-sized drives need something better than FAT. Introducing exFAT, the next-generation portable filesystem.</p></div>
<p>Microsoft already gave the world FAT and NTFS, and both have become common in the non-Windows world thanks to flash drives, SD cards, and portable disks. But the folks from Redmond are now introducing a new filesystem, exFAT. Do we really need a new filesystem?</p>
<h3>The Rise and Fall of FAT</h3>
<p>Although computing is a volatile world, standards tend to stick around way past their prime. Nowhere is this more apparent than the ubiquitous FAT filesystem. Although it has been modified and updated, the basic FAT structure pre-dates DOS: It was designed for Microsoft&#8217;s first real product, Standalone Basic, and bears the fingerprints of the company&#8217;s first employee, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Marc_McDonald"  target="_blank">Marc McDonald</a>, as well as some other programmer called Bill Gates.</p>
<p>Appealing in its simplicity, FAT was <a href="http://starman.vertcomp.com/DOS/ibm100/index.html"  target="_blank">adopted</a> by <a rel="nofollow" href="http://en.wikipedia.org/wiki/Tim_Paterson"  target="_blank">Tim Paterson</a> at Seattle Computer Products for his QDOS operating system, which found its way back to Microsoft as IBM&#8217;s PC-DOS. FAT was improved with 16-bit cluster addresses for the 1984 IBM PC-AT&#8217;s hard disk drive, and enhanced again to match growing disk sizes as FAT32 in Windows 95. Along the way, VFAT added 32-bit file access and long file names.</p>
<p>Because it was simple in concept, FAT was reverse-engineered and adopted as a standard filesystem for data interchange between DOS/Windows PCs and other operating systems, from Apple to Atari to Amiga. Today, FAT16 is the dominant format for SD cards, and most thumb drives and SDHC cards use FAT32. But FAT is not an open standard: Microsoft <a rel="nofollow" href="http://www.microsoft.com/about/legal/en/us/IntellectualProperty/IPLicensing/Programs/FATFileSystem.aspx"  target="_blank">successfully patented</a> VFAT and FAT32 and <a rel="nofollow" href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx"  target="_blank">specifically requires</a> digital camera and flash drive companies to obtain a license for its use.</p>
<p>Although widely dismissed as archaic, many of the limits of FAT (especially FAT32) are due to factors outside the filesystem, particularly the MBR partition scheme and implementation-related issues. FAT32 is <a href="http://ask-leo.com/is_there_a_limit_to_what_a_single_folder_or_directory_can_hold.html"  target="_blank">capable</a> on disks up to 2 terabytes, which matches the maximum size of the next-generation SDXC flash card specification. And, despite Microsoft&#8217;s patents, FAT is widely implemented and stable on a variety of platforms and embedded devices.</p>
<h3>Why exFAT?</h3>
<p>Hard disk drives long since switched to NTFS or other operating system-specific formats, so FAT is mainly used on flash media today. Sadly, FAT isn&#8217;t all that well-suited for applications like these. Thumb drives don&#8217;t really push the envelope for FAT since they tend to hold reasonable numbers of smaller files, but flash media for digital cameras is a different story.</p>
<p>SD cards have taken over the digital camera world: Even holdouts like Sony now support SD and its successors, SDHC and SDXC. And just about every SD and SDHC card sold today uses FAT16 and FAT32, respectively. It works reasonably well for still images, but video poses real issues. FAT32 is limited to 4 GB per file, and HD camcorders and digital cameras can easily push past this size limit. Most models today split files or limit recording time to avoid this limitation, but that&#8217;s not optimal.</p>
<p>exFAT enables file sizes up to 16 EB and also adds nifty features like a free space bitmap allowing better use of flash memory and eliminating the read/erase/write issue of NAND. It also allows more-granular timestamps (10 ms, rather than 2 seconds on FAT) which better-match high-speed shooting capabilities of today&#8217;s digital cameras.</p>
<h3>exFAT Limitations</h3>
<p>But not everything is rosy with exFAT. Although it seems poised to take off thanks to strong support from the SDcard Association, exFAT remains encumbered by patents and licensing fees from Microsoft. Memory Stick XC requires the use of exFAT, but SDXC merely suggests it and there is no guarantee of third-party support. Digital camera makers may decide to stick with FAT32 rather than switch, though Microsoft makes it more attractive for embedded uses with <a href="http://arstechnica.com/microsoft/news/2009/12/microsoft-licenses-out-exfat-file-system.ars"  target="_blank">a flat $300k fee</a> per manufacturer.</p>
<p>There is also one odd technical limitation to exFAT. Because removable media is often physically ejected at inopportune moments, the FAT filesystem was designed with alternating file allocation tables. Should writing of the table be interrupted, FAT can always fall back on the previous iteration. exFAT curiously uses just one allocation table and free space bitmap, making it more likely to become corrupt in precisely the portable devices it was intended for. A follow-on enhancement, Transactional exFAT or TexFAT, adds redundant tables and bitmaps but may not be implemented.</p>
<p>Unfortunately, the old, inflexible MBR partition scheme remains coupled to exFAT. It would have been nice to ditch MBR in favor of the open GPT format, but the static nature of flash media made that less of a priority. Still, MBR is limited to 2 TB, and this will become a roadblock for flash media at some point.</p>
<blockquote><p>You might also want to read <a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/" >Introducing SDXC and exFAT in Apple Mac OS X</a></p></blockquote>
<h3>Stephen&#8217;s Stance</h3>
<p>Adoption of exFAT seems likely, especially for the SDXC and MSXC flash cards used in digital cameras. Because it is not backwards-compatible with devices, media, operating systems, and card readers, however, consumer confusion is likely to result. Even systems with an SDXC card reader might not be capable of reading the exFAT filesystem contained on the card, and vice versa.</p>
<p>Microsoft, being the proud parent of exFAT, supports the new filesystem in its modern Windows 7 and Server 2008 operating systems and has moved quickly to add it to Windows XP, Server 2003, and Vista. A few exFAT drivers exist for Linux and Android, and <a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/"  target="_blank">Apple is likely to add support for exFAT in Snow Leopard 10.6.5</a>, since the SDXC-capable mid-July iMac and Mac Mini computers already have it in 10.6.4.</p>
<p>So it looks like we&#8217;ve got a new filesystem on our hands, at least for camera cards. But exFAT will not likely replace FAT32 on thumb drives any time soon. Their portability requires broad compatibility, and FAT32 has the widest support today. Although exFAT will likely be used in embedded applications, it there is no compelling reason for it to displace NTFS and other operating system filesystems like (Apple) HFS+ and (Linux) ext3/ext4 any time soon.</p>
<p><em>Image credit: Scale Face by </em><a rel="nofollow" href="http://www.flickr.com/photos/playingwithpsp/" ><em>Playingwithbrushes</em></a></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/"  rel="bookmark" class="crp_title">Introducing SDXC and exFAT in Apple Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/12/06/ipad-compatible-sdxc-exfat-cards/"  rel="bookmark" class="crp_title">Is The iPad Compatible With SDXC and ExFAT Cards?</a></li><li><a href="http://blog.fosketts.net/2012/01/06/xqd-card-media-pro-cameras/"  rel="bookmark" class="crp_title">What Is an XQD Card? The New Media for Pro Cameras!</a></li><li><a href="http://blog.fosketts.net/2010/12/10/pile-interesting-links-december-10-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, December 10, 2010</a></li><li><a href="http://blog.fosketts.net/2010/10/05/hitachi-gst-advanced-format-hard-disk-drive/"  rel="bookmark" class="crp_title">Hitachi GST Joins WD On The &#8220;Advanced Format&#8221; Hard Disk Drive Bandwagon</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/10/01/introduction-exfat/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2010. |
<a href="http://blog.fosketts.net/2010/10/01/introduction-exfat/">An Introduction To exFAT</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/computerhistory/" title="View all posts in Computer History" rel="category tag">Computer History</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2010/10/01/introduction-exfat/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Robocopy: Better, Faster, Stronger</title>
		<link>http://blog.fosketts.net/2010/03/25/robocopy-multi-threaded/</link>
		<comments>http://blog.fosketts.net/2010/03/25/robocopy-multi-threaded/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 19:45:46 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[EFS]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Robocopy]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=2748</guid>
		<description><![CDATA[Robocopy is the best tool to move data between NTFS filesystems but was never very quick. Windows Vista, Windows Server 2008, and later versions include a new version of Robocopy with performance tweaks including multi-threading that speed things up dramatically.]]></description>
			<content:encoded><![CDATA[<div id="attachment_2822" class="wp-caption alignright" style="width: 194px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2010/03/Robocop.jpg" ><img class="size-full wp-image-2822" title="Robocop" src="http://blog.fosketts.net/wp-content/uploads/2010/03/Robocop.jpg" alt="" width="184" height="145" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">It&#39;s hard to take a product called &quot;Robocopy&quot; seriously!</p></div>
<p>Anyone doing much storage work on Microsoft Windows machines is familiar with Robocopy. It&#8217;s the best tool to move data between NTFS filesystems, since <strong>Robocopy maintains permissions and file attributes</strong>. It also tolerates dropped connections, resuming where it left off, and can throttle operations over slow networks.</p>
<p>But Robocopy was never very quick, especially when dealing with large data sets. It was single-threaded, hurting performance on high-latency networks, and startup was painfully slow on deep directory structures.</p>
<h3>Robocopy XXVII</h3>
<p>Windows Vista, Windows Server 2008, and later versions include <strong>a new version of Robocopy with performance tweaks</strong> designed to overcome these limitations. Right-click on the executable in Windows\System32 and make sure you are using version XP027, 5.1.10.1027.</p>
<blockquote><p><strong>Update:</strong> Oops! <a href="http://blog.fosketts.net/2010/03/28/versioning-windows-vista-7-robocopy/"  target="_blank">Only the &#8220;6.1&#8243; versions of Microsoft Windows</a> (Windows 7 and Windows Server 2008 R2) include multi-threaded robocopy!</p></blockquote>
<p>The big deal here is multi-threading:</p>
<ul>
<li>The application can now run in <strong>multi-threaded mode using the /MT option</strong>. This defaults to 8 threads, but users can specify up to 128 if desired. For example, the following command would use 16 threads:</li>
</ul>
<pre>robocopy c:\ d:\ /MT:16</pre>
<ul>
<li>Initial <strong>directory enumeration is also multi-threaded</strong>, so deep directory structures are examined much more quickly.</li>
<li>XP027 also added the /EFSRAW parameter, allowing one to copy files from EFS using RAW mode. However neither this nor /IPG (inter-packet gap) can be combined with the multi-threaded option mentioned above.</li>
</ul>
<h3>Dead or alive, you&#8217;re coming with me!</h3>
<p>I tried out the new /MT option on a Core 2 Duo laptop and was surprised by the <strong>dramatic improvement in copy performance</strong>. Copying my entire &#8220;Program Files&#8221; directory took well over a minute without multi-threading, but simply specifying &#8220;/MT&#8221; at the end of the command reduced a second copy to a different directory to about 20 seconds. Using &#8220;/MT:32&#8243; was blazing fast &#8211; easily less than 15 seconds. I repeated the first single-threaded test again and watched it dawdle along, taking over a minute again to finish.</p>
<p>Microsoft suggests that <strong>multi-threaded Robocopy helps with network throughput</strong> as well. I tried a series of copies between two Windows 7 machines over Wi-Fi, to simulate a slow network. Although single-threaded Robocopy was able to saturate the network with large files, it really slowed down (thanks to latency) once it hits a patch of smaller files. Multi-threaded Robocopy was more capable of maintaining high throughput once smaller files were encountered, with a 32-thread test keeping the link at maximum pretty much the entire time. Again, a noticeable improvement.</p>
<h3>Your Move, Creep</h3>
<p>If you&#8217;re copying lots of Windows data on a machine running Windows 7 <span style="text-decoration: line-through;">Vista</span> or newer, I can confidently say that <strong>the /MT switch will speed things up dramatically</strong>. Whether you should stick with the default 8 threads or up it to 16 or 32 depends on the capabilities of your CPU, but it&#8217;s worth a try. One more tip: Use the /LOG switch or pipe the output to NULL to speed up copying even more. Displaying all that text delays the whole process!</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/03/28/versioning-windows-vista-7-robocopy/"  rel="bookmark" class="crp_title">Versioning FAIL: Windows Vista/7 Robocopy</a></li><li><a href="http://blog.fosketts.net/2008/07/31/windows-server-2008-changes-storage/"  rel="bookmark" class="crp_title">Windows Server 2008 Changes Storage</a></li><li><a href="http://blog.fosketts.net/2008/07/25/quick-and-easy-bluetooth-sharing-between-pc-and-mac/"  rel="bookmark" class="crp_title">Quick and Easy Bluetooth Sharing Between PC and Mac</a></li><li><a href="http://blog.fosketts.net/2009/06/29/tuning-lighttpd-linux/"  rel="bookmark" class="crp_title">Tuning Lighttpd For Linux</a></li><li><a href="http://blog.fosketts.net/2010/07/30/high-performance-memory-apache-php-virtual-private-server/"  rel="bookmark" class="crp_title">A High-Performance, Low-Memory Apache/PHP Virtual Private Server</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/03/25/robocopy-multi-threaded/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2010. |
<a href="http://blog.fosketts.net/2010/03/25/robocopy-multi-threaded/">Robocopy: Better, Faster, Stronger</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2010/03/25/robocopy-multi-threaded/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Access NTFS Volumes On Your Mac</title>
		<link>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/</link>
		<comments>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 14:34:43 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[FUSE]]></category>
		<category><![CDATA[Giveaway-of-the-Day]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Macports]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Paragon]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=2169</guid>
		<description><![CDATA[I've been using the NTFS-3G driver myself for quite some time. It works as advertised: Install it and you can read and write to NTFS-formatted drives with ease. These drives are integrated right into the Finder, appearing just like Mac-standard HFS+ disks. This is the method I used to assign custom drive icon for my Boot Camp volume and USB drives, for example.]]></description>
			<content:encoded><![CDATA[<p>Most Mac switchers still have some Windows NTFS-formatted drives around. Maybe it&#8217;s an external USB disk. Or maybe you&#8217;re using Boot Camp. Whatever the reason, Mac users often want to <strong>access NTFS volumes within OS X</strong>. There are two popular ways to accomplish this:</p>
<ol>
<li>Use the excellent and free <strong>NTFS-3G</strong> driver</li>
<li>Buy Paragon Software&#8217;s <strong>Paragon NTFS</strong></li>
</ol>
<p>I&#8217;ve been using the <a href="http://www.ntfs-3g.org/"  target="_blank">NTFS-3G driver</a> myself for quite some time. It works as advertised: Install it and you can read and write to NTFS-formatted drives with ease. These drives are integrated right into the Finder, appearing just like Mac-standard HFS+ disks. This is the method I used to <a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  target="_self">assign custom drive icon for my Boot Camp volume and USB drives</a>, for example.</p>
<blockquote><p>Note: Snow Leopard&#8217;s NTFS driver is read/write capable. See my post, <a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/" >How To Write To Windows NTFS Drives In Mac OS X 10.6 “Snow Leopard”</a></p></blockquote>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p>NTFS is a userspace (FUSE) driver, so installing it requires the installation of mac-fuse as well. It&#8217;s been nicely packaged for install over at <a rel="nofollow" href="http://macntfs-3g.blogspot.com/"  target="_blank">MacNTFS-3G</a>, or you can install it with <a href="http://trac.macports.org/browser/trunk/dports/fuse/ntfs-3g"  target="_blank">MacPorts</a>, along with lots of other great UNIX software.</p>
<p><a rel="nofollow" href="http://www.amazon.com/gp/product/B0027TY86E?ie=UTF8&amp;tag=packrat-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0027TY86E&quot;"  target="_blank">Paragon NTFS</a> functions similarly to NTFS-3G. The latest versions also include an HFS+ driver for Windows, allowing your Boot Camp instance to read your Mac drive, which is pretty cool. I was initially interested in Paragon&#8217;s software, thinking it would be more stable and supported than the open source NTFS-3G. But at $40, it&#8217;s hard to justify the cost when a free alternative is available. Once I tried the <a href="http://bit.ly/5yFPT"  target="_blank">free version</a> from Giveaway-of-the-Day, I know I would have felt cheated if I had spent the money on it. The MacNTFS-3G package is so nicely integrated, there is really no need to fear it. And I&#8217;ve had no trouble with it in over a year of use.</p>
<p>The Paragon Giveaway didn&#8217;t include the HFS+ driver for Windows, but reports are that <a href="http://www.roughlydrafted.com/2009/05/09/snow-leopards-boot-camp-to-support-hfs-under-windows/"  target="_blank">Apple will introduce a similar driver</a> with Snow Leopard. I think <strong>I&#8217;m liking free and bundled software more and more!</strong><br />
<blockquote>Note: Some of these links include affiliate codes that help pay for this blog. For example, <a href="http://www.amazon.com/gp/product/B002Y27P3M?ie=UTF8&tag=packrat-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B002Y27P3M" target="_blank">buying an Amazon Kindle with this link</a> sends a few bucks my way! But I don't write this blog to make money, and am happy to link to sites and stores that don't pay anything. I like Amazon and buy tons from them, but you're free to buy whatever and wherever you want.</blockquote></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/"  rel="bookmark" class="crp_title">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a></li><li><a href="http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/"  rel="bookmark" class="crp_title">Microsoft Adds Data Deduplication to NTFS in Windows 8</a></li><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, December 3, 2010</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2009. |
<a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OS X Custom Drive Icons 2: Boot Camp and NTFS</title>
		<link>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/</link>
		<comments>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 15:00:08 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[VMware Fusion]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=566</guid>
		<description><![CDATA[In my last post, I discussed the simple but confusing steps required to add custom icons to Mac OS X drives. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well. There are two [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_485" class="wp-caption alignright" style="width: 294px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" ><img class="size-medium wp-image-485" title="Custom OS X Drive Icons" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" alt="Yup, my Boot Camp drive icon is customized, too!" width="284" height="207" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Yup, my Boot Camp drive icon is customized, too!</p></div>
<p>In my last post, I discussed the <a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-in-mac-os-x/"  target="_self">simple but confusing steps required to add custom icons to Mac OS X drives</a>. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well.</p>
<p>There are two core problems with customizing drive icons for certain volumes:</p>
<ol>
<li>OS X can&#8217;t directly write to anything but HFS+ and FAT, and this includes writing icons</li>
<li>OS X needs a special resource on the drive to indicate that the custom icon should be used, and only HFS+ supports this</li>
</ol>
<p>But it&#8217;s easy enough to get around these limitations. Apple takes care of number 2, and we can cover number 1 in one of two ways.</p>
<p><span id="more-566"></span></p>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p><strong>Techie Bits</strong></p>
<div id="attachment_567" class="wp-caption alignright" style="width: 112px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" ><img class="size-full wp-image-567" title="Generic OS X USB Drive Icon" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" alt="Booooooring generic USB drive icon in OS X" width="102" height="86" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Booooooring generic USB drive icon in OS X</p></div>
<p>Old versions of Mac OS stored lots of data (aka &#8220;resources&#8221;) in the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Resource_fork"  target="_blank">resource fork</a> of a file, including icon graphics. However, this became a problem with the advent of networking and cross-platform computing, since no other popular personal computing platform supported two-fork files. OS X moves most resources into the data fork &#8211; although resource forks still exist, they are rarely used.</p>
<p>However, it appears to me that although the &#8220;icns&#8221; data for a drive icon is stored in the data fork of the .VolumeIcon.icns file, Apple still uses a pointer in the resource fork of the root directory of the drive to tell OS X to use that icon. In other words, when a drive is mounted, OS X seems to look in the resource fork of &#8220;.&#8221; for a flag that says &#8220;use the icon in .VolumeIcon.icns&#8221; before it will use the icon. I&#8217;m not sure this is the case, but I do know that .VolumeIcon.icns has no resource fork (even on HFS+), but it requires a special resource file on other filesystems.</p>
<p>Since only HFS and HFS+ support resource forks, this is a problem. Apple gets around this by saving resource fork data in files with &#8220;._&#8221; prepended to their name. So the resource fork of &#8220;index.html&#8221; would be &#8220;._index.html&#8221; on a FAT drive. Every FAT drive I&#8217;ve added a custom icon to includes a file called &#8220;._.&#8221;, which sounds like the root directory&#8217;s resource to me, and this is required for the icon to work.</p>
<p><strong>Getting It Done</strong></p>
<div id="attachment_568" class="wp-caption alignright" style="width: 124px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" ><img class="size-full wp-image-568" title="Custom Maxtor 3200 Drive Icon in OS X" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" alt="Aah, thats a much better icon for my Maxtor 3200!" width="114" height="96" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Aah, that&#39;s a much better icon for my Maxtor 3200!</p></div>
<p>So you need two files on a non-HFS+ drive to get the custom icon to work:<br />
  </p>
<ol>
<li>.VolumeIcon.icns &#8211; the same exact file as on an HFS+ volume, containing the icon data in the data fork</li>
<li>._. &#8211; a special file (resource fork, perhaps?) which seems to tell OS X to use the icon</li>
</ol>
<p>As illustrated previously, adding a custom icon to a FAT drive is exactly the same as on an HFS+ drive &#8211; create the icon resource and copy and paste it in the drive&#8217;s Info inspector. If we move these two files over to any other OS X-readable drive (including NTFS-formatted Boot Camp partitions), it will use the icon!</p>
<p>OS X can&#8217;t write to NTFS, so there are two ways to get these files onto an NTFS drive:</p>
<ol>
<li>Make OS X write to NTFS by installing NTFS-3G</li>
<li>Copy the two files over in an OS like XP or Vista that <em>can</em> write to NTFS</li>
</ol>
<p>[ad#vmware]The first method is simple, but not one I wanted to try. <a rel="nofollow" href="http://macntfs-3g.blogspot.com/"  target="_blank">NTFS-3G</a> is great &#8211; it&#8217;s a reverse-engineered open-source read/write driver for NTFS, and works on lots of platforms. But NTFS is finicky, and I&#8217;m not too keen on risking the integrity of the drive with an unsupported driver. If you want to use this method, though, customizing the icons is as simple as it is with FAT, once the driver is installed.</p>
<p>I used method 2 &#8211; relying on VMware Fusion to allow me to write the icon data to my NTFS drives and using a FAT-formatted flash drive as an intermediary between OS X and Vista. I created my icons, applied them to my flash drive, then booted up Vista in Fusion and copied the two files over in a DOS window. They&#8217;re hidden by default, but that shouldn&#8217;t slow you down.</p>
<p>Note that this only affects the icons in OS X &#8211; it will not allow you to customize the boot icons.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/"  rel="bookmark" class="crp_title">Custom Icons Keep Removable Drives Straight</a></li><li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/"  rel="bookmark" class="crp_title">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a></li><li><a href="http://blog.fosketts.net/2009/09/11/bizarre-hfs-tricks-in-mac-os-x-10-6-snow-leopard/"  rel="bookmark" class="crp_title">Bizarre HFS+ Tricks in Mac OS X 10.6 Snow Leopard</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>3PAR&#8217;s Thin Un-Provisioning is Slightly Less Bad</title>
		<link>http://blog.fosketts.net/2008/09/02/3pars-thin-un-provisioning/</link>
		<comments>http://blog.fosketts.net/2008/09/02/3pars-thin-un-provisioning/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 15:01:32 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[3PAR]]></category>
		<category><![CDATA[data management]]></category>
		<category><![CDATA[Drobo]]></category>
		<category><![CDATA[LUN]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[storage management]]></category>
		<category><![CDATA[thin provisioning]]></category>
		<category><![CDATA[virtual provisioning]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=564</guid>
		<description><![CDATA[3PAR just introduced their third-generation storage hardware, bringing a novel feature to the world of thin provisioning: Hardware-assisted &#8220;zero-detection&#8221; to convert standard storage to thin provisioning. Although only certain special-case users will benefit from this technology, it&#8217;s nice to see someone working on one of the pitfalls of the technology &#8211; that it&#8217;s really hard [...]]]></description>
			<content:encoded><![CDATA[<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright" title="3PAR logo" src="http://www.3par.com/images/logo_3par.gif" alt="" width="165" height="88" /><br />
 <a href="http://www.3par.com/inservtclass/"  target="_blank">3PAR just introduced their third-generation storage hardware</a>, bringing a novel feature to the world of thin provisioning: Hardware-assisted &#8220;zero-detection&#8221; to convert standard storage to thin provisioning. Although only certain special-case users will benefit from this technology, it&#8217;s nice to see someone working on one of the pitfalls of the technology &#8211; that it&#8217;s really hard to convert from &#8220;fat&#8221; to thin, let alone to un-provision storage.</p>
<p><span id="more-564"></span></p>
<p><strong>What&#8217;s Wrong With Thin Provisioning?</strong></p>
<p>As I have explained in my storage seminars, thin provisioning is the opposite of what storage management professionals should be doing: Instead of managing usage, we just throw up our hands and say &#8220;you want 500 GB? Fine, you&#8217;ve got it!&#8221; while all the while only provisioning a fraction of that space. It&#8217;s a lie, and is thus bound to catch up with us sooner or later, and probably at just the wrong time.</p>
<p>People use disk space like money &#8211; their needs tend to expand to use up all they can get. Tell the users that you just added another 8 TB to the file server and watch their usage spike. Tell a database manager that they need to buy 20 TB and watch as their tablespaces magically start using 19. It&#8217;s human nature, and fighting this impulse to consume is precisely what management is all about. Traditional thin provisioning (or &#8220;<a href="http://sweden.emc.com/products/detail/software/symmetrix-virtual-provisioning.htm"  target="_blank">virtual provisioning</a>&#8221; in <a href="http://blog.fosketts.net/2008/05/21/jargon-watch-emc-3d-data-deduplication/"  target="_self">EMC-speak</a>) does exactly this &#8211; it &#8220;tells&#8221; the downstream users of a storage resource that they have more capacity than is actually assigned to them and then grows capacity as it is used. To say that it is <a rel="nofollow" href="http://thestorageanarchist.typepad.com/weblog/2007/05/virtual_provisi.html"  target="_blank">controversial</a> is an understatement.</p>
<p>In certain instances, including <a href="http://blog.fosketts.net/2008/07/08/drobo-2-apple-doesnt-fall-far-from-the-tree/"  target="_self">Drobo</a> and VMware growable disks, this can be beneficial since it&#8217;s a pain for most end-user OS configurations to resize a volume after the fact. In these special cases, I concede that thin provisioning is the right way to go. The same could be said for deduplicating or compressed storage &#8211; these simply have to be thin provisioned, since the actual allocation is completely abstracted by the compression algorithm. Thin provisioning can also help (slightly) for the OS volumes of virtual servers. But mainstream enterprise users have storage, server, and application managers, so they shouldn&#8217;t resort to &#8220;tricks&#8221; like thin provisioning &#8211; instead, they should manage their storage!</p>
<p>But the worst thing about thin provisioning is that it can&#8217;t un-provision storage. Let&#8217;s say a user uses your thin-provisioned file server as a temporary landing zone while switching to a new laptop. Or your database folks load their LUNs up with SQL dumps after an outage. Or your application folks fill up their test servers prior to going into production. Predictably, that thin-provisioned storage will expand, using up real disk capacity, to take the load (presuming enough capacity is available). The problem arises when they delete this temporary data &#8211; the storage array has no way of knowing that those blocks are no longer in use, so it cannot un-provision them. Suddenly your 500 GB thin-provisioned LUN is really taking up 400 GB even though it only has 20 GB of actual data on it, and you feel like a chump. Time to go manage your storage&#8230;</p>
<p><strong>Zero-detection helps a little</strong></p>
<p>Now back to 3PAR. Their new T-class InServ storage array has a special ASIC designed to attack a small chunk of the un-provisioning problem. It scans allocated storage, looking for blocks filled with zeros, and de-provisions them. This is nice &#8211; it&#8217;s a great tool to convert traditional storage to thin-provisioned storage. It&#8217;s also the first practical un-provisioning approach I&#8217;ve heard about, and might yield some capacity improvements for already-provisioned LUNs in certain special cases, though I&#8217;m not sure 3PAR is aiming for this market.</p>
<p>See, it&#8217;ll only work for zeroed-out storage, which is sadly extremely rare in the world of storage. It will detect capacity that has never been used, but most filesystems simply change their pointers when a file is deleted &#8211; leaving the data just where it was. 3PAR&#8217;s effort won&#8217;t work in this case. Even decommissioned servers often leave their LUNs full of old data, a security risk to be sure, and not a case that 3PAR could deal with, either.</p>
<p>The only way to make this work for already-used storage would be to add another step to the decommissioning process &#8211; zero out LUNs that are no longer in use as a way to send a signal to the storage array that it can un-provision that storage. But of course, we could also just send an email to the storage administrator to de-allocate the LUNs, leaving us in a much better position since we no longer have unused LUNs sitting on the storage array. Maybe we could modify the filesystem to zero out unused storage. Anyone have the source code for NTFS?</p>
<p>Seriously, though, this is a practical step in the right direction. We need better communication between applications, operating systems, and storage in order to enable lots of beneficial features. 3PAR is trying to enable some communication, and I applaud them for that. Just don&#8217;t expect too much.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2007/07/30/how-thin-are-you/"  rel="bookmark" class="crp_title">How Thin Are You?</a></li><li><a href="http://blog.fosketts.net/2007/07/23/brocade-adds-thin-provisioning/"  rel="bookmark" class="crp_title">Brocade Adds Thin Provisioning</a></li><li><a href="http://blog.fosketts.net/2008/10/16/symantecs-thin-api-step-direction/"  rel="bookmark" class="crp_title">Symantec&#8217;s Thin API Is A Step In The Right Direction</a></li><li><a href="http://blog.fosketts.net/2011/02/22/processing-scheduling-thin-provisioning/"  rel="bookmark" class="crp_title">Processing and Scheduling Thin Provisioning</a></li><li><a href="http://blog.fosketts.net/2011/01/06/bridge-veritas-thin-provisioning-api/"  rel="bookmark" class="crp_title">The Bridge: Veritas Thin (Provisioning) API</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/09/02/3pars-thin-un-provisioning/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/09/02/3pars-thin-un-provisioning/">3PAR&#8217;s Thin Un-Provisioning is Slightly Less Bad</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/09/02/3pars-thin-un-provisioning/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

