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

<channel>
	<title>The Storage Architect &#187; FAT</title>
	<atom:link href="http://thestoragearchitect.com/tag/fat/feed/" rel="self" type="application/rss+xml" />
	<link>http://thestoragearchitect.com</link>
	<description>Storage, Virtualisation &#38; Cloud</description>
	<lastBuildDate>Wed, 23 May 2012 22:20:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>LUN Stacker</title>
		<link>http://thestoragearchitect.com/2008/11/04/lun-stacker/</link>
		<comments>http://thestoragearchitect.com/2008/11/04/lun-stacker/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 13:00:00 +0000</pubDate>
		<dc:creator>Chris M Evans</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[LUN consolidation]]></category>
		<category><![CDATA[MFT]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[stacker]]></category>
		<category><![CDATA[svc]]></category>
		<category><![CDATA[UVM]]></category>

		<guid isPermaLink="false">http://thestoragearchitect.wordpress.com/2008/11/04/lun-stacker/</guid>
		<description><![CDATA[<p>A <a rel="nofollow" href="http://storagebod.typepad.com/storagebods_blog/2008/10/a-stacked-feature-request.html" >recent post</a> from Martin &#8220;The Bod&#8221; Glassborow got me thinking about the whole process of LUN consolidation. I&#8217;ve done lots of migrations where people quake at the thought of changing the LUN size from one array to another. Now, I almost always want to change LUN sizes, as the vendor specific [...]<!--Begin ClixTrac.com Rotator Code -->
<script type="text/javascript" language="javascript" src="http://www.clixtrac.com/rotate/321"></script>
<!--End ClixTrac.com Rotator Code -->]]></description>
			<content:encoded><![CDATA[<p>A <a rel="nofollow" href="http://storagebod.typepad.com/storagebods_blog/2008/10/a-stacked-feature-request.html" >recent post</a> from Martin &#8220;The Bod&#8221; Glassborow got me thinking about the whole process of LUN consolidation. I&#8217;ve done lots of migrations where people quake at the thought of changing the LUN size from one array to another. Now, I almost always want to change LUN sizes, as the vendor specific ones &#8211; 8.43GB/13.59GB etc are pretty painful and wasteful at the same time.</p>
<p>There&#8217;s another good reason to standardise on LUNs. If you&#8217;ve implemented a good dual-vendor strategy and sorted your firmware driver stack out, then you can position to take storage from any of your preferred vendors. There&#8217;s nothing better than having all of your vendors sweating on that next 500TB purchase when they know you take your storage from either or EMC/HDS/HP/IBM.</p>
<p>If LUNs and the I/O stack are all standardised, you can move data around too. The difficult part as alluded to in Martin&#8217;s post is achieving the restacking of data.</p>
<p><a rel="nofollow" href="http://4.bp.blogspot.com/_b1B7GuxiR0o/SRBSWMGJjlI/AAAAAAAAAGg/kFxK7hRVCTE/s1600-h/Stacker+-+4-11-08+-+1.jpg" ><img style="float:right;width:320px;cursor:hand;height:181px;margin:0 0 10px 10px;" alt="" src="http://4.bp.blogspot.com/_b1B7GuxiR0o/SRBSWMGJjlI/AAAAAAAAAGg/kFxK7hRVCTE/s320/Stacker+-+4-11-08+-+1.jpg" border="0" /></a></p>
<p>Here&#8217;s the problem; SAN storage is inherently block based and the underlying hardware has no idea of how you will lay out your data. Have a look at the following diagram. Each LUN from a SAN perspective is divided into blocks and each block has a logical block address. The array just services requests from the host for a block of data and reads/writes it on demand. It is the operating system which determines how the file system should be laid out on the underlying storage. Each volume will have a standard location (or standard method of calculating the location) for what was called the VTOC (Volume Table of Contents), also known as the FAT (File Allocation Table) in DOS and MFT (Master File Table) in NTFS. There are similar constructs for other O/S versions like Linux but I&#8217;m not 100% certain of the terminology so won&#8217;t risk the rath of getting it wrong.</p>
<p>The layout of data on a file system is not a trivial task. Apart from keeping track of files, there&#8217;s the requirement to keep track of free space and to be able to recreate the file index in the case of corruption, so some kind of journalling is likely to be implemented. There are also features such as compression, Single Instancing, Encryption, etc which all add to the mix of understanding exactly how file data is laid out on disk.</p>
<p><a rel="nofollow" href="http://4.bp.blogspot.com/_b1B7GuxiR0o/SRBW-ENJzSI/AAAAAAAAAGo/w-bsTXUSRlY/s1600-h/Stacker+-+4-11-08+-+2.jpg" ><img style="float:right;width:320px;cursor:hand;height:153px;margin:0 0 10px 10px;" alt="" src="http://4.bp.blogspot.com/_b1B7GuxiR0o/SRBW-ENJzSI/AAAAAAAAAGo/w-bsTXUSRlY/s320/Stacker+-+4-11-08+-+2.jpg" border="0" /></a>Now think of how multiple LUNs are currently connected together. This will be achieved with either a Volume Manager (like <a rel="nofollow" href="http://en.wikipedia.org/wiki/Veritas_Volume_Manager" >VxVM</a>), supplied as a separate product, or a native LVM (logical volume manager). All of these tools will spread the &#8220;logical&#8221; volume across multiple LUNs and will format the LUN with information to enable the volume to be recreated if the LUNs are moved to another host. VxVM achieves this by having a private area on each LUN which contains metadata to rebuild the logical volume. Each LUN can be divided into sub-disks and then recombined into a logical volume, as shown in this diagram.</p>
<p>So a physical LUN from an array may contain a whole or partial segment of a host volume, including LVM metadata.  Determining what part, whether all the parts are on this array (and where) is a tricky task &#8211; and we&#8217;re expecting that the transmission protocol (i.e. the fabric) can determine all of this information &#8220;on the fly&#8221; as it were.</p>
<p>My thought would be &#8211; why bother with a fabric-based consolidation tool? Products like VxVM provide a wide set of commands for volume migration, although not automated they certainly make the migration task more simple. I&#8217;ve seen some horrendous VxVM implementations, which would require some pretty impressive logic to be developed in order to understand how to deconstruct and reconstruct a volume.  However life is not that simple, and host-based migrations aren&#8217;t always easy to execute on, so potentially a product would be commercially viable, even if the first implementation was an offline version which couldn&#8217;t cope with host I/O at the same time.  </p>
<p>Funny, what&#8217;s required sounds a bit like a virtualisation product &#8211; perhaps the essence of this is already coded in SVC, UVM or Incipient?</p>
<div class="blogger-post-footer">
<p>_uacct = &#8220;UA-1104321-2&#8243;;<br />
urchinTracker();
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://thestoragearchitect.com/2008/11/04/lun-stacker/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

