<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.umiacs.umd.edu/adapt/index.php?action=history&amp;feed=atom&amp;title=BrickNotes</id>
	<title>BrickNotes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.umiacs.umd.edu/adapt/index.php?action=history&amp;feed=atom&amp;title=BrickNotes"/>
	<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;action=history"/>
	<updated>2026-04-05T20:07:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2035&amp;oldid=prev</id>
		<title>Scsong at 15:43, 12 September 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2035&amp;oldid=prev"/>
		<updated>2008-09-12T15:43:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:43, 12 September 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l165&quot;&gt;Line 165:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 165:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The supplied drivers require a kernel recompile that&amp;#039;s not worth it. Luckily someone for a RHEL4 clone (centOS) was nice enough to make drivers for the 5.0.5 kernel release. From the above &amp;lt;nop&amp;gt;CentOS link, you should install the kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 and kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 packages. You should have updates the kernel to 5.0.5 by now.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The supplied drivers require a kernel recompile that&amp;#039;s not worth it. Luckily someone for a RHEL4 clone (centOS) was nice enough to make drivers for the 5.0.5 kernel release. From the above &amp;lt;nop&amp;gt;CentOS link, you should install the kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 and kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 packages. You should have updates the kernel to 5.0.5 by now.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;kernel-module-arcmsr&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm kernel-module-arcmsr]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;kernel-smp-module-arcmsr&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm kernel-smp-module-arcmsr]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After installing the above RPM&amp;#039;s, you&amp;#039;ll need to add the following line to /etc/modprobe.conf&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After installing the above RPM&amp;#039;s, you&amp;#039;ll need to add the following line to /etc/modprobe.conf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l201&quot;&gt;Line 201:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 201:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;From the web interface (run &amp;#039;/root/archttppci32 8080&amp;#039;), or bios on boot, there are a few steps in creating raids. You should look at the users manual for more details than this. Basically it boils down to two steps, create raid sets or groups of related disks and mark spares, next carve out volumes from the raid sets. One each controller, we created one 11-disk raid set and one (1) hot spare (disk 12). A volume of maximum size was created on that set as a raid 6, with 64-bit LBA.    [[media:raid-create.png|Screenshot]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;From the web interface (run &amp;#039;/root/archttppci32 8080&amp;#039;), or bios on boot, there are a few steps in creating raids. You should look at the users manual for more details than this. Basically it boils down to two steps, create raid sets or groups of related disks and mark spares, next carve out volumes from the raid sets. One each controller, we created one 11-disk raid set and one (1) hot spare (disk 12). A volume of maximum size was created on that set as a raid 6, with 64-bit LBA.    [[media:raid-create.png|Screenshot]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[ftp://60.248.88.208/RaidCards/AP_Drivers/Linux/HTTP/archttppci32&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;Web Proxy&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [ftp://60.248.88.208/RaidCards/AP_Drivers/Linux/HTTP/archttppci32 Web Proxy]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you added or removed devices after boot, linux will not automagically detect them, so you must manually probe them in by echoing commands into /proc/scsi/scsi. A good overview of what you can do to scsi at runtime can be found at the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/mlproc.html&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;linux doc project&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you added or removed devices after boot, linux will not automagically detect them, so you must manually probe them in by echoing commands into /proc/scsi/scsi. A good overview of what you can do to scsi at runtime can be found at the [http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/mlproc.html linux doc project]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adding a new device:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adding a new device:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l234&quot;&gt;Line 234:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 234:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===LVM Config===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===LVM Config===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you pvcreate a device, it looks like you&#039;re losing a LOT of space, but in reality it&#039;s just being displayed differently (Gib vs GB) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://marc.theaimsgroup.com/?l=linux-lvm&amp;amp;m=111631572808874&amp;amp;w=2&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;Explanation here&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you pvcreate a device, it looks like you&#039;re losing a LOT of space, but in reality it&#039;s just being displayed differently (Gib vs GB) [http://marc.theaimsgroup.com/?l=linux-lvm&amp;amp;m=111631572808874&amp;amp;w=2 Explanation here]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Scsong</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2032&amp;oldid=prev</id>
		<title>Scsong at 15:39, 12 September 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2032&amp;oldid=prev"/>
		<updated>2008-09-12T15:39:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:39, 12 September 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html PostGres Tuning guide]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html PostGres Tuning guide]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[NaraBrickPics|Pictures]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[NaraBrickPics|Pictures]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[NaraBrickDailyMaintenance|Routine Maintenance]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;td valign=top width=&amp;quot;50%&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;td valign=top width=&amp;quot;50%&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[NaraBrickDailyMaintenance|Routine Maintenance]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Scsong</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2031&amp;oldid=prev</id>
		<title>Scsong at 15:37, 12 September 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/adapt/index.php?title=BrickNotes&amp;diff=2031&amp;oldid=prev"/>
		<updated>2008-09-12T15:37:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==NARA/UMD Brick Configuration for 24-bay brick==&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top width=&amp;quot;50%&amp;quot;&amp;gt;&lt;br /&gt;
