<?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"
	>

<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>
	<pubDate>Tue, 04 Nov 2008 18:49:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<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 Brand</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>
		</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 Brand</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>
		</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 Brand</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<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 [...]]]></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></code><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></code></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/12/23/tripwire-on-ubuntu-606/feed/</wfw:commentRss>
		</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 Brand</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>
		</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 Brand</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>
		</item>
		<item>
		<title>hdparm -t /dev/md0</title>
		<link>http://www.frozenindustries.com/2007/06/22/hdparm-t-devmd0/</link>
		<comments>http://www.frozenindustries.com/2007/06/22/hdparm-t-devmd0/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 14:25:49 +0000</pubDate>
		<dc:creator>Nick Brand</dc:creator>
		
		<category><![CDATA[file systems]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/06/22/hdparm-t-devmd0/</guid>
		<description><![CDATA[/dev/md0:
Timing buffered disk reads:  1248 MB in  3.00 seconds = 415.65 MB/sec
]]></description>
			<content:encoded><![CDATA[<blockquote><code>/dev/md0:<br />
Timing buffered disk reads:  1248 MB in  3.00 seconds = 415.65 MB/sec</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/06/22/hdparm-t-devmd0/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MDADM Versions</title>
		<link>http://www.frozenindustries.com/2007/06/16/mdadm-versions/</link>
		<comments>http://www.frozenindustries.com/2007/06/16/mdadm-versions/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 20:36:24 +0000</pubDate>
		<dc:creator>Nick Brand</dc:creator>
		
		<category><![CDATA[file systems]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/06/16/mdadm-versions/</guid>
		<description><![CDATA[mdadm - kernel - distro
1.12.0 - 2.6.15 - Ubuntu 6.06 LTS
2.5.6  - 2.6.20 - Ubuntu 7.04
2.6.3 - 2.6.24 - Ubuntu 8.04 LTS
2.6.7 - 2.6.27 - Ubuntu 8.10
1.12.0 - 2.6.9  - CentOS 4.5
2.5.4  - 2.6.18 - CentOS 5.0
2.5.6  - 2.6.18 - Debian 4.0r0
2.6.1  - 2.6.21 - Fedora 7
MDADM 2.x on kernels [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><code>mdadm - kernel - distro</code></p></blockquote>
<blockquote><p><code>1.12.0 - 2.6.15 - Ubuntu 6.06 LTS</code><code><br />
2.5.6  - 2.6.20 - Ubuntu 7.04</code><br />
<code>2.6.3 - 2.6.24 - Ubuntu 8.04 LTS<br />
2.6.7 - 2.6.27 - Ubuntu 8.10<br />
1.12.0 - 2.6.9  - CentOS 4.5</code><br />
<code>2.5.4  - 2.6.18 - CentOS 5.0</code><br />
<code>2.5.6  - 2.6.18 - Debian 4.0r0</code><br />
<code>2.6.1  - 2.6.21 - Fedora 7</code></p></blockquote>
<p>MDADM 2.x on kernels &gt;2.6.17 supports online resizing of RAID 5 arrays <img src='http://www.frozenindustries.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/06/16/mdadm-versions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Speed Up Rebuilding Linux Software RAID Arrarys</title>
		<link>http://www.frozenindustries.com/2007/05/16/speed-up-rebuilding-linux-raid-arrarys/</link>
		<comments>http://www.frozenindustries.com/2007/05/16/speed-up-rebuilding-linux-raid-arrarys/#comments</comments>
		<pubDate>Wed, 16 May 2007 17:16:41 +0000</pubDate>
		<dc:creator>Nick Brand</dc:creator>
		
		<category><![CDATA[file systems]]></category>

		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/05/16/speed-up-rebuilding-linux-raid-arrarys/</guid>
		<description><![CDATA[# cat /proc/mdstat
md0 : active raid5 sdf1[7] sdb1[0] sde1[5] sdg1[4] sdh1[3] sdd1[2] sdc1[1]
1465175424 blocks level 5, 64k chunk, algorithm 2 [7/6] [UUUUUU_]
[&#62;....................]  recovery =  1.3% (3331200/244195904) finish=2357.0min speed=1700K/sec
Ouch. Two files are used to control the speed of rebuilding RAID arrays in Linux.
/proc/sys/dev/raid/speed_limit_min
/proc/sys/dev/raid/speed_limit_max
Even though my _max file is set to 200,000K/sec and my system [...]]]></description>
			<content:encoded><![CDATA[<blockquote># cat /proc/mdstat</p></blockquote>
<blockquote><p>md0 : active raid5 sdf1[7] sdb1[0] sde1[5] sdg1[4] sdh1[3] sdd1[2] sdc1[1]<br />
1465175424 blocks level 5, 64k chunk, algorithm 2 [7/6] [UUUUUU_]<br />
[&gt;....................]  recovery =  1.3% (3331200/244195904) <strong>finish=2357.0min speed=1700K/sec</strong></p></blockquote>
<p>Ouch. Two files are used to control the speed of rebuilding RAID arrays in Linux.</p>
<blockquote><p>/proc/sys/dev/raid/speed_limit_min<br />
/proc/sys/dev/raid/speed_limit_max</p></blockquote>
<p>Even though my _max file is set to 200,000K/sec and my system is not doing anything, my RAID 5 rebuild process is hovering around the _min rebuild speed, of 1,000K/sec. With my setup this will take approximately 40 hours to complete, which is too long for me to wait.  So, I pushed the _min speed up to 10,000K/sec, which will now take 6 hours to finish, and use slightly more of my system&#8217;s idle resources.</p>
<blockquote><p>root# echo &#8220;10000&#8243; &gt; /proc/sys/dev/raid/speed_limit_min</p></blockquote>
<p>Later I set _min to 50,000K/sec, and the rebuild speed topped out at 25,000K/sec.</p>
<blockquote><p> #cat /proc/mdstat</p>
<p>Personalities : [raid5]<br />
md0 : active raid5 sdf1[7] sdb1[0] sde1[5] sdg1[4] sdh1[3] sdd1[2] sdc1[1]<br />
1465175424 blocks level 5, 64k chunk, algorithm 2 [7/6] [UUUUUU_]<br />
[=&gt;...................]  recovery =  5.1% (12661840/244195904) <strong>finish=149.9min speed=25726K/sec</strong></p></blockquote>
<p>The rebuild took less than 3 hours, down from the original 40.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/05/16/speed-up-rebuilding-linux-raid-arrarys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Find the Model Number of Your DVD Burner in Linux</title>
		<link>http://www.frozenindustries.com/2007/05/14/find-the-model-number-of-your-dvd-burner-in-linux/</link>
		<comments>http://www.frozenindustries.com/2007/05/14/find-the-model-number-of-your-dvd-burner-in-linux/#comments</comments>
		<pubDate>Tue, 15 May 2007 03:32:21 +0000</pubDate>
		<dc:creator>Nick Brand</dc:creator>
		
		<category><![CDATA[hardware]]></category>

		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/05/14/find-the-model-number-of-your-dvd-burner-in-linux/</guid>
		<description><![CDATA[$ cdrdao drive-info /dev/scd0
Cdrdao version 1.2.2 - (C) Andreas Mueller &#60;andreas@daneb.de&#62;
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version &#8216;ubuntu-0.8ubuntu1&#8242;
/dev/cdrw: LITE-ON DVDRW LH-20A1S       Rev: 9L02
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0&#215;0000)
Maximum reading speed: 8467 kB/s
Current reading speed: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>$ cdrdao drive-info /dev/scd0</strong></p>
<blockquote><p>Cdrdao version 1.2.2 - (C) Andreas Mueller &lt;andreas@daneb.de&gt;<br />
SCSI interface library - (C) Joerg Schilling<br />
Paranoia DAE library - (C) Monty</p>
<p>Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.</p>
<p>Using libscg version &#8216;ubuntu-0.8ubuntu1&#8242;</p>
<p><strong>/dev/cdrw: LITE-ON DVDRW LH-20A1S       Rev: 9L02</strong><br />
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0&#215;0000)</p>
<p>Maximum reading speed: 8467 kB/s<br />
Current reading speed: 8467 kB/s<br />
Maximum writing speed: 8467 kB/s<br />
Current writing speed: 8467 kB/s<br />
BurnProof supported: yes<br />
JustLink supported: no<br />
JustSpeed supported: yes</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/05/14/find-the-model-number-of-your-dvd-burner-in-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install the Ubuntu Studio Theme in Ubuntu Feisty</title>
		<link>http://www.frozenindustries.com/2007/05/11/install-the-ubuntu-studio-theme-in-ubuntu-feisty/</link>
		<comments>http://www.frozenindustries.com/2007/05/11/install-the-ubuntu-studio-theme-in-ubuntu-feisty/#comments</comments>
		<pubDate>Sat, 12 May 2007 06:19:35 +0000</pubDate>
		<dc:creator>Nick Brand</dc:creator>
		
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2007/05/11/install-the-ubuntu-studio-theme-in-ubuntu-feisty/</guid>
		<description><![CDATA[Instructions here.
]]></description>
			<content:encoded><![CDATA[<p>Instructions <a href="http://www.belutz.net/2007/05/11/installing-ubuntu-studio-theme/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2007/05/11/install-the-ubuntu-studio-theme-in-ubuntu-feisty/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
