<?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>phaq &#187; Hardware</title>
	<atom:link href="http://phaq.phunsites.net/category/howtos/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://phaq.phunsites.net</link>
	<description>my daily IT madness</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:07:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Setting up Logitech SqueezeBox Radio without Internet Connection</title>
		<link>http://phaq.phunsites.net/2011/07/12/setting-up-logitech-squeezebox-radio-without-internet-connection/</link>
		<comments>http://phaq.phunsites.net/2011/07/12/setting-up-logitech-squeezebox-radio-without-internet-connection/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 22:56:54 +0000</pubDate>
		<dc:creator>gdelmatto</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo's]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=668</guid>
		<description><![CDATA[Today I got a complementary SqueezeBox Radio to join two SqueezeBox Boom and a SqueezeBox Classic at my home. As I&#8217;m preparing to move homes very soon, I&#8217;m currently without broadband internet at home (this post is written through a 3G wireless connection). But here&#8217;s the pitfall: How would you setup a so declared internet [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got a complementary SqueezeBox Radio to join two SqueezeBox Boom and a SqueezeBox Classic at my home.<br />
As I&#8217;m preparing to move homes very soon, I&#8217;m currently without broadband internet at home (this post is written through a 3G wireless connection).<br />
But here&#8217;s the pitfall: How would you setup a so declared internet radio without a working internet connection?<br />
After all Logitech&#8217;s first time wizard seems to require an internet connection, otherwise you&#8217;ll be stuck with an error message. Because I&#8217;m using all my SqueezeBoxes with the SqueezeBox Server only, I&#8217;m not dependending on the internet connection. Luckily, there&#8217;s a (undocumented) way to work around this.<br />
<span id="more-668"></span><br />
While configuring your wired or wireless network settings, your SqueezeBox Radio will try to connect mysqueezebox.com. If it fails, you&#8217;ll end up with this message:</p>
<p><a href="http://phaq.phunsites.net/files/2011/07/IMG_1865.jpg" rel="lightbox[668]"><img src="http://phaq.phunsites.net/files/2011/07/IMG_1865.jpg" alt="" width="288" height="216" class="alignnone size-full wp-image-669" /></a></p>
<p>In my case this is absolute nonsense as I _KNOW_ that the local network is working, but it doesn&#8217;t have an internet connection for now. So I want a way to get out of the stupid wizard. Tapping on the various buttons as well as turning off/on the device will not help in exiting the setup wizard.</p>
<p>At last, just keeping the &#8220;BACK&#8221; button pressed for a few seconds will sound an acustic signal (multiple beeps) and drop you out to the main menu.<br />
And if you &#8211; as me &#8211; configured your WiFi settings, these will still be kept intact.</p>
<p>You now can connect your local SqueezeBox media server from the &#8220;My Music&#8221; menu.</p>
<p><a href="http://phaq.phunsites.net/files/2011/07/IMG_1866.jpg" rel="lightbox[668]"><img src="http://phaq.phunsites.net/files/2011/07/IMG_1866.jpg" alt="" width="267" height="194" class="alignnone size-full wp-image-670" /></a></p>
<p>Missing accomplished. I just wonder why this is not officially documented.</p>
<hr />
Update from July, 13th 2011</p>
<hr />
Apparently the above procedure only applies to SqueezeBox Radio with older Firmware (7.4 series). With newer firmware (7.5 series) you&#8217;ll get an option to select a local SqueezeBox Server which will make a proper exit.</p>
<p>After all, I had to take <a href="/2011/07/13/tricking-squeezebox-server-into-downloading-firmware-files-from-local-server/">additional hurdles</a> to get the new firmware onto my Squeezebox Radio.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2011/07/12/setting-up-logitech-squeezebox-radio-without-internet-connection/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>DrayTek Vigor 2600v does some DNS spoofing</title>
		<link>http://phaq.phunsites.net/2011/04/05/draytek-vigor-2600v-does-some-dns-spoofing/</link>
		<comments>http://phaq.phunsites.net/2011/04/05/draytek-vigor-2600v-does-some-dns-spoofing/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 12:34:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=591</guid>
		<description><![CDATA[I always wondered about an obscure behaviour observed in my home network. Whenever I access my website using it&#8217;s plain domain name (http://phunsites.net), I&#8217;d end up with a password prompt from my DSL router. Thinking about DNS it would be an easy asumption that there was likely to be a wrong resource record like this [...]]]></description>
			<content:encoded><![CDATA[<p>I always wondered about an obscure behaviour observed in my home network.</p>
<p>Whenever I access my website using it&#8217;s plain domain name (http://phunsites.net), I&#8217;d end up with a password prompt from my DSL router.</p>
<p><span id="more-591"></span></p>
<div align="center">
<a href="http://phaq.phunsites.net/files/2011/04/draytek1.png" rel="lightbox[591]"><img src="http://phaq.phunsites.net/files/2011/04/draytek1-300x157.png" alt="" title="draytek1" width="300" height="157" class="aligncenter size-medium wp-image-593" /></a>
</div>
<p>Thinking about DNS it would be an easy asumption that there was likely to be a wrong resource record like this in my DNS zone:</p>
<pre>
@ IN A 192.0.2.1
</pre>
<p>But it turned there wasn&#8217;t &#8211; why should it anyway?<br />
Looking further into this, I did a DNS trace. It was strinking that querying for <strong>www.phunsites.net</strong> would yield another result &#8230; </p>
<pre>
$ dig A www.phunsites.net.

; <<>> DiG 9.6.0-APPLE-P2 <<>> A www.phunsites.net.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24771
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 8

;; QUESTION SECTION:
;www.phunsites.net.		IN	A

;; ANSWER SECTION:
www.phunsites.net.	86170	IN	A	82.195.224.130

;; AUTHORITY SECTION:
phunsites.net.		60583	IN	NS	ns1.genotec.ch.
phunsites.net.		60583	IN	NS	ns2.genotec.ch.
phunsites.net.		60583	IN	NS	ns3.genotec.ch.
phunsites.net.		60583	IN	NS	ns4.genotec.ch.

;; ADDITIONAL SECTION:
ns1.genotec.ch.		58593	IN	A	82.195.224.5
ns1.genotec.ch.		58593	IN	AAAA	2001:1b50::82:195:224:5
ns2.genotec.ch.		58593	IN	A	82.195.225.5
ns2.genotec.ch.		58593	IN	AAAA	2001:1b50::82:195:225:5
ns3.genotec.ch.		58593	IN	A	82.195.235.37
ns3.genotec.ch.		58593	IN	AAAA	2001:1b50::2:82:195:235:37
ns4.genotec.ch.		58593	IN	A	82.195.235.69
ns4.genotec.ch.		58593	IN	AAAA	2001:1b50::3:82:195:235:69

;; Query time: 12 msec
;; SERVER: 82.195.225.6#53(82.195.225.6)
;; WHEN: Tue Apr  5 13:43:27 2011
;; MSG SIZE  rcvd: 309
</pre>
<p>... than <strong>phunsites.net</strong>:</p>
<pre>
$ dig A phunsites.net.

; <<>> DiG 9.6.0-APPLE-P2 <<>> A phunsites.net.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60489
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: Messages has 1 extra bytes at end

;; QUESTION SECTION:
;phunsites.net.			IN	A

;; ANSWER SECTION:
phunsites.net.		60	IN	A	192.0.2.1

;; Query time: 1 msec
;; SERVER: 82.195.225.6#53(82.195.225.6)
;; WHEN: Tue Apr  5 13:43:47 2011
;; MSG SIZE  rcvd: 48
</pre>
<p>That was very bizare. As it turned out, the DrayTek Vigor <a href="http://www.draytek.co.uk/support/kb_vigor_dns.html" target="_blank">does DNS proxying by default</a>.<br />
There's usually nothing too wrong about that, but in my case, it was pretty annoying, because the router seemed to inject it's own IP address for queries destined to its domain name.</p>
<p>So my intent was to remove the domain name which I had earlier configured on the router GUI. Unfortunately that was not possible. Whenever I deleted my domain name it would show up again later on in the GUI, even after a reboot.</p>
<div align="center">
<a href="http://phaq.phunsites.net/files/2011/04/draytek2.png" rel="lightbox[591]"><img src="http://phaq.phunsites.net/files/2011/04/draytek2-300x251.png" alt="" title="draytek2" width="300" height="251" class="aligncenter size-medium wp-image-594" /></a>
</div>
<p>So I gave it a shot through the Telnet CLI, where I tried to remove the domain name using this command "sys domainname clear".</p>
<div align="center">
<a href="http://phaq.phunsites.net/files/2011/04/draytek3.png" rel="lightbox[591]"><img src="http://phaq.phunsites.net/files/2011/04/draytek3-300x101.png" alt="" title="draytek3" width="300" height="101" class="aligncenter size-medium wp-image-595" /></a>
</div>
<p>Checking back with dig it turned out to give me the proper DNS reply I expected earlier for qerying phunsites.net:</p>
<pre>
$ dig A phunsites.net.

; <<>> DiG 9.6.0-APPLE-P2 <<>> A phunsites.net.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50148
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 8

;; QUESTION SECTION:
;phunsites.net.			IN	A

;; ANSWER SECTION:
phunsites.net.		83205	IN	A	82.195.224.130

;; AUTHORITY SECTION:
phunsites.net.		59427	IN	NS	ns2.genotec.ch.
phunsites.net.		59427	IN	NS	ns1.genotec.ch.
phunsites.net.		59427	IN	NS	ns3.genotec.ch.
phunsites.net.		59427	IN	NS	ns4.genotec.ch.

;; ADDITIONAL SECTION:
ns1.genotec.ch.		57437	IN	A	82.195.224.5
ns1.genotec.ch.		57437	IN	AAAA	2001:1b50::82:195:224:5
ns2.genotec.ch.		57437	IN	A	82.195.225.5
ns2.genotec.ch.		57437	IN	AAAA	2001:1b50::82:195:225:5
ns3.genotec.ch.		57437	IN	A	82.195.235.37
ns3.genotec.ch.		57437	IN	AAAA	2001:1b50::2:82:195:235:37
ns4.genotec.ch.		57437	IN	A	82.195.235.69
ns4.genotec.ch.		57437	IN	AAAA	2001:1b50::3:82:195:235:69

;; Query time: 44 msec
;; SERVER: 82.195.225.6#53(82.195.225.6)
;; WHEN: Tue Apr  5 14:02:43 2011
;; MSG SIZE  rcvd: 305
</pre>
<p>So to summarize: The DrayTek Vigor injects the "domain name suffix" as configure through the "sys domainname" command into the DNS proxy.<br />
This is very odd, as I would suppose, that it would do so only for the fully qualified domain name (FQDN), which would make perfectly sense then.</p>
<p>Checking into this I made a lookup for the FQDN called phn-vgw-dsl-001.phunsites.net and got this reply promptly:</p>
<pre>
$ dig A phn-vgw-dsl-001.edge.phunsites.net.

; <<>> DiG 9.6.0-APPLE-P2 <<>> A phn-vgw-dsl-001.phunsites.net.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19107
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: Messages has 4 extra bytes at end

;; QUESTION SECTION:
;phn-vgw-dsl-001.phunsites.net. IN	A

;; ANSWER SECTION:
phn-vgw-dsl-001.phunsites.net. 60 IN A	192.0.2.1

;; Query time: 1 msec
;; SERVER: 82.195.225.6#53(82.195.225.6)
;; WHEN: Tue Apr  5 14:11:31 2011
;; MSG SIZE  rcvd: 72
</pre>
<p>I could live with this behaviour if I think that one would perhaps prefer to set a more memorizable FQDN for the device, let's say "router.phunsites.net", which would automagically appear even if no matching DNS recource records exist.</p>
<p>However, it feels absolutely inappropriate for the DrayTek Vigor to inject a spoofed A resource record for the domain name suffix as well. This holds especially true when a matching resource record in the zone indeed already exists.</p>
<p>As a IT professional I tend to always configure all settings properly on my devices. In this case, this attitude unconvered a very odd and in my opinion erronous behaviour.</p>
<p>As there is no current firmware to fix this, there's only two ways to work around this: Either unconfigure the domain name as shown above through the "sys domainname clear" command or use a domain name suffix, that does not collide with a real domain name or FQDN.</p>
<p>After all, this is surely no big deal, but a pitfall nevertheless. As DrayTek routers are still four to five times more expensive than the usually cheap home routers I wouldn't expect to see such misbehaviour.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2011/04/05/draytek-vigor-2600v-does-some-dns-spoofing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Baking Recipe to fix broken MacBook LogicBoard</title>
		<link>http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/</link>
		<comments>http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 22:36:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=561</guid>
		<description><![CDATA[What a shame: After four years of service my 3rd generation MacBook Pro broke last wednesday &#8211; obviously a well-known issue with the Nvidia GPU. Strangely enough, this really is easily to be fixed with your kitchen&#8217;s baking oven&#8230; The most painful experience in this situation was that I suddenly sat there without working computer [...]]]></description>
			<content:encoded><![CDATA[<p>What a shame: After four years of service my 3rd generation MacBook Pro broke last wednesday &#8211; obviously a well-known issue with the Nvidia GPU. Strangely enough, this really is easily to be fixed with your kitchen&#8217;s baking oven&#8230;</p>
<p><span id="more-561"></span></p>
<p>The most painful experience in this situation was that I suddenly sat there without working computer around. More dramatically was the fact that my TimeMachine backup was from the evening before, so I had some real nightmares about having partially lost my essay I was writing at that time.<br />
Well, for a fast (and final) fix, I just got myself one of these fancy new MacBook Pro modells, so I could just go on with my work.</p>
<p>Albeit having a new computer, I just wondered about possible reasons for my MacBook failure. While digging around I found that there was well-known issue with 3rd generation MacBook pro with Nvidia graphics adapter, wich was even <a href="http://support.apple.com/kb/TS2377" target="_blank">officially aknowledged by Apple</a>. Actually, Apple even offered free repair of such defective MacBook Pro within four years of purchase (according to their support article).</p>
<p>Defective MacBooks affected by this issue are typically considered having a &#8220;blank screen&#8221; or distorted video. In case of &#8220;blank screen&#8221;, affected systems are still playing the &#8220;Mac chime&#8221; upon power-on and the CAPS-LOCK LED being lit when pressing the key. You could even boot the system and at least &#8220;hear&#8221; audible feedback to several keystrokes (e.g. the volume up/down keys, etc).</p>
<p>So that qualifies clearly for a MacBook Pro being affected by the Nvidia chip issue.</p>
<p>There&#8217;s the problem, however: You need to prove your purchase. If you don&#8217;t have an original receipt, Apple gently refuses to repair the broken MacBook Pro, as I was assured after talking to the helpline. Oh well &#8230; out of warranty, no proof of purchase &#8230; absolute failure! (BAD RANT at Apple for this!!!)</p>
<p>Oh, well, so no fix for me as I don&#8217;t have the prove of purchase. Baaah &#8230;</p>
<p>To fix the MacBook, I would have needed to exchange the LogicBoard. These do cost however several hundred Swiss Francs, definitely way beyond what&#8217;s worthwile to invest into a 4-year-old device.</p>
<p>During my research on the web I came along other sites covering this topic. Some of these sites did even propose fixing the LogicBoard by butting it into your oven and baking it for 5-10 mins at around 200°-220° (392 &#8211; 448 F). The idea behind this is simple: By exposing the board to heat in the oven, the reflow soldering assembling conditions are reproduced, which can eventually fix broken soldering points.</p>
<p>I found the best instructions on <a href="http://eniak.posterous.com/macbook-pro-grafikkarte-kaputt-einfach-im-ofe" target="_blank">Philip May&#8217;s blog (in german language)</a>.<br />
Instruction to <a href="http://www.ifixit.com/Guide/Repair/MacBook-Pro-15-Inch-Core-2-Duo-Models-A1226-and-A1260-Logic-Board-Replacement/681/1" target="_blank">disassemble the MacBook Pro</a> were found on ifixit.com.</p>
<p>So tonight I took on the challenge to put my MacBook into the oven &#8230; ok, ok, just the plain LogicBoard <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Below you&#8217;ll find some pictures of the process. And guess what? It really worked. My &#8220;broken&#8221; 3rd gen is now up and running again.<br />
That leaves me only to this question: I&#8217;ve bought a new one already, what would I do with the old one now? <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1432/' title='IMG_1432'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1432-150x150.jpg" class="attachment-thumbnail" alt="IMG_1432" title="IMG_1432" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1442/' title='IMG_1442'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1442-150x150.jpg" class="attachment-thumbnail" alt="IMG_1442" title="IMG_1442" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1445/' title='IMG_1445'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1445-150x150.jpg" class="attachment-thumbnail" alt="IMG_1445" title="IMG_1445" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1446/' title='IMG_1446'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1446-150x150.jpg" class="attachment-thumbnail" alt="IMG_1446" title="IMG_1446" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1447/' title='IMG_1447'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1447-150x150.jpg" class="attachment-thumbnail" alt="IMG_1447" title="IMG_1447" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1452/' title='IMG_1452'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1452-150x150.jpg" class="attachment-thumbnail" alt="IMG_1452" title="IMG_1452" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1453/' title='IMG_1453'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1453-150x150.jpg" class="attachment-thumbnail" alt="IMG_1453" title="IMG_1453" /></a>
<a href='http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/img_1454/' title='IMG_1454'><img width="150" height="150" src="http://phaq.phunsites.net/files/2011/03/IMG_1454-150x150.jpg" class="attachment-thumbnail" alt="IMG_1454" title="IMG_1454" /></a>

]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2011/03/08/baking-recipe-to-fix-broken-macbook-logicboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a SCSI disk enclosure to a FreeBSD host in online mode</title>
		<link>http://phaq.phunsites.net/2010/12/19/adding-a-scsi-disk-enclosure-to-a-freebsd-host-in-online-mod/</link>
		<comments>http://phaq.phunsites.net/2010/12/19/adding-a-scsi-disk-enclosure-to-a-freebsd-host-in-online-mod/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 22:13:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=430</guid>
		<description><![CDATA[Currently playing around with my Netra T1 105 and a Sun StorEdge Multipack enclosure, I wondered if I really could add the whole enclosure while the host is online. I used to do hot-plugging before, but I&#8217;ve never done this with a whole enclosure at once. Well worth a try? Some things to be considered [...]]]></description>
			<content:encoded><![CDATA[<p>Currently playing around with my Netra T1 105 and a Sun StorEdge Multipack enclosure, I wondered if I really could add the whole enclosure while the host is online.</p>
<p>I used to do hot-plugging before, but I&#8217;ve never done this with a whole enclosure at once. Well worth a try?<br />
<span id="more-430"></span><br />
Some things to be considered for my scenario:</p>
<ul>
<li>The Sun StorEdge Multipack auto-assigns SCSI-IDs ascending through it&#8217;s internal slots. Depending on the mode switch, it&#8217;ll assign IDs 1 through 6 or 9 through 15. On the Netra T1 105 only IDs 1 through 7 are supported. This is no big deal, unless you already have two disks plugged into the internals bays (they take IDs 0 and 1).<br />So you can add a maximum of 5 additional disks (IDs 2 through 6). This actually means that you can only add disks to bays 2 through 6, leaving bay 1 empty. If you keep a disk inside, it&#8217;ll get ID 1, which won&#8217;t work out as this is already taken by an internal bay hard drive.</li>
<li>Also important is that the enclosure is not powered-up. Attach it to the SCSI bus first, before you power on.</li>
</ul>
<p>After powering on the enclosure it&#8217;ll take a few moments to initialize and spin-up the drives.</p>
<p>I recommend waiting for the SCSI ID LED to light up, before you proceed.<br />
Before you rescan the bus, check which devices you see.</p>
<p><code><br />
[root@rohan ~]# camcontrol devlist<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 0 lun 0 (da0,pass0)<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 1 lun 0 (da1,pass1)<br />
</code></p>
<p>The you can either add each new divice one by one, issuing a &#8220;scan&#8221; command for the respective SCSI-ID:</p>
<p><code><br />
[root@rohan ~]# camcontrol rescan scbus0:2:0<br />
[root@rohan ~]# camcontrol devlist<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 0 lun 0 (da0,pass0)<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 1 lun 0 (da1,pass1)<br />
FUJITSU MAN3184M SUN18G 1502     at scbus0 target 2 lun 0 (da2,pass2)<br />
</code></p>
<p>Or you could try to rescan to whole bus at once:</p>
<p><code><br />
[root@rohan ~]# camcontrol rescan scbus0<br />
Re-scan of bus 0 was successful<br />
[root@rohan ~]# camcontrol devlist<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 0 lun 0 (da0,pass0)<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 1 lun 0 (da1,pass1)<br />
FUJITSU MAN3184M SUN18G 1502     at scbus0 target 2 lun 0 (da2,pass2)<br />
FUJITSU MAJ3182M SUN18G 0804     at scbus0 target 3 lun 0 (da3,pass3)<br />
IBM DDYST1835SUN18G S96H         at scbus0 target 4 lun 0 (da4,pass4)<br />
SEAGATE ST318203LSUN18G 034A     at scbus0 target 5 lun 0 (da5,pass5)<br />
SEAGATE ST318203LSUN18G 034A     at scbus0 target 6 lun 0 (da6,pass6)<br />
</code></p>
<p>Conclusion: If you first connect to the bus and then power-up the enclosure so all disks can properly initialize, adding the enclosure and it&#8217;s disks while online is definitely possible. Of course, you should only be doing this with hot-plug ready equipment, which supports auto-termination.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2010/12/19/adding-a-scsi-disk-enclosure-to-a-freebsd-host-in-online-mod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Shutdown of Phunsites&#8217; Lab</title>
		<link>http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/</link>
		<comments>http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 12:28:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bits and Bytes]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=245</guid>
		<description><![CDATA[So, this is the end, after all what we went through? Today I took the time to shutdown the Phunsites&#8217; Lab. During all these years, it served a good purpose. Most of my ideas and PoCs were initially developped on these machines, before they evolved in some detailed design specs. I can&#8217;t count how often [...]]]></description>
			<content:encoded><![CDATA[<p>So, this is the end, after all what we went through?</p>
<p>Today I took the time to shutdown the Phunsites&#8217; Lab. During all these years, it served a good purpose. Most of my ideas and PoCs were initially developped on these machines, before they evolved in some detailed design specs.<br />
<span id="more-245"></span><br />
I can&#8217;t count how often I re-installed these machines, compiled new kernels and complete userland. It was definitely a lot.</p>
<p>As you see from the pictures, there&#8217;s quiet a few machines, which made up my lab: 3 Sun Enterprise 450, 2 Sun Netra T1, 1 Sun SparcStation 20, 1 Sun Ultra 5, 1 Sun Ultra 2, a DEC Workstation and a Standard Intel-based Dual-CPU Machine.<br />
Additionally there where a Cisco 2900-EN-XL switch, a serial console server, some external SCSI disk enclosures and zillions of spare material like CPU, Memory, Hard Drivers, and so on.</p>
<p>Originally, this equipment was joined by some SGI machines: 1 Indy, 1 Indigo and 2 O2 workstations. These have however been sold off last year already.</p>
<p>Now, finally, it seems to have come to an end. As with todays virtualization technology, there&#8217;s no real need all these machines to me anymore.</p>
<p>I will definitely keep some of the machines, the two Netra T1, as I have an idea already on how to put them to good use.<br />
The others will be cleaned, repaired if needed, and then sold off on eBay.</p>
<p>So to concluded: Phunsites&#8217; Lab WILL return. But it will be all different than it used to be.</p>

<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1284/' title='IMG_1284'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1284-150x150.jpg" class="attachment-thumbnail" alt="IMG_1284" title="IMG_1284" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1285/' title='IMG_1285'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1285-150x150.jpg" class="attachment-thumbnail" alt="IMG_1285" title="IMG_1285" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1286/' title='IMG_1286'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1286-150x150.jpg" class="attachment-thumbnail" alt="IMG_1286" title="IMG_1286" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1287/' title='IMG_1287'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1287-150x150.jpg" class="attachment-thumbnail" alt="IMG_1287" title="IMG_1287" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1288/' title='IMG_1288'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1288-150x150.jpg" class="attachment-thumbnail" alt="IMG_1288" title="IMG_1288" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1289/' title='IMG_1289'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1289-150x150.jpg" class="attachment-thumbnail" alt="IMG_1289" title="IMG_1289" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1291/' title='IMG_1291'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1291-150x150.jpg" class="attachment-thumbnail" alt="IMG_1291" title="IMG_1291" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1292/' title='IMG_1292'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1292-150x150.jpg" class="attachment-thumbnail" alt="IMG_1292" title="IMG_1292" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1293/' title='IMG_1293'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1293-150x150.jpg" class="attachment-thumbnail" alt="IMG_1293" title="IMG_1293" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1295/' title='IMG_1295'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1295-150x150.jpg" class="attachment-thumbnail" alt="IMG_1295" title="IMG_1295" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1299/' title='IMG_1299'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1299-150x150.jpg" class="attachment-thumbnail" alt="IMG_1299" title="IMG_1299" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1300/' title='IMG_1300'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1300-150x150.jpg" class="attachment-thumbnail" alt="IMG_1300" title="IMG_1300" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1306/' title='IMG_1306'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1306-150x150.jpg" class="attachment-thumbnail" alt="IMG_1306" title="IMG_1306" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1307/' title='IMG_1307'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1307-150x150.jpg" class="attachment-thumbnail" alt="IMG_1307" title="IMG_1307" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1308/' title='IMG_1308'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1308-150x150.jpg" class="attachment-thumbnail" alt="IMG_1308" title="IMG_1308" /></a>
<a href='http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/img_1309/' title='IMG_1309'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/IMG_1309-150x150.jpg" class="attachment-thumbnail" alt="IMG_1309" title="IMG_1309" /></a>

]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2010/12/16/the-shutdown-of-phunsites-lab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting Aten UC-232A usb-to-serial dongle to work on OS X &quot;Snow Leopard&quot;</title>
		<link>http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/</link>
		<comments>http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 17:40:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=210</guid>
		<description><![CDATA[Murphy stroke again. This time he crushed my RS232 USB-to-serial dongle, which used to work fine on my MacBook Pro running OS X. I use a very basic Aten UC-232A dongle. There exist various variations out there, but most of them contain a PL-2303 chip, so despite some of them looking very different in design [...]]]></description>
			<content:encoded><![CDATA[<p>Murphy stroke again. This time he crushed my RS232 USB-to-serial dongle, which used to work fine on my MacBook Pro running OS X.</p>
<p>I use a very basic Aten UC-232A dongle. There exist various variations out there, but most of them contain a PL-2303 chip, so despite some of them looking very different in design they&#8217;re basically the same thing.<br />
Obviously mine stopped working after upgrading from OS X 10.5.x to 10.6.x &#8220;Snow Leopard&#8221;.</p>
<p>Looking for alternate drivers I came along a few sites, including some driver update pages which requered me to pay for it.<br />
Oh wait a minute &#8230; paying for a device driver? Gosh &#8230; get lost!<br />
<span id="more-210"></span><br />
I then found <a href="http://www.manhattan-products.com/en-us/products/708-konwerter-usb-na-z-cze-szeregowe" target="_blank">this site</a> which actually has some drivers.<br />
I though that the <a href="http://www.manhattan-products.com/downloads/4950-205146MacOSintel.zip">MAC OS10.x Intel Base driver</a> would work, but it didn&#8217;t. Checking with the <code>sudo kextstat</code> command in an OS X Terminal would show, that it was never to get loaded.</p>
<p>Looking furtger, I found <a href="http://osx-pl2303.sourceforge.net/" target="_blank">PL2303 USB to Serial Driver for Mac OS X</a> at SourceForge. Giving it a try I sound found, that it wouldn&#8217;t work for me, neither.</p>
<p>But reading through the forums of that project I found an interesting reference to <a href="https://github.com/failberg/osx-pl2303" target="_blank">another PL2303 project site</a> at github.com.<br />
There I found an indeed <a href="http://github.com/downloads/failberg/osx-pl2303/osx-pl2303-0.4.1-failberg.pkg">working PL2303 driver for OS X Snow Leopard</a>.<br />
I keep a <a href="/files/2010/12/osx-pl2303-0.4.1-failberg.pkg_.zip">copy of this driver hosted at this blog</a>, just in case that it disappears one day from github.</p>
<p>After installing the updated driver Snow Leopard immediately recognized the dongle and added it to network device list.<br />
Following that, the new &#8220;PL2303-&#8221; serial port was then selectable in <a href="http://homepage.mac.com/dalverson/zterm/" target="_blank">ZTerm</a> to work with.</p>
<p>Well, thank you guys, for getting this driver to work on OS X. You saved my day!</p>

<a href='http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/aten_rs232_usb_dongle/' title='aten_rs232_usb_dongle'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/aten_rs232_usb_dongle-150x150.jpg" class="attachment-thumbnail" alt="aten_rs232_usb_dongle" title="aten_rs232_usb_dongle" /></a>
<a href='http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/new_port_found/' title='new_port_found'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/new_port_found-150x150.png" class="attachment-thumbnail" alt="new_port_found" title="new_port_found" /></a>
<a href='http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/new_port_control_panel/' title='new_port_control_panel'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/new_port_control_panel-150x150.png" class="attachment-thumbnail" alt="new_port_control_panel" title="new_port_control_panel" /></a>
<a href='http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/port_select_zterm/' title='port_select_zterm'><img width="150" height="133" src="http://phaq.phunsites.net/files/2010/12/port_select_zterm-150x133.png" class="attachment-thumbnail" alt="port_select_zterm" title="port_select_zterm" /></a>
<a href='http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/some_console_output/' title='some_console_output'><img width="150" height="150" src="http://phaq.phunsites.net/files/2010/12/some_console_output-150x150.png" class="attachment-thumbnail" alt="some_console_output" title="some_console_output" /></a>

]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2010/12/13/getting-aten-uc-232a-usb-to-serial-dongle-to-work-on-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing stock mini PCIe WiFi by DW1390 WiFi on eeePC 1000H</title>
		<link>http://phaq.phunsites.net/2009/08/15/replacing-stock-mini-pcie-wifi-by-dw1390-wifi-on-eeepc-1000h/</link>
		<comments>http://phaq.phunsites.net/2009/08/15/replacing-stock-mini-pcie-wifi-by-dw1390-wifi-on-eeepc-1000h/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 15:20:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/?p=135</guid>
		<description><![CDATA[This february I had my 30th birthday. My boss surprised me with an eeePC 1000H as an unexpected as well as also a very cool gift Ok, I must admit, that I took a glimpse at the tiny netbooks more than once. My dream was to actually run it with OS X instead of Windows [...]]]></description>
			<content:encoded><![CDATA[<p>This february I had my 30th birthday. My boss surprised me with an eeePC 1000H as an unexpected as well as also a very cool gift <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Ok, I must admit, that I took a glimpse at the tiny netbooks more than once. My dream was to actually run it with OS X instead of Windows or Linux.</p>
<p>So, just the next-day my netbook was OS X-ified (a topic, which I&#8217;ll cover later on), only to notice some more or less annoying issues.<br />
<span id="more-135"></span><br />
One of the most annoying issues was the stock WiFi, which required a very ugly 3rd party tool for configuration and was so absoluty not OS X-alike.<br />
<!--more--><br />
Two weeks ago I finally ordered a DW1390 mini PCIe WiFi card. It arrived today, so I went for immediate installation to see if it seamlessly works with my eeePC (or should it be called eeeBook instead?).</p>
<p>Here&#8217;s some pictures about the &#8220;unboxing experience&#8221;, though it&#8217;s not served up Apple-style <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img class="alignnone size-medium wp-image-123" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0268-300x225.jpg" alt="IMG_0268" width="300" height="225" /><img class="alignnone size-medium wp-image-124" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0269-300x225.jpg" alt="IMG_0269" width="300" height="225" /><br />
<img class="alignnone size-medium wp-image-125" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0270-225x300.jpg" alt="IMG_0270" width="225" height="300" /></p>
<p>It&#8217;s almost as tiny as a standard USB stick:</p>
<p><img class="alignnone size-medium wp-image-126" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0272-300x225.jpg" alt="IMG_0272" width="300" height="225" /></p>
<p>Ready to open up the back-cover:</p>
<p><img class="alignnone size-medium wp-image-127" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0274-300x225.jpg" alt="IMG_0274" width="300" height="225" /><br />
<img class="alignnone size-medium wp-image-128" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0275-300x225.jpg" alt="IMG_0275" width="300" height="225" /></p>
<p>Disconnecting both antenna wires &#8230;</p>
<p><img class="alignnone size-medium wp-image-129" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0276-300x225.jpg" alt="IMG_0276" width="300" height="225" /></p>
<p>This is the empty socket after having the original card removed:</p>
<p><img class="alignnone size-medium wp-image-130" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0277-300x225.jpg" alt="IMG_0277" width="300" height="225" /></p>
<p>And here&#8217;s the new card plugged-in:</p>
<p><img class="alignnone size-medium wp-image-131" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0278-300x225.jpg" alt="IMG_0278" width="300" height="225" /></p>
<p>After re-assembly I booted into OS X to configure the new WiFi the real OS X-style.</p>
<p><img class="alignnone size-medium wp-image-134" src="http://phaq2.phunsites.net/wp-content/uploads/2009/08/IMG_0282-300x225.jpg" alt="IMG_0282" width="300" height="225" /></p>
<p>Finally, one of the most annoying things on the eeeBook is gone now <img src='http://phaq.phunsites.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2009/08/15/replacing-stock-mini-pcie-wifi-by-dw1390-wifi-on-eeepc-1000h/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reviewing Transtec PROVIGO 410E iSCSI RAID</title>
		<link>http://phaq.phunsites.net/2007/08/22/reviewing-transtec-provigo-410e-iscsi-raid/</link>
		<comments>http://phaq.phunsites.net/2007/08/22/reviewing-transtec-provigo-410e-iscsi-raid/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 00:29:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/2007/08/22/reviewing-transtec-provigo-410e-iscsi-raid/</guid>
		<description><![CDATA[Last week I got myself a now toy at work: a Transtec PROVIGO 410E iSCSI RAID device. The task was to review if it could serve its purpose as (expandable) external storage system for my company&#8217;s (then still new-to-be-built, now in service) ftp mirror, a disk-based backup system and other possible areas of working. This [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I got myself a now toy at work: a Transtec <a href="http://www.transtec.co.uk/GB/E/products/Storage/raids/PROVIGO_400.html" target="_blank">PROVIGO 410E</a> iSCSI RAID device.</p>
<p>The task was to review if it could serve its purpose as (expandable) external storage system for my company&#8217;s (then still new-to-be-built, now in service) <a href="http://ftp.genotec.ch" target="_blank">ftp mirror</a>, a disk-based backup system and other possible areas of working.<br />
<span id="more-107"></span><br />
This hardware was available for testing:</p>
<ul>
<li>1 SuperMicro 6014P-T Server stocked with 2 Intel Xeon CPUs @ 3.0 GHz, 4 GB RAM, 2 x 160 GB SATA (internal RAID1), 2 Intel Pro/1000 adaptors (network connectivity) and 2 Intel Pro/1000MT adaptors for dedicated iSCSI storage network</li>
<li>1 Transtec PROVIGO 410E stocked with 1 Intel P4 CPU, 1 GB RAM, 15 x 400 GB SATA drives, single controller with 2 Broadcam Gigabit adaptors</li>
<li>HP ProCurve J4903A Switch 2824 (for Gigabit Testing with Jumbo Frames)</li>
</ul>
<p>This article will look into intial setup of the Provigo, especially step-by-step via serial console, which is not covered in the official manuals.<br />
Furthermore connecting the device to a frontend server (single-host configuration via iSCSI, global file system not considered for now) running RedHat Enterprise Linux will be outlined.</p>
<p><strong>#1 Getting Rid Of The Packaging</strong></p>
<p>Initially, the device was ordered back in April 2007. Due to some stock shortage delivery was first scheduled for mid of May 2007 and was later re-scheduled for June.</p>
<p>When it arrived there came that incredibly huge box which had to be lifted around by two people because of its size and weight (~ 50 kg&#8217;s).</p>
<p>Finally, after opening the box, I stood in front of the device. Along with it a pair of heavy rails, a serial cable and a documentation CD-ROM were included. Needless to say that a power cable with a german plug was shipped. Amazing that there are still some vendors who have not realized that we have a different power plug in Switzerland which is physically totally incompatible to the german ones.</p>
<p>Well, let&#8217;s leave this aside for now and look into the configuration stuff.</p>
<p><strong>#2 Preparing the Frontend Server</strong></p>
<p>First things first, I prepared the frontend server with a clean minimum install of RedHat Enterprise Linux 5.0.<br />
While the basic installation is clearly beyond the scope of this article, below are the additional steps I have gone through.</p>
<p><strong>#3 Disable Xen Console</strong></p>
<p>If you happen to have only one serial port and also a Xen-enabled kernel installed, the serial console must be released from Xen.<br />
This is done by adding <strong>xencons=off</strong> to the kernel appen line(s) in /etc/grub.conf like this:</p>
<pre>
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-8.el5
        module /boot/vmlinuz-2.6.18-8.el5xen ro root=/dev/md0 xencons=off
        module /boot/initrd-2.6.18-8.el5xen.img</pre>
<p><strong>#3 Install minicom</strong></p>
<p>For serial management a terminal emulator is required. I choose minicom which requires these rpm&#8217;s to be installed (sample applies to x86_64).</p>
<pre>
rpm -i lockdev-1.0.1-10.x86_64.rpm  minicom-2.1-3.x86_64.rpm</pre>
<p>If your RHEL is configured to use a local repository via yum, you may run this instead:</p>
<pre>
yum install minicom-2.1-3.x86_64</pre>
<p>To configure minicom run:</p>
<pre>
minicom -s</pre>
<p>This will enter the setup dialog where I choose <strong>serial port setup</strong> first.</p>
<p>The Provigo has a 115200 8N1 factory default for the serial console, so I changed my settings as shown below.<br />
I assumed /dev/ttyS0 (COM1) from my current hardware configuration.</p>
<pre>
    â”Œâ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”
    â”‚ A -    Serial Device      : /dev/ttyS0                                â”‚
    â”‚ B - Lockfile Location     : /var/lock                                 â”‚
    â”‚ C -   Callin Program      :                                           â”‚
    â”‚ D -  Callout Program      :                                           â”‚
    â”‚ E -    Bps/Par/Bits       : 115200 8N1                                â”‚
    â”‚ F - Hardware Flow Control : No                                        â”‚
    â”‚ G - Software Flow Control : No                                        â”‚
    â”‚                                                                       â”‚
    â”‚    Change which setting?                                              â”‚
    â””â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”˜</pre>
<p>Back to the main menu I entered <strong>modem and dialing</strong> where I removed the init strings so no AT init commands are sent to the host accidentally.</p>
<p>Afterwards I choose <strong>save setup as dfl</strong> and <strong>exit from minicom</strong>.</p>
<p><strong>#4 Configure the Provigo</strong></p>
<p>To configure the Provigo attach the serial cable shipped with the device to the RJ11 jack on the Provigo and the RS232 connector on the frontend host.<br />
No start minicom and press enter. If everything works out you should receive a login prompt.</p>
<pre>
Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jul 26 2006, 06:38:09.

Press CTRL-A Z for help on special keys

login:</pre>
<p>The login name is <strong>root</strong> with a default password of <strong>root</strong>.</p>
<p>You may do the initial setup by running the &#8216;dasetup&#8217; command for Q&amp;A based setup.<br />
This will however only cover some basic settings like IP address and hostname. Advanced configuration is still to be done manually.<br />
For this reason I&#8217;ll apply all configuration manually.</p>
<p>First of all, set some arbitary hostname, a name server and &#8211; if required &#8211; a default route.</p>
<pre>
# dahostname SAN001
# dans -a 192.0.2.2
# daroute add default gw 192.0.2.1</pre>
<p>Now the network interface must be configured for either default a mtu of 1500&#8230;</p>
<pre>
# daifconfig local da0 192.0.2.11 netmask 255.255.255.0 mtu 1500
***************** local diskarray controller ID 0 ******************
Set local host interface da0 192.0.2.11 netmask 255.255.255.0 mtu 1500
********************************************************************</pre>
<p>or a mtu of 9000 aka jumbo frames.</p>
<pre>
# daifconfig local da0 192.0.2.11 netmask 255.255.255.0 mtu 9000
***************** local diskarray controller ID 0 ******************
Set local host interface da0 192.0.2.11 netmask 255.255.255.0 mtu 9000
********************************************************************</pre>
<p>Even if source addresses can be spoofed eventually, adding an IP access control list is never wrong.<br />
So this will first remove the default acl and add the test network and loopback range to the access list:</p>
<pre>
# daacl -d 0.0.0.0/0
# daacl -a 192.0.2.0/24
# daacl -a 127.0.0.0/8</pre>
<p>And don&#8217;t forget to set new passwords for <strong>guest</strong> (unprivileged login) and <strong>root</strong> (admin login).</p>
<pre>
# dapasswd -p newpasswd guest
# dapasswd -p newpasswd root</pre>
<p>Mind that the <strong>dapasswd</strong> command does not support single and double quotes.<br />
If you have a password which includes special characters, it must be set like this:</p>
<pre>
# dapasswd -p my!special:32 root</pre>
<p>You should also set the time zone and time/date of the device.<br />
Refer to <strong>dadate -h</strong> for the input format.</p>
<pre>
# dadate -z UTC +2
# dadate -s 0702152607.00</pre>
<p>Optionally email notification can be enabled as seen in <strong>daaddrbk -h</strong> command.</p>
<p><strong>#5a Create Custom iSCSI Targets</strong></p>
<p>Now that the basic configuration is complete it&#8217;s about time to define our custom iSCSI targets.<br />
In client-server terminology, an iSCSI target refers to the server-side, which exports a block device to a client.</p>
<p>Some basic rules for iSCSI target names, which are also known as IQNs (iSCSI qualified names), define that an IQN consists of multiple tokens separated by dots and colons.</p>
<p>1st part is always the keyword &#8216;iqn&#8217;<br />
2nd part equals to year and month when the domain name (see also 3rd part) was acquired, eg. 2004-07<br />
3rd part is the reversed domain name, e.g. phunsites.net becomes net.phunsites<br />
4th part is a colon as delimiter<br />
5th part is a string or serial number which should refer to the storage system, eg. mac address, hostname, etc</p>
<p>So when getting this altogether a valid IQN could read like this:</p>
<pre>
iqn.2004-07.net.phunsites:san001</pre>
<p>If you do now own a domain name or want to be strictly internal something like this could also be used:</p>
<pre>
iqn.2007-07.localnet.localhost:storage1</pre>
<p>After having defined the proper IQN string it can be set and verified as follows:</p>
<pre>
# datarget -set iqn.2004-07.net.phunsites:san001
Target names are set for both controllers.

# datarget -show
Target name (local):    iqn.2004-07.net.phunsites:san001.0
Target name (remote):   iqn.2004-07.net.phunsites:san001.1</pre>
<p><strong>#5b Configure Disk Groups</strong></p>
<p>Let&#8217;s have a look into disk groups, which are actually the RAID sets.<br />
Disk groups may be created from all empty/unassigned disks. List them by means of the <strong>dadg</strong> command.</p>
<pre>
# dadg -Ldisk
Drive    View from controller 0    View from controller 1
Slot 0 (xda) ....................SPARE
Slot 1 (xdb) ....................SPARE
Slot 2 (xdc) ....................SPARE
Slot 3 (xdd) ....................SPARE
Slot 4 (xde) ....................SPARE
Slot 5 (xdf) ....................SPARE
Slot 6 (xdg) ....................SPARE
Slot 7 (xdh) ....................SPARE
Slot 8 (xdi) ....................SPARE
Slot 9 (xdj) ....................SPARE
Slot 10 (xdk) ....................SPARE
Slot 11 (xdl) ....................SPARE
Slot 12 (xdm) ....................SPARE
Slot 13 (xdn) ....................SPARE
Slot 14 (xdo) ....................SPARE</pre>
<p>To create three disk groups with five disks per group forming a RAID5 use these commands:</p>
<pre>
#dadg -a DG1 -o 0 -l 5 -v 95 -m "Disk Group 1" /dev/xd[a-e]
#dadg -a DG2 -o 0 -l 5 -v 95 -m "Disk Group 2" /dev/xd[f-j]
#dadg -a DG3 -o 0 -l 5 -v 95 -m "Disk Group 3" /dev/xd[k-o]</pre>
<p>Then verify how it looks like:</p>
<pre>
# dadg -Lall
------------------------------------------------------------
Information for all the disk groups in controller 0:
Disk group "DG1": active (vg_510842bddb23d1ed44cab1b242cdea52)
Disk group "DG2": active (vg_e944dd0ebcb7427aeea37cefdfc9c895)
Disk group "DG3": active (vg_a0e7be409536a4dd195cbead5986416b)
------------------------------------------------------------
Information for all the disk groups in controller 1:

# dadg -Ldisk
Drive    View from controller 0    View from controller 1
Slot 0 (xda) ............IN DG ("DG1")
Slot 1 (xdb) ............IN DG ("DG1")
Slot 2 (xdc) ............IN DG ("DG1")
Slot 3 (xdd) ............IN DG ("DG1")
Slot 4 (xde) ............IN DG ("DG1")
Slot 5 (xdf) ............IN DG ("DG2")
Slot 6 (xdg) ............IN DG ("DG2")
Slot 7 (xdh) ............IN DG ("DG2")
Slot 8 (xdi) ............IN DG ("DG2")
Slot 9 (xdj) ............IN DG ("DG2")
Slot 10 (xdk) ............IN DG ("DG3")
Slot 11 (xdl) ............IN DG ("DG3")
Slot 12 (xdm) ............IN DG ("DG3")
Slot 13 (xdn) ............IN DG ("DG3")
Slot 14 (xdo) ............IN DG ("DG3")</pre>
<p>You may also get specific information about any existing disk group.</p>
<pre>
# dadg -Ldg DG1
Disk-Group Name : DG1
Status : active
Raid status : healthy
Owner controller : 0
Alarm level : 95
Raid Level : 5
Desired number of disks : 5
Actual number of disks : 5
Member disks : xda(0), xdb(1), xdc(2), xdd(3), xde(4)
DG size : 1525248 MB
Allocated size : 0 MB
Free size : 1525248 MB
Comment : Disk Group 1</pre>
<p><strong>#5c Create Volumes</strong></p>
<p>Volumes are created from disk groups. Each disk group can host multiple volumes which will be exported to either one single host at a time or &#8211; by using an abstraction layer like global filesystem &#8211; to multiple hosts at once.</p>
<p>Volumes are maintained by the the <strong>davd</strong> command. Refer to <strong>davd -h</strong> for details on the arguments.</p>
<pre>
# davd -a DG1VOL1 -g DG1 -m 2 -r 0 -s 1525248
DG1VOL1 successfully created and available.

# davd -a DG2VOL1 -g DG2 -m 2 -r 0 -s 1525248
DG2VOL1 successfully created and available.

# davd -a DG3VOL1 -g DG3 -m 2 -r 0 -s 1525248
DG3VOL1 successfully created and available.

# davd -L DG1VOL1 -g DG1
Virtual-Disk Name : DG1VOL1
Type : Data Virtual Disk
Date/Time Created : Mon Jul  2 15:45:43 2007
Operational State : Available
Disk Group : DG1
Cache Policy : Write Back
Read Ahead Policy : Enabled
Capacity : 1525248 MB</pre>
<p><strong>#5d Add Initators</strong></p>
<p>To allow any arbitary host to connect it must be added to the Provigo initiator list.</p>
<p>Again in client-server terms, the initator refers to the client connecting the the target (server).</p>
<p>The <strong>dahost</strong> command servers that purpose and will also allow to use initiator secrets for additional security.<br />
I omitted the latter one for the sake of simplicity.</p>
<pre>
# dahost -a -w iqn.2004-07.net.phunsites:testhost -n testhost.phunsites.net -t "Test Host for iSCSI" -b 0 -o 1</pre>
<p><strong>#5e Export LUNs to Initators</strong></p>
<p>Now that our initiators are known to the system, the Volumes must be exported to the iniators.<br />
For that purpose the <strong>dalun</strong> is used, which will assign a LUN (logical unit numbers) for each volume.</p>
<pre>
# dalun -a -n testhost.phunsites.net -g DG1 -k DG1VOL1
# dalun -a -n testhost.phunsites.net -g DG2 -k DG1VOL1
# dalun -a -n testhost.phunsites.net -g DG3 -k DG1VOL1</pre>
<p><strong>#6 Configure Networking</strong></p>
<p>The Provigo manual points out multiple possibilities on network connections which include variants of channel bonding and different MTU sizes.</p>
<p>These may or may affect the effective transfer rate for all frames, however this depends heavily on the usage of the iSCSI resource and how the data looks like (e.g. many small file transfers or less big file transfers).</p>
<p>If you want to use jumbo frames (MTU 9000) you will need to alter your <strong>/etc/sysconfig/network-scripts/ifcfg-ethX</strong> file. Add an MTU statement to set the value for the new MTU size.</p>
<pre>
# Intel Corporation 82546GB Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPADDR=192.0.2.21
NETMASK=255.255.255.0
MTU=9000</pre>
<p>If you want to try your luck with channel bonding, add this to <strong>/etc/modprobe.conf</strong>:</p>
<pre>
alias bond0 bonding
options bond0 mode=1 miimon=100</pre>
<p>This will enable active-backup mode, which usually works best.<br />
Refer also to <strong>README.bonding</strong>, which should be somewehre on your systems, for other bonding modes.</p>
<p>If your bonding devices includes eth2, your network configuration should read like this for <strong>/etc/sysconfig/network-scripts/ifcfg-eth2</strong>:</p>
<pre>
DEVICE=eth2
ONBOOT=yes
HWADDR=00:07:e9:1f:bc:08
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none</pre>
<p>And for <strong>/etc/sysconfig/network-scripts/ifcfg-eth3</strong> eventually:</p>
<pre>
DEVICE=eth3
ONBOOT=yes
HWADDR=00:07:e9:1f:bc:09
USERCTL=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none</pre>
<p>The network configuration goes to <strong>/etc/sysconfig/network-scripts/ifcfg-bond0</strong>:</p>
<pre>
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPADDR=192.0.2.21
NETMASK=255.255.255.0</pre>
<p>Again you may include the <strong>MTU=9000</strong> option to enable jumbo frames.</p>
<p>To bring up the bonding interface manually use this for example:</p>
<pre>
# modprobe bonding mode=1
# ifconfig bond0 192.0.2.21 netmask 255.255.255.0 mtu 9000
# ifenslave bond0 eth2
# ifenslave bond0 eth3</pre>
<p><strong>#7 Configure iSCSI Initiator</strong></p>
<p>Now the frontend host needs to be configured.<br />
First of all installation of an iSCSI initiator software is required.</p>
<p>On RedHat Enterprise Linux 5.0 this can be installed as easy as:</p>
<pre>
rpm -i iscsi-initiator-utils-6.2.0.742-0.5.el5.x86_64.rpm</pre>
<p>or</p>
<pre>
yum install iscsi-initiator-utils.x86_6</pre>
<p>Then make sure the services are enabled properly, but not yet started.</p>
<pre>
# chkconfig iscsid on
# chkconfig iscsi on
# chkconfig --list iscsid
# chkconfig --list iscsi
# service iscsid stop
# service iscsi stop</pre>
<p>Add the initiator name to <strong>/etc/iscsi/initatorname.iscsi</strong>. This should correspond to the initator name used earlier with the <strong>dahost</strong> command and also comply to existing host name entries in the dns zone if they also exist.</p>
<pre>
InitiatorName=iqn.2004-07.net.phunsites:testhost</pre>
<p>Then the <strong>iscsid</strong> daemon may be started at first.</p>
<pre>
# service iscsid start
Turning off network shutdown. Starting iSCSI daemon:       [  OK  ]</pre>
<p>Run a discovery against the iSCSI target&#8217;s IP address or hostname.<br />
This should reveal the iSCSI target and bind a persistent connection to it.</p>
<pre>
# iscsiadm -m discovery -t sendtargets -p 192.0.2.11
192.0.2.11:3260,1234 iqn.2004-07.net.phunsites:san001.0

# iscsiadm -m discovery
192.0.2.11:3260 via sendtargets

# iscsiadm -m node
192.0.2.11:3260,1234 iqn.2004-07.net.phunsites:san001.0</pre>
<p>Then the <strong>iscsi</strong> service may be started:</p>
<pre>
# service iscsi start
Turning off network shutdown. Starting iSCSI daemon:       [  OK  ]
Setting up iSCSI targets: Login session [192.0.2.11:3260 iqn.2004-07.net.phunsites:san001.0]</pre>
<p>If everything went well something like this should arise in the system logs:</p>
<pre>
# dmesg
scsi1 : iSCSI Initiator over TCP/IP
Vendor: Transtec  Model: PROVIGO1100-SAN0  Rev: 1.00
Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sdb: 3123707904 512-byte hdwr sectors (1599338 MB)
sdb: Write Protect is off
sdb: Mode Sense: 17 00 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 3123707904 512-byte hdwr sectors (1599338 MB)
sdb: Write Protect is off
sdb: Mode Sense: 17 00 00 00
SCSI device sdb: drive cache: write back
sdb: unknown partition table
sd 1:0:0:0: Attached scsi disk sdb
sd 1:0:0:0: Attached scsi generic sg3 type 0
Vendor: Transtec  Model: PROVIGO1100-SAN0  Rev: 1.00
Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sdc: 3123707904 512-byte hdwr sectors (1599338 MB)
sdc: Write Protect is off
sdc: Mode Sense: 17 00 00 00
SCSI device sdc: drive cache: write back
SCSI device sdc: 3123707904 512-byte hdwr sectors (1599338 MB)
sdc: Write Protect is off
sdc: Mode Sense: 17 00 00 00
SCSI device sdc: drive cache: write back
sdc: unknown partition table
sd 1:0:0:1: Attached scsi disk sdc
sd 1:0:0:1: Attached scsi generic sg4 type 0
Vendor: Transtec  Model: PROVIGO1100-SAN0  Rev: 1.00
Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sdd: 3123707904 512-byte hdwr sectors (1599338 MB)
sdd: Write Protect is off
sdd: Mode Sense: 17 00 00 00
SCSI device sdd: drive cache: write back
SCSI device sdd: 3123707904 512-byte hdwr sectors (1599338 MB)
sdd: Write Protect is off
sdd: Mode Sense: 17 00 00 00
SCSI device sdd: drive cache: write back
sdd: unknown partition table
sd 1:0:0:2: Attached scsi disk sdd
sd 1:0:0:2: Attached scsi generic sg5 type 0</pre>
<p>The device should then also be visible in <strong>/proc/scsi/scsi</strong>:</p>
<pre>
# cat /proc/scsi/scsi
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Transtec Model: PROVIGO1100-SAN0 Rev: 1.00
Type:   Direct-Access                    ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: Transtec Model: PROVIGO1100-SAN0 Rev: 1.00
Type:   Direct-Access                    ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 00 Lun: 02
Vendor: Transtec Model: PROVIGO1100-SAN0 Rev: 1.00
Type:   Direct-Access                    ANSI SCSI revision: 04</pre>
<p><strong>#8 Working With Disks</strong></p>
<p>Now you can work with the disks as if they were locally installed to the system.<br />
They are initialized like any other disk device would be, too:</p>
<pre>
# fdisk /dev/sdb
# fdisk /dev/sdc
# fdisk /dev/sdd

# mkfs -t ext3 /dev/sdb1
# mkfs -t ext3 /dev/sdc1
# mkfs -t ext3 /dev/sdd1</pre>
<p>If you want the iSCSI block devices to be mounted via fstab on startup, the entry should include the <strong>_netdev</strong> keyword.<br />
This will ensure that the network is available before the device is to be mounted.</p>
<pre>
/dev/sdc1               /mnt/sdc1   ext3    _netdev 0 0</pre>
<p><strong>#9 Conclusions</strong></p>
<p>While I&#8217;m still hacking up some good benchmark scripts, I can tell for sure that the system performs very well and definitily fits my purpose.<br />
As this is the first iSCSI based device I&#8217;ve ever got, implementation and usage is very simple and works reliable.</p>
<p>I&#8217;m in doubt however wether an iSCSI device is good enough when it comes to high-load scenarios where every bit of I/O counts.<br />
This is definitely one thing I want to test out in-depth during the next weeks.</p>
<p>Despite still in evaluation, this review has already left its markings on the wall.<br />
There were some odd&#8217;s and evens which I came along and as such are to be mentioned here.</p>
<p>First, and already mentioned earlier, is the fact why I didn&#8217;t get a power cable with a swiss power plug.<br />
It _may_ actually sound pedantic, but when ordering anything from a vendor in Switzerland I do expect to receive to correct equipment.</p>
<p>My second thoughts care about the documentation.<br />
I must admit that the guys at Transtec did a very good job in writing the handbook. It is very detailed and covers almost everything one needs to know.<br />
It lacks however a step-by-step description how setup is done via the serial console.<br />
While all commands are properly documented, one get&#8217;s no idea whatsoever in which order they must be run.<br />
It&#8217;s a matter of puzzling it together by logical evaluation and a bit of trial and error.<br />
One might argue that the docs cover step-by-step configuration for the web management interface. Acknowledged. This exists and is indeed very detailed and to the point.<br />
But still, I know a lot of poeple who don&#8217;t trust in web interfaces (me included). Providing a little check list would be sufficient enough but still of great help to get things done faster.</p>
<p>The third thing noted is the inconsequent usage of command line arguments within the CLI.<br />
This can be seen for example when it comes to reviewing settings.</p>
<pre>
dadg -Lall (List)
dahost -l (list)
dalun -p (print)
daroute (nothing required at all to 'list')</pre>
<p>As the <strong>da*</strong> commands are clearly part of the Provigo firmware, I can&#8217;t follow the reason why the all have different syntax.<br />
It would be more straight-forward if they&#8217;d follow a common guideline and define the same arguments for particular functions to be identical accross all utilities.</p>
<p>To make things even worse in the current implementation, there exist also variations which require the admin to _know_ in advance what he is querying for. An example of this:</p>
<pre>
davd -L DG1VOL1 -g DG1</pre>
<p><strong>davd</strong> is unable to show all defined volumes at once, there&#8217;s simply no option for this. So I _must_ know the exact names of my volumes. But where do I get them from if I happen to forget the volume names one day?</p>
<p>Also the error reporting could be better or clearer.<br />
What would this error message mean:</p>
<pre>
# dalun -a -n hostXYZ -g DG1 -k DG1VOL1
Host not found</pre>
<p>Host not found. Errr&#8230; First thing coming into my mind: host not found. Where? In DNS. In /etc/hosts? Where!?<br />
Making the error message say something like &#8216;Please add Host &#8220;HostXYZ&#8221; with &#8220;dahost&#8221; command first&#8217; would make things much more obvious.</p>
<p>Fourth thing to note is protocol support in Provigo.<br />
It supports beneath http protocol also the serial console for management and &#8230; telnet.<br />
Huh!? telnet? Telnet to be used for management purpose looks like an ancient dinosaur to me!? Guys, we have 2007!<br />
Even if an iSCSI-based storage network is supposed to be separated from public networks and therefore be closed down, using telnet for remote management is neither state-of-the-art nor secure.<br />
I see no reason why Provigo could not support SSH. It has plenty of RAM, a decent CPU. Also the base OS image, which is build on some Linux, is around ~52 MiB with ~48 MiB free space, so room enough to include the SSH daemon. Why don&#8217;t you do so?</p>
<p>A fifth thing sawn was a bug in <strong>dastat</strong> command:</p>
<pre>
Name:                                  SAN001-0
Controller Slot#:                      0
Remote Controller:                     Not Installed
Operational State:                     Active/-
Total Capacity:                        4468.50 GB
Time:                                  Mon Jul  2 16:45:33 UTC+2 2007
Kernel Version (local):                K:2.7.155-20061114
CPLD Board Midplane Rev (local):       C:7 B:A04 M:2
BIOS Version (local):                  RN2_0110 05/23/06
/usr/sbin/dastat: [: !=: unary operator expected
Fibre Channel WWN:

Drive    View from controller 0    View from controller 1
Slot 0 (xda) ............IN DG ("DG1")
Slot 1 (xdb) ............IN DG ("DG1")
Slot 2 (xdc) ............IN DG ("DG1")
Slot 3 (xdd) ............IN DG ("DG1")
Slot 4 (xde) ............IN DG ("DG1")
Slot 5 (xdf) ............IN DG ("DG2")
Slot 6 (xdg) ............IN DG ("DG2")
Slot 7 (xdh) ............IN DG ("DG2")
Slot 8 (xdi) ............IN DG ("DG2")
Slot 9 (xdj) ............IN DG ("DG2")
Slot 10 (xdk) ............IN DG ("DG3")
Slot 11 (xdl) ............IN DG ("DG3")
Slot 12 (xdm) ............IN DG ("DG3")
Slot 13 (xdn) ............IN DG ("DG3")
Slot 14 (xdo) ............IN DG ("DG3")

No System Health Alert</pre>
<p>Messages like <strong>[: !=: unary operator expected</strong> look definitely not good, especially when it's simply a matter of proper shell scripting syntax.<br />
When looking at <strong>/usr/bin/dastat</strong> there is this line:</p>
<pre>
if [ $multiple_target != "yes" ]</pre>
<p>Changing it as follows removes the error message:</p>
<pre>
if [ "$multiple_target" != "yes" ]</pre>
<p>Despite these things, which could be regarded as minor glitches, I must admit that the Provigo 410E does an excellent job for a decent price.<br />
Given it&#8217;s modular design it&#8217;s scalable and can fit multiple scenarios from single iSCSI environments up to mixed iSCSI and FC environments.</p>
<p>As mentioned before I&#8217;m doing some benchmarking currently, which I hope to reveal some interesting information in terms of throughput and I/O performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2007/08/22/reviewing-transtec-provigo-410e-iscsi-raid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adaptec Storage Manager for Supermicro AOC-2020SA RAID controller</title>
		<link>http://phaq.phunsites.net/2007/07/04/adaptec-storage-manager-for-supermicro-aoc-2020sa-raid-controller/</link>
		<comments>http://phaq.phunsites.net/2007/07/04/adaptec-storage-manager-for-supermicro-aoc-2020sa-raid-controller/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 16:01:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/2007/07/04/adaptec-storage-manager-for-supermicro-aoc-2020sa-raid-controller/</guid>
		<description><![CDATA[While playing around with a Supermicro 6014P-T server I wanted to install a (Linux) CLI to manage the AOC-2020SA RAID controller. Bad enough that Adaptec Storage Manager (ASM) included with the Supermicro driver disk does not include a CLI. Let&#8217;s not argue about whom had the great idea to provide a GUI-only java-based management application [...]]]></description>
			<content:encoded><![CDATA[<p>While playing around with a Supermicro 6014P-T server I wanted to install a (Linux) CLI to manage the AOC-2020SA RAID controller.</p>
<p>Bad enough that Adaptec Storage Manager (ASM) included <a href="ftp://ftp.supermicro.com/CDR-ASR-SA_1.03_for_AOC-2020SA_AOC-2025SA/ASM/ASM4241" target="_blank">with the Supermicro driver disk</a> does not include a CLI.<br />
Let&#8217;s not argue about whom had the great idea to provide a GUI-only java-based management application to be used on 19&#8243; 1U rackmount servers.<br />
Of course I&#8217;d never run such a server headless or without X11 installed so why would I ever need a CLI!?<br />
<span id="more-105"></span><br />
At least they make it up by supplying a newer version of ASM which includes a CLI.<br />
It&#8217;s only a shame that it&#8217;s hidden away on their ftp server within the driver disk of another disk controller, making it somewhat an adventure to find it eventually&#8230;</p>
<p>Look for the <a href="ftp://ftp.supermicro.com/CDR-LPZCR1_1.11_for_AOC-LPZCR1_AOC-SOZCR1/ASM/ASM4859" target="_blank">AOC-LPZCR1/AOC-SOZCR1 driver</a> to get the x86 or x86_64 linux version of ASM.</p>
<h4>Install ASM CLI</h4>
<p>As I only need the ASM CLI without the java GUI stuff et all, the following will describe how to do it.</p>
<p>This command will download the x86 package and extract the &#8220;arcconf&#8221; binary.<br />
When asked to &#8220;rename ./usr/StorMan/arcconf&#8221; simply provide the new location where it is to be stored, e.g. /usr/sbin/arcconf.<br />
Replace the &#8220;ftp://url/to/rpmfile&#8221; stanza by the actual url.</p>
<pre>
# lynx -dump ftp://url/to/rpmfile | rpm2cpio - | cpio -ivmur '*arcconf'
rename ./usr/StorMan/arcconf -&gt; /usr/sbin/arcconf</pre>
<p>Afterwards the extracted binary needs to be assigned execute permissions:</p>
<pre>
# chmod 700 /usr/sbin/arcconf</pre>
<p>Now since the binary is dynamically linked a check for eventually missing libraries is required:</p>
<p># ldd /usr/sbin/arcconf<br />
linux-gate.so.1 =&gt;  (0xffffe000)<br />
libpthread.so.0 =&gt; /lib/libpthread.so.0 (0xf7fdd000)<br />
libdl.so.2 =&gt; /lib/libdl.so.2 (0xf7fd9000)<br />
libstdc++-libc6.2-2.so.3 =&gt; not found<br />
libm.so.6 =&gt; /lib/libm.so.6 (0xf7f6f000)<br />
libc.so.6 =&gt; /lib/libc.so.6 (0x00afb000)<br />
/lib/ld-linux.so.2 (0x00ade000)<br />
libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0xf7f62000)</p>
<p>More recent distros, RHEL 5 in may case, usually require compatibility libraries to be installed.</p>
<p>Depending on your distro YMMV.<br />
On RHEL, and other rpm-based distros with YUM support, missing libraries may be located like this:</p>
<pre>
# yum whatprovides libstdc++-libc6.2-2.so.3
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up repositories
Reading repository metadata in from local files

compat-libstdc++-296.i386                2.96-138
rhel-base
Matched from:
libstdc++-libc6.2-2.so.3</pre>
<p>Finally the package named in yum is to be installed accordingly:</p>
<pre>
yum install compat-libstdc++-296.i386</pre>
<p>So after getting arround these hurdles the CLI is ready to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2007/07/04/adaptec-storage-manager-for-supermicro-aoc-2020sa-raid-controller/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling Serial Console on Sun Ultra 5</title>
		<link>http://phaq.phunsites.net/2007/02/16/enabling-serial-console-on-sun-ultra-5/</link>
		<comments>http://phaq.phunsites.net/2007/02/16/enabling-serial-console-on-sun-ultra-5/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 20:50:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/16/enabling-serial-console-on-sun-ultra-5/</guid>
		<description><![CDATA[On a Sun Ultra 5 keyboard and screen are used as default input/output devices. This causes the serial port not to be used by default, at least not unless you send a keypress over an attached terminal. To change this behaviour, two values need to be changed in OpenBoot. So first we need to enter [...]]]></description>
			<content:encoded><![CDATA[<p>On a Sun Ultra 5 keyboard and screen are used as default input/output devices. This causes the serial port not to be used by default, at least not unless you send a keypress over an attached terminal.</p>
<p>To change this behaviour, two values need to be changed in OpenBoot.<br />
<span id="more-86"></span><br />
So first we need to enter OpenBoot by sending a Break over the serial line or STOP-A.</p>
<p>Examine the environment values like this and look out for the variables called &#8216;input-device&#8217; and &#8216;output-device&#8217;:</p>
<p># printenv<br />
Variable Name    Value       Default Value<br />
[output omitted]<br />
output-device      screen      screen<br />
input-device         keyboard  keyboard<br />
[output omitted]</p>
<p>Set them as follows to enable the serial console to be used by default:</p>
<p>#setenv output-device virtual-console<br />
#setenv input-device virtual-console</p>
<p>Next time the machine is powered on, the serial console should come up at once.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2007/02/16/enabling-serial-console-on-sun-ultra-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

