<?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>Eric Mason &#187; Uncategorized</title>
	<atom:link href="http://ericmason.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericmason.net</link>
	<description>From Fort Lauderdale, Ruby, Linux, Photography, and Random Things</description>
	<lastBuildDate>Tue, 15 Nov 2011 20:22:02 +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>Christmas Night</title>
		<link>http://ericmason.net/2008/12/christmas-night/</link>
		<comments>http://ericmason.net/2008/12/christmas-night/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 23:45:18 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=82</guid>
		<description><![CDATA[Thanks to Elizabeth and Jimmy and Moises and Cathie for a great party!  Pictures are here. Tweet]]></description>
			<content:encoded><![CDATA[<p>Thanks to Elizabeth and Jimmy and Moises and Cathie for a great party!  <a href="http://www.flickr.com/photos/ericmason/sets/72157611697087530/">Pictures are here.</a></p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157611697087530/"><img class="alignnone" src="http://farm4.static.flickr.com/3220/3139211452_27c992c6d9.jpg?v=1230335097" alt="" width="333" height="500" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/12/christmas-night/&via=ericmason&text=Christmas Night&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Day</title>
		<link>http://ericmason.net/2008/12/christmas-day/</link>
		<comments>http://ericmason.net/2008/12/christmas-day/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 23:40:24 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=77</guid>
		<description><![CDATA[Merry Christmas! Pictures are here. Tweet]]></description>
			<content:encoded><![CDATA[<p>Merry Christmas! <a href="http://www.flickr.com/photos/ericmason/sets/72157611634352705/">Pictures are here.</a></p>
<div class="mceTemp">
<dl class="wp-caption alignnone" style="width: 343px;">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/ericmason/sets/72157611634352705/"><img title="Christmas Day" src="http://farm4.static.flickr.com/3079/3138312409_9eb45e5cf7.jpg?v=0" alt="http://www.flickr.com/photos/ericmason/sets/72157611634352705/" width="333" height="500" /></a></dt>
</dl>
</div>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/12/christmas-day/&via=ericmason&text=Christmas Day&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Tree</title>
		<link>http://ericmason.net/2008/12/christmas-tree/</link>
		<comments>http://ericmason.net/2008/12/christmas-tree/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:44:52 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=74</guid>
		<description><![CDATA[The tree is up! Tweet]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/ericmason/sets/72157610700774026/">The tree is up!</a></p>
<p><span style="color: #551a8b; text-decoration: underline;"><a href="http://flickr.com/photos/ericmason/sets/72157610700774026/"><img class="alignnone" title="Christmas Tree" src="http://farm4.static.flickr.com/3173/3106961357_41bb4d4378.jpg?v=0" alt="" width="292" height="500" /></a></span></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/12/christmas-tree/&via=ericmason&text=Christmas Tree&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-tree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thanksgiving</title>
		<link>http://ericmason.net/2008/12/thanksgiving/</link>
		<comments>http://ericmason.net/2008/12/thanksgiving/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 16:15:21 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=72</guid>
		<description><![CDATA[Thanksgiving was a lot of fun.  We had 20 people here at our house.  Check out the pictures. Tweet]]></description>
			<content:encoded><![CDATA[<p>Thanksgiving was a lot of fun.  We had 20 people here at our house.  <a href="http://flickr.com/photos/ericmason/sets/72157610601998081/">Check out the pictures.</a></p>
<p><a href="http://flickr.com/photos/ericmason/sets/72157610601998081/"><img class="alignnone" title="Pumpkin Pie" src="http://farm4.static.flickr.com/3288/3079456747_d4904c20f5.jpg?v=0" alt="" width="467" height="500" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/12/thanksgiving/&via=ericmason&text=Thanksgiving&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/thanksgiving/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fall Photos</title>
		<link>http://ericmason.net/2008/12/fall-photos/</link>
		<comments>http://ericmason.net/2008/12/fall-photos/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 16:13:34 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=70</guid>
		<description><![CDATA[Tweet]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/ericmason/sets/72157610593461501/"><img class="alignnone" title="Jen Pumpkin" src="http://farm4.static.flickr.com/3225/3078715654_8f31f2fb8e.jpg?v=0" alt="" width="375" height="500" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/12/fall-photos/&via=ericmason&text=Fall Photos&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/fall-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Church Picnic</title>
		<link>http://ericmason.net/2008/10/church-picnic/</link>
		<comments>http://ericmason.net/2008/10/church-picnic/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 12:14:13 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=68</guid>
		<description><![CDATA[First Baptist Church of Pompano Beach had our 2008 picnic yesterday at Quiet Waters Park in Deerfield Beach.  Check out the pictures. Tweet]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fbcpompano.org/">First Baptist Church of Pompano Beach</a> had our 2008 picnic yesterday at Quiet Waters Park in Deerfield Beach.  <a href="http://www.flickr.com/photos/ericmason/sets/72157608416045765/">Check out the pictures.</a></p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157608416045765/"><img class="alignnone" title="Picnic" src="http://farm4.static.flickr.com/3293/2977048856_8a559f9334.jpg?v=0" alt="" width="500" height="333" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/10/church-picnic/&via=ericmason&text=Church Picnic&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/10/church-picnic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dan and Lauren&#8217;s Wedding</title>
		<link>http://ericmason.net/2008/10/dan-and-laurens-wedding/</link>
		<comments>http://ericmason.net/2008/10/dan-and-laurens-wedding/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 00:33:30 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=63</guid>
		<description><![CDATA[Congratulations to our good friends Dan Cohen and Lauren Taub!  They were married October 12 in Lincon, Massachusetts. Tweet]]></description>
			<content:encoded><![CDATA[<p>Congratulations to our good friends Dan Cohen and Lauren Taub!  They were married October 12 in Lincon, Massachusetts.</p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157608040869485/"><img class="alignnone" title="Lauren" src="http://farm4.static.flickr.com/3006/2943261118_81abb9662b.jpg?v=0" alt="" width="500" height="375" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/10/dan-and-laurens-wedding/&via=ericmason&text=Dan and Lauren's Wedding&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/10/dan-and-laurens-wedding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazon EBS Snapshot Backups with LVM and XFS</title>
		<link>http://ericmason.net/2008/09/amazon-ebs-snapshot-backups-with-lvm-and-xfs/</link>
		<comments>http://ericmason.net/2008/09/amazon-ebs-snapshot-backups-with-lvm-and-xfs/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 13:53:21 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon aws]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=32</guid>
		<description><![CDATA[I&#8217;m working on setting up a server to host email accounts on Amazon EC2 using the newly released Elastic Block Storage.  My benchmarking has shown XFS to be better than ReiserFS for this task &#8211; and presumably EXT3, but I ran &#8230; <a href="http://ericmason.net/2008/09/amazon-ebs-snapshot-backups-with-lvm-and-xfs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on setting up a server to host email accounts on <a href="http://aws.amazon.com/ec2">Amazon EC2</a> using the newly released Elastic Block Storage.  My benchmarking has shown XFS to be better than ReiserFS for this task &#8211; and presumably EXT3, but I ran out of patience.</p>
<p>Since I will need to grow the filesystem in the future, I am using LVM.  This also allows me to break up the logical volume into separate EBS volumes, which should increase random access performance.  <span id="more-32"></span></p>
<p>Right now for testing, I have a single LVM volume group and logical volume comprised of three &#8220;physical&#8221; EBS volumes of 100GB each. </p>
<p>Although EBS&#8217;s snapshot command completes quickly and the snapshots are consistent as of the time the command is run (there is a pause in access to the filesystem while the snapshot starts), the use of multiple EBS volumes complicates matters.  In order to get a consistent snapshot, the whole filesystem needs to be stopped while a snapshot is begun on each of the underlying EBS volumes.  Conveniently XFS has a &#8220;freeze&#8221; command to flush the whole filesystem and prevent writes until it is unfrozen.</p>
<p>Here&#8217;s my current snapshot script:</p>
<pre>#!/bin/bash

SNAP_CMD=/usr/local/ec2/bin/ec2-create-snapshot
MOUNT_POINT=/mail
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
export EC2_CERT=/mnt/aws-config/cert-XXXX.pem
export EC2_HOME=/usr/local/ec2
export EC2_PRIVATE_KEY=/mnt/aws-config/pk-XXXX.pem

vols=("vol-xxxx" "vol-xxxx" "vol-xxxx")
i=0
xfs_freeze -f $MOUNT_POINT

for vol in ${vols[@]}
do
        $SNAP_CMD $vol &#038;
        pids[i]=$!
        let i+=1
done

for pid in ${pids[@]}
do
        wait $pid
done

xfs_freeze -u $MOUNT_POINT
</pre>
<div><span><br />
</span></div>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/09/amazon-ebs-snapshot-backups-with-lvm-and-xfs/&via=ericmason&text=Amazon EBS Snapshot Backups with LVM and XFS&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/09/amazon-ebs-snapshot-backups-with-lvm-and-xfs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://ericmason.net/2008/08/hello-world/</link>
		<comments>http://ericmason.net/2008/08/hello-world/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 00:41:04 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/blog/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! Tweet]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2008/08/hello-world/&via=ericmason&text=Hello world!&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