==Motherboard==&lt;br /&gt;
* [[media:q_s2735_100.pdf|q_s2735_100.pdf]]: Motherboard Reference       &lt;br /&gt;
* [[media:lms_s2735.tgz|lms_s2735.tgz]]: lm sensors&lt;br /&gt;
* [[media:m_s2735_100.pdf|m_s2735_100.pdf]]: Motherboard manual&lt;br /&gt;
&lt;br /&gt;
==RAID==&lt;br /&gt;
* [http://www.areca.com.tw/support/index/dc1120.htm Areca support page]&lt;br /&gt;
* [ftp://60.248.88.208/RaidCards/AP_Drivers/Linux/DRIVER/Redhat-AdvanceServer-4.0-i386/ RHEL 4 Areca Drivers (raw)]&lt;br /&gt;
* [http://www.bodgit-n-scarper.com/code.html CentOS Areca notes &amp;amp; rhel4 rpms]&lt;br /&gt;
* [http://www.3ware.com/support/download.asp 3ware download section]&lt;br /&gt;
&lt;br /&gt;
==Misc Info==&lt;br /&gt;
* [http://users.pandora.be/TheBlackUnicorn/linux/ SATA Raid on ICH5R (why it&amp;#039;s no good)]&lt;br /&gt;
* [[PartsList|Parts List]]&lt;br /&gt;
* [http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html PostGres Tuning guide]&lt;br /&gt;
* [[NaraBrickPics|Pictures]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td valign=top width=&amp;quot;50%&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[NaraBrickDailyMaintenance|Routine Maintenance]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Disk config===&lt;br /&gt;
&lt;br /&gt;
all 400gb drives are connected to the two Areca controllers, top 12 to controller 1 and the bottom 12 to the second. Two internal root drives are connected to the 3ware card. The 3ware card was setup to mirror both drives and be the primary boot device. The Areca raids are not visible during install and drivers need to be added later (see below).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 ~]# df&lt;br /&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
/dev/mapper/VolGroup00-root&lt;br /&gt;
                      20158332   6227876  12906456  33% /&lt;br /&gt;
/dev/sda1               101086     12381     83486  13% /boot&lt;br /&gt;
none                    517336         0    517336   0% /dev/shm&lt;br /&gt;
/dev/mapper/VolGroup00-home&lt;br /&gt;
                      20158332     77968  19056364   1% /home&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===RedHat Enterprise Linux 4===&lt;br /&gt;
&lt;br /&gt;
Installed onto sda (3ware RAID), registered w/ rhn using UMIACS keys, installed all available patches. This brought us up to kernel 2.6.9-5.0.5. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Correction, this will now bring us up to update 1, running kernel 2.6.9-11. So just substitute it for the rest of the doc&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 ~]# rhnreg_ks --activationkey=xxxx&lt;br /&gt;
Reading DMI info failed&lt;br /&gt;
[root@erasrb2 ~]# rpm --import /usr/share/rhn/RPM-GPG-KEY&lt;br /&gt;
[root@erasrb2 ~]# up2date --nox -fu&lt;br /&gt;
 &lt;br /&gt;
Fetching Obsoletes list for channel: rhel-i386-ws-4...&lt;br /&gt;
########################################&lt;br /&gt;
 &lt;br /&gt;
Name                                    Version        Rel&lt;br /&gt;
----------------------------------------------------------&lt;br /&gt;
HelixPlayer                             1.0.4          1.1.EL4.2         i386&lt;br /&gt;
ImageMagick                             6.0.7.1        12                i386&lt;br /&gt;
ImageMagick-c++                         6.0.7.1        12                i386&lt;br /&gt;
ImageMagick-c++-devel                   6.0.7.1        12                i386&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===3Ware RAID Configuration===&lt;br /&gt;
&lt;br /&gt;
Download the 3dm software:&lt;br /&gt;
&lt;br /&gt;
[[media:3dm2-x86-9.2.tgz|3dm2-x86-9.2.tgz]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 ~]# tar -tzf 3dm2-x86-9.2.tgz&lt;br /&gt;
[root@erasrb2 ~]# cd x86&lt;br /&gt;
[root@erasrb2 x86]# ./install.3dm &lt;br /&gt;
3ware 3DM2 installation, configuration and removal script.&lt;br /&gt;
(c) 2004 3ware, Inc. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
Script version: v2.03.00.004 for x86&lt;br /&gt;
****************************&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3DM2 supports two modes of operation.&lt;br /&gt;
-------------------------------------&lt;br /&gt;
0 - 3DM2 with remote/local GUI via WEB interface (Default)&lt;br /&gt;
1 - 3ware error logger only&lt;br /&gt;
&lt;br /&gt;
Which mode would you like 3DM2 configured? [0 - 3DM2] &lt;br /&gt;
** 3DM2 selected. **&lt;br /&gt;
&lt;br /&gt;
***************************************&lt;br /&gt;
*** Important RPM related question. ***&lt;br /&gt;
***************************************&lt;br /&gt;
* Answer N if you are using the install.3dm script to install 3DM2.&lt;br /&gt;
  If you answer N install.3dm will install all 3DM2 components.&lt;br /&gt;
* Answer Y if RPM was used for installing the driver/3DM2 software.&lt;br /&gt;
  3ware RPM packages install all 3DM2 components and only need to have&lt;br /&gt;
  the configuration portion of this script run.&lt;br /&gt;
&lt;br /&gt;
Was RPM used to install the Escalade driver and/or 3DM2? (Y/N) [N] &lt;br /&gt;
&lt;br /&gt;
**** 3DM2 version being installed is: 2.03.00.025 for x86 ****&lt;br /&gt;
&lt;br /&gt;
Please enter the location for the help files. [/usr/local/doc/3dm2] /opt/3dm2/doc&lt;br /&gt;
Please enter the location for the message files. [/etc/3dm2/msg] /opt/3dm2/msg&lt;br /&gt;
&lt;br /&gt;
Would you like to have email notification enabled? (Y/N) [Y] &lt;br /&gt;
Please enter the name of your mail server. [erasrb2.nara.gov]: localhost&lt;br /&gt;
Please enter the name of the user you want sending email notification. [root]: &lt;br /&gt;
Please enter the name of the user you want receiving email notification. [3ware_admin]: toaster@umiacs.umd.edu&lt;br /&gt;
&lt;br /&gt;
Email Notification Severity Levels.&lt;br /&gt;
-----------------------------------&lt;br /&gt;
1) Errors&lt;br /&gt;
2) Warnings&lt;br /&gt;
3) Information&lt;br /&gt;
&lt;br /&gt;
Please enter the email notification severity level (1,2,3). [1]: 3&lt;br /&gt;
Please enter the port number you would like to use for web monitoring. [888]: &lt;br /&gt;
Would you like 3DM2 connection security to limit connections to localhost only? (Y/N) [Y] &lt;br /&gt;
&lt;br /&gt;
*** Starting 3DM2 using configuration found in /etc/3dm2/3dm2.conf ***&lt;br /&gt;
[1] 3866&lt;br /&gt;
&lt;br /&gt;
Cleaning up installation files....&lt;br /&gt;
&lt;br /&gt;
Starting 3ware DiskSwitch daemon: [  OK  ]&lt;br /&gt;
[1]  + Done                          /etc/init.d/3dm2 start&lt;br /&gt;
[root@erasrb2 x86]# chkconfig --list 3dm2&lt;br /&gt;
3dm2            0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, on the localhost you can fire up mozilla and manage the raid at https://127.0.0.1:888/, default password for User and Admin is &amp;#039;3ware&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
If you want to connect remotely, you can tunnel ssh as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[toaster@loach ~]$ ssh dhcp223 -N -f -L8080:localhost:8080&lt;br /&gt;
toaster@dhcp223&amp;#039;s password:&lt;br /&gt;
[toaster@loach ~]$ ssh dhcp223 -N -f -L8081:localhost:8081&lt;br /&gt;
toaster@dhcp223&amp;#039;s password:&lt;br /&gt;
[toaster@loach ~]$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to configure monitoring of the 3ware raid. In /etc/3dm2/3dm2.conf set the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
EmailEnable 1&lt;br /&gt;
EmailSender toaster&lt;br /&gt;
EmailServer 127.0.0.1&lt;br /&gt;
EmailRecipient toaster&lt;br /&gt;
EmailSeverity 3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now start/stop the 3dm daemon.&lt;br /&gt;
You can remotely monitor it by doing:&lt;br /&gt;
 [toaster@loach ~]$ ssh 207.245.162.200 -N -f -L8888:localhost:888&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Areca Drivers===&lt;br /&gt;
&lt;br /&gt;
The supplied drivers require a kernel recompile that&amp;#039;s not worth it. Luckily someone for a RHEL4 clone (centOS) was nice enough to make drivers for the 5.0.5 kernel release. From the above &amp;lt;nop&amp;gt;CentOS link, you should install the kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 and kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2 packages. You should have updates the kernel to 5.0.5 by now.&lt;br /&gt;
&lt;br /&gt;
* [[http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm|kernel-module-arcmsr]]&lt;br /&gt;
* [[http://www.bodgit-n-scarper.com/download/centos4/i686/kernel-smp-module-arcmsr-2.6.9-5.0.5.EL-1.20.00.07-2.i686.rpm|kernel-smp-module-arcmsr]]&lt;br /&gt;
&lt;br /&gt;
After installing the above RPM&amp;#039;s, you&amp;#039;ll need to add the following line to /etc/modprobe.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias scsi_hostadapter1 arcmsr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and rebuild the initrd so volumes will be available during boot. You shouldn&amp;#039;t have to do this, but lvm won&amp;#039;t detect devices unless this is done.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 ~]# cd /boot&lt;br /&gt;
[root@erasrb2 boot]# cp initrd-2.6.9-5.0.5.ELsmp.img initrd-2.6.9-5.0.5.ELsmp.img.bak&lt;br /&gt;
[root@erasrb2 boot]# rm initrd-2.6.9-5.0.5.ELsmp.img&lt;br /&gt;
[root@erasrb2 boot]# mkinitrd initrd-2.6.9-5.0.5.ELsmp.img 2.6.9-5.0.5.ELsmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sensors===&lt;br /&gt;
&lt;br /&gt;
Run &amp;#039;sensors-detect&amp;#039; and use defaults for everything. When finished, add the following line to /etc/sysconfig/lm_sensors &amp;#039;MODULE_4=w83781d&amp;#039; (from the above sensors link)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 etc]# mv /etc/sensors.conf /etc/sensors.conf.bak&lt;br /&gt;
[root@erasrb2 etc]# cp ~/2735.sensors.conf /etc/sensors.conf&lt;br /&gt;
[root@erasrb2 etc]# /etc/init.d/lm_sensors restart&lt;br /&gt;
Stopping lm_sensors:                                       [  OK  ]&lt;br /&gt;
Starting lm_sensors:                                       [  OK  ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Adding new raid volumes===&lt;br /&gt;
&lt;br /&gt;
From the web interface (run &amp;#039;/root/archttppci32 8080&amp;#039;), or bios on boot, there are a few steps in creating raids. You should look at the users manual for more details than this. Basically it boils down to two steps, create raid sets or groups of related disks and mark spares, next carve out volumes from the raid sets. One each controller, we created one 11-disk raid set and one (1) hot spare (disk 12). A volume of maximum size was created on that set as a raid 6, with 64-bit LBA.    [[media:raid-create.png|Screenshot]]&lt;br /&gt;
&lt;br /&gt;
* [[ftp://60.248.88.208/RaidCards/AP_Drivers/Linux/HTTP/archttppci32|Web Proxy]]&lt;br /&gt;
&lt;br /&gt;
If you added or removed devices after boot, linux will not automagically detect them, so you must manually probe them in by echoing commands into /proc/scsi/scsi. A good overview of what you can do to scsi at runtime can be found at the [[http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/mlproc.html|linux doc project]]&lt;br /&gt;
&lt;br /&gt;
Adding a new device:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 scsi]# echo &amp;quot;scsi add-single-device 3 0 0 0&amp;quot; &amp;gt; scsi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Removing a device:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 scsi]# echo &amp;quot;scsi remove-single-device 2 0 0 0&amp;quot; &amp;gt; scsi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can see currantly loaded devices by looking at /proc/scsi/scsi&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 scsi]# cat /proc/scsi/scsi&lt;br /&gt;
Attached devices:&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 00 Lun: 00&lt;br /&gt;
  Vendor: ATA      Model: WDC WD800JD-22JN Rev: 05.0&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 05&lt;br /&gt;
Host: scsi1 Channel: 00 Id: 00 Lun: 00&lt;br /&gt;
  Vendor: ATA      Model: WDC WD800JD-22JN Rev: 05.0&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 05&lt;br /&gt;
Host: scsi3 Channel: 00 Id: 00 Lun: 00&lt;br /&gt;
  Vendor: Areca    Model: ARC-1130-VOL#00  Rev: R001&lt;br /&gt;
  Type:   Direct-Access                    ANSI SCSI revision: 03&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===LVM Config===&lt;br /&gt;
&lt;br /&gt;
When you pvcreate a device, it looks like you&amp;#039;re losing a LOT of space, but in reality it&amp;#039;s just being displayed differently (Gib vs GB) [[http://marc.theaimsgroup.com/?l=linux-lvm&amp;amp;m=111631572808874&amp;amp;w=2|Explanation here]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@erasrb2 scsi]# pvcreate /dev/sdd&lt;br /&gt;
  Physical volume &amp;quot;/dev/sdd&amp;quot; successfully created&lt;br /&gt;
[root@erasrb2 scsi]# vgcreate  -s 32768k raid2 /dev/sdd&lt;br /&gt;
  Volume group &amp;quot;raid2&amp;quot; successfully created&lt;br /&gt;
[root@erasrb2 scsi]# vgdisplay raid2&lt;br /&gt;
  --- Volume group ---&lt;br /&gt;
  VG Name               raid2&lt;br /&gt;
  System ID&lt;br /&gt;
  Format                lvm2&lt;br /&gt;
  Metadata Areas        1&lt;br /&gt;
  Metadata Sequence No  1&lt;br /&gt;
  VG Access             read/write&lt;br /&gt;
  VG Status             resizable&lt;br /&gt;
  MAX LV                0&lt;br /&gt;
  Cur LV                0&lt;br /&gt;
  Open LV               0&lt;br /&gt;
  Max PV                0&lt;br /&gt;
  Cur PV                1&lt;br /&gt;
  Act PV                1&lt;br /&gt;
  VG Size               3.27 TB&lt;br /&gt;
  PE Size               32.00 MB&lt;br /&gt;
  Total PE              107288&lt;br /&gt;
  Alloc PE / Size       0 / 0&lt;br /&gt;
  Free  PE / Size       107288 / 3.27 TB&lt;br /&gt;
  VG UUID               WmpGTs-dKyP-Go9L-4BSq-HtE4-Rhy3-depMs7&lt;br /&gt;
&lt;br /&gt;
[root@erasrb2 scsi]# lvcreate -l107288 -nvault2 raid2&lt;br /&gt;
  Logical volume &amp;quot;vault2&amp;quot; created&lt;br /&gt;
[root@erasrb2 scsi]# lvdisplay raid2&lt;br /&gt;
  --- Logical volume ---&lt;br /&gt;
  LV Name                /dev/raid2/vault2&lt;br /&gt;
  VG Name                raid2&lt;br /&gt;
  LV UUID                KW5JA3-keyS-AfPa-eXtD-QOv6-w1tV-5KOVVz&lt;br /&gt;
  LV Write Access        read/write&lt;br /&gt;
  LV Status              available&lt;br /&gt;
  # open                 0&lt;br /&gt;
  LV Size                3.27 TB&lt;br /&gt;
  Current LE             107288&lt;br /&gt;
  Segments               1&lt;br /&gt;
  Allocation             inherit&lt;br /&gt;
  Read ahead sectors     0&lt;br /&gt;
  Block device           253:2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[root@erasrb2 scsi]# mke2fs /dev/raid2/vault2&lt;br /&gt;
mke2fs 1.35 (28-Feb-2004)&lt;br /&gt;
max_blocks 4294967295, rsv_groups = 0, rsv_gdb = 1024&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
439451648 inodes, 878903296 blocks&lt;br /&gt;
995491 blocks (0.11%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=880803840&lt;br /&gt;
26822 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
16384 inodes per group&lt;br /&gt;
Superblock backups stored on blocks:&lt;br /&gt;
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,&lt;br /&gt;
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,&lt;br /&gt;
        102400000, 214990848, 512000000, 550731776, 644972544&lt;br /&gt;
 &lt;br /&gt;
Writing inode tables: done&lt;br /&gt;
inode.i_blocks = 180232, i_size = 4243456&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
 &lt;br /&gt;
This filesystem will be automatically checked every 38 mounts or&lt;br /&gt;
180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SRB Installation===&lt;br /&gt;
&lt;br /&gt;
The SRB will be running w/ an MCAT on this server until connectivity at NARA1 is finished. Prior to installing, we tweaked the shared memory settings on the host to improve postgres performance&lt;br /&gt;
&lt;br /&gt;
In /etc/sysctl.conf, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# increase max shared memory to 256MB&lt;br /&gt;
kernel.shmmax=268435456&lt;br /&gt;
kernel.shmall=268435456&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MCAT was installed using the install.pl script and installed using the srb account into ~/srb.&lt;br /&gt;
&lt;br /&gt;
During mcat install, we applied the 3.3.1.p1 patch and also used the gen_uuid.c from [[http://www.sdsc.edu/srb/tarfiles/gen_uuid.c|sdsc&amp;#039;s site]] (copy to SRB3_3_1/src/lib). Vaults were configured at /vault1/vault, and /vault2/vault. Default domain was nara and zone was nara-dc.The install.pl was modified to use &amp;#039;207.245.162.200&amp;#039; for the MCAT&amp;#039;s ip address, in addition to vault configuration.&lt;br /&gt;
&lt;br /&gt;
Two accounts, eap.nara and webuser.nara were setup for the image collection. The image collection is owned by eap.nara with webuser.nara having read-only access to the collection. The image collection was loaded into vault1.&lt;br /&gt;
&lt;br /&gt;
Now, we have to tune postgres a little bit.&lt;br /&gt;
&lt;br /&gt;
In /etc/fstab, add &amp;#039;noatime&amp;#039; to the mount for /home. In srb/pgsql/data/psotgresql.con change the shared buffers to:&lt;br /&gt;
&lt;br /&gt;
shared_buffers = 28672&lt;br /&gt;
&lt;br /&gt;
===IPTables config===&lt;br /&gt;
&lt;br /&gt;
In /etc/sysconfig/iptables, we added the two lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5544 -j ACCEPT&lt;br /&gt;
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 20000:20200 -j ACCEPT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so we had to modify the SRB a little to use a select set of ports. In ~srb/srb/SRB3_3_1; run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 ./configure --enable-installdir=/home/srb/srb/SRBInstall --enable-psgmcat --enable-psghome=/home/srb/srb/pgsql --enable-commports&lt;br /&gt;
make clean; make; make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
restart the SRB.&lt;br /&gt;
&lt;br /&gt;
===Database Backups===&lt;br /&gt;
&lt;br /&gt;
The postgresql databases are dumped and vacuumed nightly. The pg_backup.sh in ~/srb is the script used to do this. It dumps backups to /vault2/dumps. You can restore using the following command (substitute current backup where appropriate)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gunzip /vault2/dumps/July-2005/2005-07-01/10:38-postgresql_database-MCAT-backup.gz&lt;br /&gt;
pg_restore -d database -F c /vault2/dumps/July-2005/2005-07-01/10:38-postgresql_database-MCAT-backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Main.MikeSmorul - 01 Jul 2005&lt;/div&gt;</summary>
		<author><name>Scsong</name></author>
	</entry>
</feed>