<?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>cyborgworkshop.org &#187; Solaris</title>
	<atom:link href="http://cyborgworkshop.org/category/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyborgworkshop.org</link>
	<description>Blurring the line</description>
	<lastBuildDate>Wed, 25 Aug 2010 16:53:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linux iproute2 tools</title>
		<link>http://cyborgworkshop.org/2009/09/16/linux-iproute2-tools/</link>
		<comments>http://cyborgworkshop.org/2009/09/16/linux-iproute2-tools/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:20:26 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=539</guid>
		<description><![CDATA[The iproute2 tools are default installed on most major linux distributions now, but few people know how to use them. Once you are familiar with them though, you will lament having to use ifconfig and route. Here is a quick chart on iproute2 replacement commands.]]></description>
			<content:encoded><![CDATA[<p>The iproute2 tools are default installed on most major linux distributions now, but few people know how to use them.  Once you are familiar with them though, you will lament having to use ifconfig and route.  Here is a quick chart on iproute2 replacement commands.<br />

<table id="wp-table-reloaded-id-1-no-1" class="wp-table-reloaded wp-table-reloaded-id-1">
<thead>
	<tr class="row-1 odd">
		<th class="column-1">Ifconfig Command</th><th class="column-2">IP Command</th>
	</tr>
</thead>
<tbody>
	<tr class="row-2 even">
		<td class="column-1">ifconfig -a</td><td class="column-2">ip addr show</td>
	</tr>
	<tr class="row-3 odd">
		<td class="column-1">ifconfig eth0 1.2.3.4 netmask 255.255.255.255</td><td class="column-2">ip addr add 1.2.3.4 255.255.255.255 dev eth0</td>
	</tr>
	<tr class="row-4 even">
		<td class="column-1">netstat -nvr</td><td class="column-2">ip route</td>
	</tr>
	<tr class="row-5 odd">
		<td class="column-1">route get 1.2.3.4 (solaris)</td><td class="column-2">ip route get 1.2.3.4</td>
	</tr>
	<tr class="row-6 even">
		<td class="column-1">route add -net 1.2.3.0 netmask 255.255.255.0 dev eth0</td><td class="column-2">ip route add 1.2.3.0/255.255.255.0 dev eth1</td>
	</tr>
	<tr class="row-7 odd">
		<td class="column-1">ifconfig eth0 mtu 1496</td><td class="column-2">ip link set eth0 mtu 1496</td>
	</tr>
	<tr class="row-8 even">
		<td class="column-1">ifconfig eth0 down</td><td class="column-2">ip link set eth0 down</td>
	</tr>
	<tr class="row-9 odd">
		<td class="column-1">ifconfig eth0 promisc</td><td class="column-2">ip link set eth0 promisc on</td>
	</tr>
</tbody>
</table>
</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/09/16/linux-iproute2-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Intel BLKD945GCLF2 Atom 330 motherboard</title>
		<link>http://cyborgworkshop.org/2009/04/21/the-intel-blkd945gclf2-atom-330-motherboard/</link>
		<comments>http://cyborgworkshop.org/2009/04/21/the-intel-blkd945gclf2-atom-330-motherboard/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 15:21:46 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Atom 330]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[hackintosh]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=212</guid>
		<description><![CDATA[Atom 330 motherboard is almost perfect]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t usually write about specific products, but I have to drop a line about this new Atom 330 based board that I picked up from newegg.  First off, it&#8217;s a dual core Atom CPU (with HT) that clocks in at 1.6ghz in 8 watts. Two SATA 2 ports and a single IDE attach the storage, 1 PCI slot, 1 DDR2 DIMM slot, onboard RTL gigabit LAN and Intel analog video with s-video out.  Pretty much a 3 generation old PC.  But here is the kicker, this little board runs EVERYTHING!  Right now, I&#8217;m triple booting OSX (Kalyway with 0 tweaks, it just works) Mint Linux XFCE and VMWare ESXi (!).  The ESXi did require me to smack in an intel based NIC, but the ICH7 chipset allows you to use the onboard sata storage as VMFS.   The only real drag about this board is that it tops out at 2 gig of RAM, otherwise I would be ordering these things in bulk!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/04/21/the-intel-blkd945gclf2-atom-330-motherboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binding solaris zfs iscsi to a specific interface</title>
		<link>http://cyborgworkshop.org/2009/02/17/binding-solaris-zfs-iscsi-to-a-specific-interface/</link>
		<comments>http://cyborgworkshop.org/2009/02/17/binding-solaris-zfs-iscsi-to-a-specific-interface/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 15:11:24 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=207</guid>
		<description><![CDATA[Bind an iscsi share in zfs to a specific IP]]></description>
			<content:encoded><![CDATA[<p>By default, when you enable iscsi sharing within zfs, the share is created and bound to all available ethernet interfaces. This isn&#8217;t necessarily a bad thing, but if for some reason you can reach your iscsi share via two paths, you run the chance of sending iscsi traffic over a non optimized path and really messing with your performance. Fortunately, a way exists to bind iscsi to specific interfaces using interface groups.</p>
<p>First, we need to create the interface group. This is assuming that the IP 192.168.1.1 is the IP address that is assigned to the interface (or in the case of bound channels, multiple interfaces) that you want a specific share to use.</p>
<blockquote><p>iscsitadm create tpgt<br />
iscsitadm modify tpgt -i 192.168.1.1 1</p></blockquote>
<p>A quick</p>
<blockquote><p>iscsitadm list tpgt -v 1</p></blockquote>
<p>Will let you know if this worked.</p>
<p>Now that your interface group is created, all you have to do is bind it to a specific share.</p>
<blockquote><p>iscsitadm modify target -p 1 zpool/iscsiTarget</p></blockquote>
<p>Done!  This leaves open some interesting opportunities for using the same iscsi SAN to service connections on different networks in a relatively secure manner.  Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/02/17/binding-solaris-zfs-iscsi-to-a-specific-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloning a drive over the network</title>
		<link>http://cyborgworkshop.org/2008/12/04/cloning-a-drive-over-the-network/</link>
		<comments>http://cyborgworkshop.org/2008/12/04/cloning-a-drive-over-the-network/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:02:09 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[drive clone]]></category>
		<category><![CDATA[netcat]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=193</guid>
		<description><![CDATA[If you have netcat and dd installed, you have a wicked fast way to clone a harddrive over the network.  You&#8217;ll need netcat and dd installed on both machines.   On the target machine (the machine you want to push the drive image to) run nc -l -p 1337 &#124; dd of=/dev/sda and on the host [...]]]></description>
			<content:encoded><![CDATA[<p>If you have netcat and dd installed, you have a wicked fast way to clone a harddrive over the network.  You&#8217;ll need netcat and dd installed on both machines.   On the target machine (the machine you want to push the drive image to) run</p>
<blockquote><p>nc -l -p 1337 | dd of=/dev/sda </p></blockquote>
<p>and on the host machine (the machine you want to clone) </p>
<blockquote><p>dd if=/dev/sda | nc 192.168.1.1 1337</p></blockquote>
<p>This assumes that your IP is 192.168.1.1, so adjust accordingly. </p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2008/12/04/cloning-a-drive-over-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Undelete a deleted zfs pool</title>
		<link>http://cyborgworkshop.org/2008/09/03/undelete-a-deleted-zfs-pool/</link>
		<comments>http://cyborgworkshop.org/2008/09/03/undelete-a-deleted-zfs-pool/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 03:03:19 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[pool]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=70</guid>
		<description><![CDATA[How many of you saw this one coming? In my haste, I accidentally did a zpool destroy -r on the wrong pool this morning and offlined my SAN. Not good. I walked around the entire rest of the day bumming over all of the stuff I&#8217;d lost since my last backup to tape because now [...]]]></description>
			<content:encoded><![CDATA[<p>How many of you saw this one coming? In my haste, I accidentally did a zpool destroy -r on the wrong pool this morning and offlined my SAN.  Not good. I walked around the entire rest of the day bumming over all of the stuff I&#8217;d lost since my last backup to tape because now all of my snapshots were gone.  I spent my lunch hour browsing some docs over on sun admin and came across what ended up being my salvation. <a href="http://docs.sun.com/app/docs/doc/819-5461/gcfhw?a=view">How to undestroy a destroyed pool</a>. To save you the time, you need to know two commands</p>
<blockquote><p>
zpool import -D</p></blockquote>
<p>That will show you what pools you have that are still around, but have been deleted. </p>
<blockquote><p> zpool import -Df tank</p></blockquote>
<p>That command does the leg work and brings the good old tank pool back online.  Hopefully you didn&#8217;t lose any drives during this process, but in theory you should be able to recover a degraded pool. Best bet though, don&#8217;t try to clean up the SAN at 5:30am before you go to work. </p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2008/09/03/undelete-a-deleted-zfs-pool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
