<?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>Frozen Industries</title>
	<atom:link href="http://www.frozenindustries.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozenindustries.com</link>
	<description>A Project Blog</description>
	<lastBuildDate>Mon, 01 Feb 2010 08:28:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Software RAID10 Benchmarks</title>
		<link>http://www.frozenindustries.com/2010/01/31/linux-software-raid10-benchmarks/</link>
		<comments>http://www.frozenindustries.com/2010/01/31/linux-software-raid10-benchmarks/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 21:55:34 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[file systems]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=205</guid>
		<description><![CDATA[Tests are done across four 7200RPM SATAII drives on a PCI (32-bit, 133MB/sec theoretical max) SATA II card, probably the slowest bus configuration possible. Done on Ubuntu 9.10 AMD64 Server.
Benchmark is a simple &#8216;dd&#8217; sequential read and write.
write: dd if=/dev/zero of=/dev/md2 bs=1M
read: dd if=/dev/md2 of=/dev/null bs=1M
mdadm &#8211;create /dev/md2 &#8211;verbose &#8211;level=10 &#8211;layout=n2 &#8211;raid-devices=4 /dev/sd[ftlm]1
write: 13.2 MB/s
read: [...]]]></description>
			<content:encoded><![CDATA[<p>Tests are done across four 7200RPM SATAII drives on a PCI (32-bit, 133MB/sec theoretical max) SATA II card, probably the slowest bus configuration possible. Done on Ubuntu 9.10 AMD64 Server.</p>
<p>Benchmark is a simple &#8216;dd&#8217; sequential read and write.</p>
<blockquote><p>write: dd if=/dev/zero of=/dev/md2 bs=1M<br />
read: dd if=/dev/md2 of=/dev/null bs=1M</p></blockquote>
<p>mdadm &#8211;create /dev/md2 &#8211;verbose &#8211;level=10 &#8211;layout=n2 &#8211;raid-devices=4 /dev/sd[ftlm]1</p>
<blockquote><p>write: 13.2 MB/s<br />
read: 4.0 MB/s</p></blockquote>
<p>mdadm &#8211;create /dev/md2 &#8211;verbose &#8211;level=10 &#8211;layout=f2 &#8211;raid-devices=4 /dev/sd[ftlm]1</p>
<blockquote><p>write: 48.3 MB/s<br />
read: 92.7 MB/s</p></blockquote>
<p>mdadm &#8211;create /dev/md2 &#8211;verbose &#8211;level=10 &#8211;layout=o2 &#8211;raid-devices=4 /dev/sd[ftlm]1</p>
<blockquote><p>write: 47.4 MB/s<br />
read: 98.7 MB/s</p></blockquote>
<p>And some comparisions:</p>
<p>RAID1</p>
<blockquote><p>write: 38.9 MB/s<br />
read: 64.8 MB/s</p></blockquote>
<p>Single Disk</p>
<blockquote><p>write: 59.4 MB/s<br />
read: 71.9 MB/s</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2010/01/31/linux-software-raid10-benchmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Stale LVM Devices</title>
		<link>http://www.frozenindustries.com/2010/01/23/remove-stale-lvm-devices/</link>
		<comments>http://www.frozenindustries.com/2010/01/23/remove-stale-lvm-devices/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 06:47:04 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[file systems]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=182</guid>
		<description><![CDATA[Have an LVM device left on your system from a drive that was removed before pvremove was run?
$ sudo dmsetup remove /dev/mapper/removed-device
]]></description>
			<content:encoded><![CDATA[<p>Have an LVM device left on your system from a drive that was removed before pvremove was run?</p>
<blockquote><p>$ sudo dmsetup remove /dev/mapper/removed-device</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2010/01/23/remove-stale-lvm-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Tivo Twitters</title>
		<link>http://www.frozenindustries.com/2009/09/22/my-tivo-twitters/</link>
		<comments>http://www.frozenindustries.com/2009/09/22/my-tivo-twitters/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 05:54:28 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[devices]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=151</guid>
		<description><![CDATA[I wrote a short script that sends a Tweet whenver my Tivo HD starts recording a show. You can download it below. It runs best on a Linux computer that can constantly poll the Tivo.
Download: tivo_twitter.sh script
Results: http://twitter.com/30west
]]></description>
			<content:encoded><![CDATA[<p>I wrote a short script that sends a Tweet whenver my Tivo HD starts recording a show. You can download it below. It runs best on a Linux computer that can constantly poll the Tivo.</p>
<p>Download: <a href="http://www.frozenindustries.com/files/tivo_twitter.sh">tivo_twitter.sh script</a></p>
<p>Results: <a href="http://twitter.com/30west">http://twitter.com/30west</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2009/09/22/my-tivo-twitters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>365 Days of Uptime on a Linksys router</title>
		<link>http://www.frozenindustries.com/2009/07/08/365-days-of-uptime-on-a-linksys-router/</link>
		<comments>http://www.frozenindustries.com/2009/07/08/365-days-of-uptime-on-a-linksys-router/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 02:49:13 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[devices]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=142</guid>
		<description><![CDATA[I passed 365 days of uptime on my Linksys WRT54GL v1.1 router. It&#8217;s running DD-WRT firmware, and sits on a large APC UPS. Total data transfer on the router&#8217;s WAN port is reported at 1,570,619 MB down/ 79,832 MB up.


]]></description>
			<content:encoded><![CDATA[<p>I passed 365 days of uptime on my Linksys WRT54GL v1.1 router. It&#8217;s running DD-WRT firmware, and sits on a large APC UPS. Total data transfer on the router&#8217;s WAN port is reported at <span id="ttraff_in">1,570,619 MB down/ </span><span id="ttraff_out">79,832 MB up.<br />
</span></p>
<p><img class="aligncenter size-full wp-image-141" title="365days" src="http://www.frozenindustries.com/wp-content/uploads/2009/07/365days.png" alt="365days" width="520" height="355" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2009/07/08/365-days-of-uptime-on-a-linksys-router/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Replace an LVM Drive with a Larger One</title>
		<link>http://www.frozenindustries.com/2009/03/21/replace-an-lvm-drive-with-a-larger-one/</link>
		<comments>http://www.frozenindustries.com/2009/03/21/replace-an-lvm-drive-with-a-larger-one/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 06:56:19 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[file systems]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=125</guid>
		<description><![CDATA[LVM allows you to hot add devices to expand volume space. It also allows you to hot remove devices, as long as there are enough free extents in the volume group (vgdisplay) to move data around. Here I&#8217;m going to replace a 400 GB drive (sdg) with a 750 GB one (sdf) from logical volume [...]]]></description>
			<content:encoded><![CDATA[<p>LVM allows you to hot add devices to expand volume space. It also allows you to hot remove devices, as long as there are enough free extents in the volume group (vgdisplay) to move data around. Here I&#8217;m going to replace a 400 GB drive (sdg) with a 750 GB one (sdf) from logical volume &#8220;backup&#8221; on volume group &#8220;disks&#8221;. It does not matter how many hard drives are in the volume group, and the filesystem can stay mounted.</p>
<ol>
<li>Partition and create a physical volume on the device<br />
<blockquote><p>$ sudo pvcreate /dev/sdh1</p></blockquote>
</li>
<li>Add the new drive to the volume group<br />
<blockquote><p>$ sudo vgextend disks /dev/sdh1</p></blockquote>
</li>
<li>Move all extents from the old drive to the new one (this step may take hours)<br />
<blockquote><p>$  sudo pvmove /dev/sdg1</p></blockquote>
</li>
<li>Remove the old drive<br />
<blockquote><p>$ sudo vgreduce disks /dev/sdg1</p></blockquote>
</li>
<li>Expand the logical volume to use the rest of the disk. In this case, another 350GB.<br />
<blockquote><p>$ sudo lvextend -l+83463 /dev/disks/backup</p></blockquote>
</li>
<li>Expand the file system<br />
<blockquote><p>$ sudo resize2fs /dev/disks/backup</p></blockquote>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2009/03/21/replace-an-lvm-drive-with-a-larger-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding and Building RAID Arrays</title>
		<link>http://www.frozenindustries.com/2008/11/04/building-and-finding-raid-arrays/</link>
		<comments>http://www.frozenindustries.com/2008/11/04/building-and-finding-raid-arrays/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 18:49:15 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[file systems]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/?p=101</guid>
		<description><![CDATA[Scan a system for RAID arrays and save findings so the array reappears across reboots:
mdadm --detail --scan &#62;&#62; /etc/mdadm/mdadm.conf
Create a RAID5 array out of sdm1, sdj1, and sdk1 (all partitioned with raid-autodetect partitions)
mdadm --create /dev/md1 --level=5 --raid-devices=3 /dev/sd[mjk]1
]]></description>
			<content:encoded><![CDATA[<p>Scan a system for RAID arrays and save findings so the array reappears across reboots:</p>
<blockquote><p><code>mdadm --detail --scan &gt;&gt; /etc/mdadm/mdadm.conf</code></p></blockquote>
<p>Create a RAID5 array out of sdm1, sdj1, and sdk1 (all partitioned with raid-autodetect partitions)</p>
<blockquote><p><code>mdadm --create /dev/md1 --level=5 --raid-devices=3 /dev/sd[mjk]1</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2008/11/04/building-and-finding-raid-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start Folding@Home on Boot with Screen on Ubuntu Linux</title>
		<link>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/</link>
		<comments>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:19:31 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/</guid>
		<description><![CDATA[Quick instructions to get Folding@home (or any other program) to run at boot before user login on Ubuntu Linux. This probably works on other distros with an rc.local file too.
1. Install F@H client, mine is in /opt/folding
2. Create a simple script, I called mine folding.sh and is only has:
#!/bin/bash
cd /opt/folding
./fah6 -smp
3. Put the screen command [...]]]></description>
			<content:encoded><![CDATA[<p>Quick instructions to get Folding@home (or any other program) to run at boot before user login on Ubuntu Linux. This probably works on other distros with an rc.local file too.</p>
<p>1. Install F@H client, mine is in /opt/folding</p>
<p>2. Create a simple script, I called mine folding.sh and is only has:</p>
<blockquote><p>#!/bin/bash<br />
cd /opt/folding<br />
./fah6 -smp</p></blockquote>
<p>3. Put the screen command in /etc/rc.local. This will execute as user nick (su nick -c), &#8220;-dmS&#8221; will create the session detached and name it folding, and &#8220;bash &#8211;rcfile&#8221; will allow the screen session to keep running even if folding quits.</p>
<blockquote><p>su nick -c &#8220;screen -dmS folding bash &#8211;rcfile /home/nick/bin/folding.sh&#8221;</p></blockquote>
<p>Folding@home now starts whenever the computer boots, before anyone logs in. Nick can reattach to it and  control it or watch the progress by running &#8220;screen -r folding&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tripwire on Ubuntu 6.06</title>
		<link>http://www.frozenindustries.com/2007/12/23/tripwire-on-ubuntu-606/</link>
		<comments>http://www.frozenindustries.com/2007/12/23/tripwire-on-ubuntu-606/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 00:05:03 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/12/23/tripwire-on-ubuntu-606/</guid>
		<description><![CDATA[Quick instructions to getting Tripwire installed and running on Ubuntu 6.06 LTS (Dapper Drake).  For more detailed instructions check out this site.
1. Install Tripwire. Say Yes to everything, and create some passwords.
% sudo apt-get install tripwire
% sudo tripwire -m i
2. Fix the policy. I was getting many errors that looked like:
### Warning: File system [...]]]></description>
			<content:encoded><![CDATA[<p>Quick instructions to getting Tripwire installed and running on Ubuntu 6.06 LTS (Dapper Drake).  For more detailed instructions check out <a href="http://www.alwanza.com/howto/linux/tripwire.html">this site</a>.</p>
<p>1. Install Tripwire. Say Yes to everything, and create some passwords.</p>
<blockquote><p><code>% sudo apt-get install tripwire</code><br />
<code>% sudo tripwire -m i</code></p></blockquote>
<p>2. Fix the policy. I was getting many errors that looked like:</p>
<blockquote><p>### Warning: File system error.<br />
### Filename: /root/.Xauthority<br />
### No such file or directory</p></blockquote>
<p>I removed the non-existent files from the policy file with the following commands:</p>
<blockquote><p><code>% sudo cp /etc/tripwire/twpol.txt /etc/tripwire/twpol.txt.bak<br />
% sudo vim /etc/tripwire/twpol.txt<br />
% sudo tripwire --update-policy -Z low /etc/tripwire/twpol.txt</code></p></blockquote>
<p>Later, when you need to update the database, such as after running updates (adjust the date and number from then end of the file, or sometimes you can just drop the whole -r flag):</p>
<blockquote><p><code>% sudo tripwire -m u -r /var/lib/tripwire/report/closetbox64-20071223-133927.twr</code></p></blockquote>
<p>By default, Tripwire will be set to email whenever it sees changes. To quickly check the status, run:</p>
<blockquote><p><code>% sudo tripwire --check</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/12/23/tripwire-on-ubuntu-606/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run a Command on Boot for Ubuntu</title>
		<link>http://www.frozenindustries.com/2007/10/10/run-a-command-on-boot-for-ubuntu/</link>
		<comments>http://www.frozenindustries.com/2007/10/10/run-a-command-on-boot-for-ubuntu/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 05:46:59 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/10/10/run-a-command-on-boot-for-ubuntu/</guid>
		<description><![CDATA[I used this to start fetchmail on an Ubuntu 7.10 server running Request Tracker.
Edit /etc/rc.local,  add your command, make sure it doesn&#8217;t create any output. This is my command:
su rt -c &#8220;fetchmail -d 300&#8243; &#62; /dev/null 2&#62;&#38;1
It starts a background fetchmail process as the &#8220;rt&#8221; user, just as the Request Tracker documentation states.
]]></description>
			<content:encoded><![CDATA[<p>I used this to start fetchmail on an Ubuntu 7.10 server running Request Tracker.</p>
<p>Edit /etc/rc.local,  add your command, make sure it doesn&#8217;t create any output. This is my command:</p>
<blockquote><p>su rt -c &#8220;fetchmail -d 300&#8243; &gt; /dev/null 2&gt;&amp;1</p></blockquote>
<p>It starts a background fetchmail process as the &#8220;rt&#8221; user, just as the Request Tracker documentation states.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/10/10/run-a-command-on-boot-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>erm</title>
		<link>http://www.frozenindustries.com/2007/09/11/erm/</link>
		<comments>http://www.frozenindustries.com/2007/09/11/erm/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 06:29:03 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[ramblings]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/09/11/erm/</guid>
		<description><![CDATA[Dear Intel,
Thank you for including Windows AHCI drivers on floppy disks with your new DQ35JO motherboard. However, putting a floppy disk drive controller on the motherboard would be useful too.
Thanks,
Nick
]]></description>
			<content:encoded><![CDATA[<p>Dear Intel,</p>
<p>Thank you for including Windows AHCI drivers on floppy disks with your new DQ35JO motherboard. However, putting a floppy disk drive controller on the motherboard would be useful too.</p>
<p>Thanks,</p>
<p>Nick</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/09/11/erm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
