<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://andunix.net/_4feedburner">
  <channel>
    <title />
    <link>http://andunix.net/_4feedburner</link>
    <description />
    <language>en</language>
          <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/andunix/net" /><feedburner:info uri="andunix/net" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
    <title>Home Server Goals</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/4If6SkIDl7s/home_server_goals</link>
    <description>&lt;p&gt;As Constantin &lt;a href="http://constantin.glez.de/content/seven-useful-zfs-home-server-tips"&gt;suggested&lt;/a&gt;, here is a list of services, which my &lt;a href="/project/home-server"&gt;home server&lt;/a&gt; should provide:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Personal Video Recorder:&lt;/strong&gt; I'm using the EyeTV Hard- and Software from &lt;a href="http://www.elgato.com/"&gt;Elgato&lt;/a&gt; to record, cut and archive TV broadcasts.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Secure File Archive / Backup:&lt;/strong&gt; I want my digital camera photos and other precious files to be stored at serveral places and to be protected with checksums.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;A/V Media Server:&lt;/strong&gt; I want to store my MP3 files and the videos from the above PVR to be stored an be served to clients in the local LAN but not to the Internet.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Web Hosting:&lt;/strong&gt; I want to run web application at home. Usually, I'm hosting my webapps at Host Europe, but there are some apps which I can't or don't want to host there. This includes PHP and JEE applications with MySQL as database.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;LAN Gateway:&lt;/strong&gt; I want to sercurely log into the LAN via SSH and transfer files from and to the server.
&lt;/li&gt;&lt;li&gt;I had also a "&lt;strong&gt;OpenSolaris Sandbox&lt;/strong&gt;" on this list, but I think that one is served bettes as a &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox&lt;/a&gt; on my Laptop than on my home server.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;to be continued...:&lt;/strong&gt; There will be more requirements in the future, like hosting my own Jabber server.
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The server will continue to run Mac OS X and OpenSolaris, as the first goal on the above list requires Mac OS X and I haven't found an acceptable PVR solution for OpenSolaris yet. This is currently done using an Mac mini with Mac OS X and running an virtualized OpenSolaris on top of it. In the future, there may be two distinct servers due to some limitations of this constellation (e.g. having to stop the OpenSolaris server to install Mac OS X patches).&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/4If6SkIDl7s" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2010/home_server_goals#comments</comments>
 <category domain="http://andunix.net/tag/backup">backup</category>
 <category domain="http://andunix.net/category/home_server">Home Server</category>
 <category domain="http://andunix.net/tag/homeserver">homeserver</category>
 <category domain="http://andunix.net/tag/java">java</category>
 <category domain="http://andunix.net/tag/macosx">macosx</category>
 <category domain="http://andunix.net/tag/mediaserver">mediaserver</category>
 <category domain="http://andunix.net/tag/mysql">mysql</category>
 <category domain="http://andunix.net/tag/opensolaris">opensolaris</category>
 <category domain="http://andunix.net/tag/php">php</category>
 <category domain="http://andunix.net/tag/ssh">ssh</category>
 <category domain="http://andunix.net/tag/virtualbox">virtualbox</category>
 <category domain="http://andunix.net/tag/webapp">webapp</category>
 <pubDate>Tue, 02 Mar 2010 15:41:41 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">68 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2010/home_server_goals</feedburner:origLink></item>
  <item>
    <title>Hello Drupal</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/R300CJiV6Cw/welcome</link>
    <description>&lt;p&gt;Some time ago, I decided to migrate my blog from &lt;a href='http://www.dokuwiki.org/' target='_blank'&gt;DokuWiki&lt;/a&gt; to &lt;a href='http://drupal.org/' target='_blank'&gt;Drupal&lt;/a&gt;. Blogging with DokuWiki was OK using the plugins from the &lt;a href='http://dokuwiki.foosel.org/blogsuite/index.php' target='_blank'&gt;DokuWiki Blogsuite BundleHub&lt;/a&gt;, but Drupal has some advantages.&lt;/p&gt;
&lt;p&gt;It's always fascinating to get into a new technology. After using misc. wiki systems and Wordpress, I wanted to try a content management system. I had a quick look into Drupal, Joomla and Silverstripe, and then decided to go with Drupal.&lt;/p&gt;
&lt;p&gt;One very interesting part of Drupal is the &lt;a href='http://drupal.org/project/cck' target='_blank'&gt;Content Construction Kit (CCK)&lt;/a&gt;. This was also the main reason to choose Drupal. I've already set up my Projects a special content nodes and thinking about doing the same for tasks and bookmarks.&lt;/p&gt;
&lt;p&gt;The power of the CCK shows in the Blogroll channel in the sidebar. I set up a "Friend" content type and gave it attributes like blog URL and Twitter name. The &lt;a href='http://drupal.org/project/views' target='_blank'&gt;Views&lt;/a&gt; module rendes the list of friends as a nice list in the sidebar. The credits for this solution go to &lt;a href='http://constantin.glez.de/' target='_blank'&gt;Constantin Gonzalez&lt;/a&gt; which implemented this cool feature on his blog first.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/R300CJiV6Cw" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2010/welcome#comments</comments>
 <category domain="http://andunix.net/category/blogging">Blogging</category>
 <category domain="http://andunix.net/tag/blogging">blogging</category>
 <category domain="http://andunix.net/tag/drupal">drupal</category>
 <pubDate>Sun, 28 Feb 2010 23:00:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">1 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2010/welcome</feedburner:origLink></item>
  <item>
    <title>ReLAX</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/hAPsQZOJuZ4/relax</link>
    <description>&lt;p&gt;Thanks to &lt;a href="http://www.synapseninferno.org/"&gt;Wolfgang Stief&lt;/a&gt; and &lt;a href="http://blogs.sun.com/constantin"&gt;Constantin Gonzalez&lt;/a&gt;, I got hold on one of the proceedings of the &lt;a href="http://www.linux-kongress.org/2009/"&gt;Linux Kongress&lt;/a&gt; and &lt;a href="http://www.osdevcon.org/2009/"&gt;OpenSolaris Developer Conference&lt;/a&gt;.&lt;br /&gt;
In this book, I found amoung other, also very interesting, articles one about &lt;a href="http://lax.sourceforge.net/"&gt;LAX&lt;/a&gt; by Thomas Groß.&lt;/p&gt;
&lt;p&gt;LAX has some very interesiting concepts, but, unfortunately, it doesn't fit my needs.&lt;br /&gt;
So I decided to take some of the concepts of LAX and build my own sysadmin-automation-framework.&lt;/p&gt;
&lt;p&gt;In lack of a good project name, I named it "ReLAX".&lt;/p&gt;
&lt;p&gt;To get startet, here is a small comparison of the concepts of LAX and ReLAX:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The most fascinating idea is the building of an API with shell-scripts. I adopted this from LAX.&lt;/li&gt;
&lt;li&gt;LAX uses an LDAP server to store the configuration. I decided to allow any server which can be read by ''curl'', ''wget'' or ''cat''. This allows http, https, ftp, ftps and file URLs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That's it for now, stay tuned...&lt;/p&gt;
&lt;p&gt;I started documenting the &lt;a href="http://andunix.info/relax/api/"&gt;API&lt;/a&gt;, so you might want to have a look there..&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/hAPsQZOJuZ4" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/relax#comments</comments>
 <category domain="http://andunix.net/tag/api">api</category>
 <category domain="http://andunix.net/tag/framework">framework</category>
 <category domain="http://andunix.net/tag/project">project</category>
 <category domain="http://andunix.net/tag/project_relax">project_relax</category>
 <category domain="http://andunix.net/category/scripting">Scripting</category>
 <category domain="http://andunix.net/tag/scripting">scripting</category>
 <category domain="http://andunix.net/tag/shell">shell</category>
 <category domain="http://andunix.net/tag/sysadmin">sysadmin</category>
 <pubDate>Fri, 27 Nov 2009 16:36:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">12 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/relax</feedburner:origLink></item>
  <item>
    <title>Found Geocache GC1VY11 "Ringpromenade"</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/fP4LPxpaoL8/geocache_gc1vy11</link>
    <description>&lt;p&gt;Yesterday, I visited my first &lt;a href="http://www.geocaching.com/seek/cache_details.aspx?guid=a04f5c71-9796-42a8-8b9a-1838e0130278"&gt;geocache&lt;/a&gt;.&lt;br /&gt;
For those interested, here is evidence:&lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/andunix/2009/2009-10-25_gc1vy11.png" alt="geocache logbook" title="geocache logbook" /&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/fP4LPxpaoL8" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/geocache_gc1vy11#comments</comments>
 <category domain="http://andunix.net/tag/geocache">geocache</category>
 <category domain="http://andunix.net/category/geocaching">Geocaching</category>
 <category domain="http://andunix.net/tag/gps">gps</category>
 <category domain="http://andunix.net/tag/outdoor">outdoor</category>
 <pubDate>Mon, 26 Oct 2009 11:36:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">11 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/geocache_gc1vy11</feedburner:origLink></item>
  <item>
    <title>ZFS Playground</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/u1TIH_RLfYs/zfs_playground</link>
    <description>&lt;p&gt;This small demo shows the basic ZFS operations.&lt;br /&gt;
You will need a Solaris 10 or OpenSolaris host and 1,2GB of disk space.&lt;/p&gt;
&lt;h2&gt;Preparation&lt;/h2&gt;
&lt;p&gt;First, go to a directory where you have enought space.&lt;br /&gt;
We will need 1,2GB for 6 files of 200MB.&lt;br /&gt;
The files are named like disks, but they are only files for this demo.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;cd /var/tmp
mkfile 200m c0d0 c0d1 c0d2 c1d0 c1d1 c1d2&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;h2&gt;Create Pool&lt;/h2&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool create demo /var/tmp/c0d0 
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: none requested
config:
&amp;nbsp;
	NAME             STATE     READ WRITE CKSUM
	demo             ONLINE       0     0     0
	  /var/tmp/c0d0  ONLINE       0     0     0
&amp;nbsp;
errors: No known data errors&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I will omit the &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;errors: No known data errors&lt;/code&gt;&lt;/span&gt; in all following outputs.&lt;br /&gt;
Also, the &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;rpool&lt;/code&gt;&lt;/span&gt; is also omitted.&lt;/p&gt;
&lt;h2&gt;Attach a second disk&lt;/h2&gt;
&lt;p&gt;This will attach a second disk to the existing, creating a mirror.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool attach demo /var/tmp/c0d0 /var/tmp/c0d1 
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Aug 11 15:45:59 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c0d1  ONLINE       0     0     0  73K resilvered&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Note that the &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;zpool status&lt;/code&gt;&lt;/span&gt; output now shows a mirror over two files.&lt;/p&gt;
&lt;p&gt;Also note the &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;resilver completed&lt;/code&gt;&lt;/span&gt; message.&lt;br /&gt;
This tells you that the mirror is synchronized.&lt;/p&gt;
&lt;h2&gt;Replace a disk&lt;/h2&gt;
&lt;p&gt;In this example, I made the mistake of mirroring c0d0 to c0d1.&lt;br /&gt;
I wanted to mirror c0d0 to c1d0, simulating mirroring two disks on different controllers.&lt;br /&gt;
So, let's replace c0d1 with c1d0.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool replace demo /var/tmp/c0d1 /var/tmp/c1d0 
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Aug 11 15:52:24 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c1d0  ONLINE       0     0     0  83,5K resilvered&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Note that the new "disk" c1d0 also had to be resilvered.&lt;/p&gt;
&lt;h2&gt;Expand the Pool by adding another disk&lt;/h2&gt;
&lt;p&gt;Now we add the "disk" c0d1 to the stripe, expanding the capacity of the pool.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool add demo /var/tmp/c0d1&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses mirror and new vdev is file&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You have to force adding a vdev with a different redundancy.&lt;br /&gt;
It's recommendend to have the same type of redundancy (none, mirror or raidz) for all vdevs in a pool.&lt;br /&gt;
For this demo, we will ignore this recommendation.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool add -f demo /var/tmp/c0d1
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Aug 11 15:52:24 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c1d0  ONLINE       0     0     0  83,5K resilvered
	  /var/tmp/c0d1    ONLINE       0     0     0&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You see that the pool &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;demo&lt;/code&gt;&lt;/span&gt; consists of a mirror (c0d0 and c1d0) and a single file c1d0.&lt;/p&gt;
&lt;h2&gt;Mirror the second disk&lt;/h2&gt;
&lt;p&gt;We now attach a mirror to the second "disk", which will bring us back to what we should have done in the step before.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool attach demo /var/tmp/c0d1 /var/tmp/c1d1 
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Aug 11 15:57:30 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c1d0  ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d1  ONLINE       0     0     0
	    /var/tmp/c1d1  ONLINE       0     0     0  18,5K resilvered&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;The new disk also had to be resilvered.&lt;/p&gt;
&lt;h2&gt;Add a third Mirror to the Pool&lt;/h2&gt;
&lt;p&gt;This time, we will add two mirrored "disk" right away in one step.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool add demo mirror /var/tmp/c0d2 /var/tmp/c1d2 
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Aug 11 15:57:30 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c1d0  ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d1  ONLINE       0     0     0
	    /var/tmp/c1d1  ONLINE       0     0     0  18,5K resilvered
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d2  ONLINE       0     0     0
	    /var/tmp/c1d2  ONLINE       0     0     0&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;h2&gt;Scrub the Pool&lt;/h2&gt;
&lt;p&gt;It's a good practice to run a scrub from time to time.&lt;br /&gt;
The scrub will read all blocks of the pool and check the checksums.&lt;br /&gt;
Any errors will be reported an corrected (if there is enough redundancy).&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool scrub demo
zpool status&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;  pool: demo
 state: ONLINE
 scrub: scrub completed after 0h0m with 0 errors on Tue Aug 11 16:00:19 2009
config:
&amp;nbsp;
	NAME               STATE     READ WRITE CKSUM
	demo               ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d0  ONLINE       0     0     0
	    /var/tmp/c1d0  ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d1  ONLINE       0     0     0
	    /var/tmp/c1d1  ONLINE       0     0     0
	  mirror           ONLINE       0     0     0
	    /var/tmp/c0d2  ONLINE       0     0     0
	    /var/tmp/c1d2  ONLINE       0     0     0&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;In this case, the scrub didn't find any errors, so nothig needed to be repaired.&lt;/p&gt;
&lt;h2&gt;Clean Up&lt;/h2&gt;
&lt;p&gt;For now, we are finished.&lt;br /&gt;
We destroy the pool and remove the files.&lt;br /&gt;
Note that &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;zpool status&lt;/code&gt;&lt;/span&gt; doesn't show the pool any more.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec zpool destroy demo
zpool status
rm c[01]d[012]&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;to be continued...&lt;/em&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/u1TIH_RLfYs" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/zfs_playground#comments</comments>
 <category domain="http://andunix.net/tag/demo">demo</category>
 <category domain="http://andunix.net/tag/opensolaris">opensolaris</category>
 <category domain="http://andunix.net/tag/solaris">solaris</category>
 <category domain="http://andunix.net/category/solaris">Solaris</category>
 <category domain="http://andunix.net/tag/zfs">zfs</category>
 <category domain="http://andunix.net/tag/zpool">zpool</category>
 <pubDate>Tue, 11 Aug 2009 16:06:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">10 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/zfs_playground</feedburner:origLink></item>
  <item>
    <title>OpenSolaris / VirtualBox: Mount Shared Folder</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/1MNn1zcV1h0/opensolaris_virtualbox_mount_shared_folder</link>
    <description>&lt;p&gt;To mount a shared folder in a OpenSolaris guest in VirtualBox, you have to install the Guest Additions and then mount the file system type &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;vboxfs&lt;/code&gt;&lt;/span&gt;. The Usage is:&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;mount -F vboxfs &amp;lt;share&amp;gt; &amp;lt;mountpoint&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;If you want to share the filesystem &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;/share&lt;/code&gt;&lt;/span&gt; from the host to the guest, then first create the share. Go to “Shared Folders” in the Virtual Machine's Settings and click the little folder with the green plus on the right. &lt;img src="/sites/andunix/2009/add_shared_folder_16px.png" alt="add shared folder icon" title="add shared folder icon" /&gt;&lt;/p&gt;
&lt;p&gt;Then select the folder to share (&lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;/share&lt;/code&gt;&lt;/span&gt; in the example) and enter a name for the share (&lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;share&lt;/code&gt;&lt;/span&gt; here).&lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/andunix/2009/vbox_share_1.png" alt="add shared folder dialog" title="add shared folder dialog" /&gt;&lt;/p&gt;
&lt;p&gt;As a result, you will see the folder in the settings:&lt;/p&gt;
&lt;p&gt;&lt;img src="/sites/andunix/2009/vbox_share_2.png" alt="shared folder settings" title="shared folder settings" /&gt;&lt;/p&gt;
&lt;p&gt;Now boot the OpenSolaris, log in and open a Terminal.&lt;br /&gt;
I assume that you are using the user creates during boot which has the "System Adminitrator" profile.&lt;br /&gt;
The commands will be executed with the rights given by this profile, so they need to be executes with &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;pfexec&lt;/code&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;First, create the mountpoint if it doesn't exist.&lt;br /&gt;
You will have to do this only once.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec mkdir /share&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Now, mount the share.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;pfexec mount -F vboxfs share /share&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;If you want to have the filesystem mounted on every boot, then add this to the file &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;/etc/vfstab&lt;/code&gt;&lt;/span&gt;.&lt;br /&gt;
You can do this by executing &lt;span class="geshifilter"&gt;&lt;code class="text geshifilter-text"&gt;pfexec vi /etc/vfstab&lt;/code&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;share   -   /share  vboxfs  -   yes -&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/1MNn1zcV1h0" height="1" width="1"/&gt;</description>
     <category domain="http://andunix.net/tag/opensolaris">opensolaris</category>
 <category domain="http://andunix.net/category/solaris">Solaris</category>
 <category domain="http://andunix.net/tag/virtualbox">virtualbox</category>
 <pubDate>Tue, 11 Aug 2009 11:16:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">9 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder</feedburner:origLink></item>
  <item>
    <title>Virtual Network Visualization</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/Y3Y2mTlf4Ro/virtual_network_visualization</link>
    <description>OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches. This feature was introduced with &lt;a href="http://www.opensolaris.org/os/project/crossbow/"&gt;Project Crossbow&lt;/a&gt; in OpenSolaris 2009.06. To visualize the internal network(s), I created a perl script which takes the output of dladm show-link and generates a dot-File, which then can be rendered using &lt;a href="http://www.graphviz.org/"&gt;Graphviz&lt;/a&gt;.

Update: The dladm2dot.pl script now also shows the non-global zones of the interfaces.

&lt;img src="/sites/andunix/2009/dladm2dot.png" alt="Example Output" title="Example Output" style="width: 100%; max-width: 667px;" /&gt;

&lt;a href="http://andunix.info/solaris/dladm2dot"&gt;→ Read more...&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/Y3Y2mTlf4Ro" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/virtual_network_visualization#comments</comments>
 <category domain="http://andunix.net/category/hacking">Hacking</category>
 <pubDate>Tue, 21 Jul 2009 18:52:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">8 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/virtual_network_visualization</feedburner:origLink></item>
  <item>
    <title>Mac: Command Line Audio</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/aBgIyA7kw58/mac_command_line_audio</link>
    <description>&lt;h2&gt;Change Mac Audio Volume from Command Line&lt;/h2&gt;
&lt;p&gt;To change the audio volume from remote of my Mac at home, I needed a command line tool which I can use via ssh. I've found it here: &lt;a href="http://osxdaily.com/2007/04/28/change-the-system-volume-from-the-command-line/"&gt;OS X Daily - Change the system volume from the command line&lt;/a&gt;. It's as easy as&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;sudo osascript -e &amp;quot;set Volume 10&amp;quot;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You can enter numbers from 0 (mute) to 10 (maximum).&lt;/p&gt;
&lt;h2&gt;Play Audio File&lt;/h2&gt;
&lt;p&gt;How to play an audio file from command line is described here: &lt;a href="http://www.macosxhints.com/article.php?story=20081002080543392"&gt;macosxhints - Use a built-in command line audio player&lt;/a&gt;. You just enter&lt;/p&gt;
&lt;p&gt;&lt;div class="geshifilter"&gt;&lt;pre class="text geshifilter-text" style="font-family:monospace;"&gt;afplay file.wav&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;More information on how to use afplay is available via afplay -h.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/aBgIyA7kw58" height="1" width="1"/&gt;</description>
     <category domain="http://andunix.net/tag/audio">audio</category>
 <category domain="http://andunix.net/tag/cli">cli</category>
 <category domain="http://andunix.net/category/hacking">Hacking</category>
 <category domain="http://andunix.net/tag/howto">howto</category>
 <category domain="http://andunix.net/tag/mac">mac</category>
 <pubDate>Fri, 19 Jun 2009 15:17:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">7 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/mac_command_line_audio</feedburner:origLink></item>
  <item>
    <title>Project Idea: WikiTable</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/636FanoAJ8w/project_idea_wikitable</link>
    <description>&lt;p&gt;I'm using wikis a lot but every wiki I tried so far lacks support for tables. The wikis are able to show tables, but building a table using lots of pipes “|” sucks. What I want to develop (or learn that such a this already exists) is a small application which creates tables which then can be included in wiki pages.&lt;/p&gt;
&lt;p&gt;The first step could be a small standalone application which manages the tables. The tables should also be available as a HTML-snippet (just the table, html- dory body-tags). This snippet can be included by most wikis.&lt;/p&gt;
&lt;p&gt;In a second step, the application could be transformed to a plugin for wiki systems. This enable users to manage the tables in the wiki and not to use a separate application. The biggest benefit would be to use the authorisation and wiki syntax in the table.&lt;/p&gt;
&lt;p&gt;The code should be small and simple so that it can easily ported to different languages.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/636FanoAJ8w" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/project_idea_wikitable#comments</comments>
 <category domain="http://andunix.net/category/coding">Coding</category>
 <category domain="http://andunix.net/tag/idea">idea</category>
 <category domain="http://andunix.net/tag/project">project</category>
 <category domain="http://andunix.net/tag/wiki">wiki</category>
 <category domain="http://andunix.net/tag/wikitable">wikitable</category>
 <pubDate>Mon, 27 Apr 2009 12:30:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">6 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/project_idea_wikitable</feedburner:origLink></item>
  <item>
    <title>Kenai Project</title>
    <link>http://feedproxy.google.com/~r/andunix/net/~3/4LX0O0vtGFs/kenai_project</link>
    <description>&lt;p&gt;I just created a project on &lt;a href="http://kenai.com/"&gt;kenai.com&lt;/a&gt; to share my Java Code and another project which invites all Travian tool developers to participate.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://kenai.com/projects/andunix"&gt;andunix Java Library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://kenai.com/projects/travian"&gt;Travian Tool Coders&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/andunix/net/~4/4LX0O0vtGFs" height="1" width="1"/&gt;</description>
     <comments>http://andunix.net/blog/2009/kenai_project#comments</comments>
 <category domain="http://andunix.net/category/coding">Coding</category>
 <category domain="http://andunix.net/tag/java">java</category>
 <category domain="http://andunix.net/tag/kenaicom">kenai.com</category>
 <category domain="http://andunix.net/tag/share">share</category>
 <category domain="http://andunix.net/tag/source">source</category>
 <category domain="http://andunix.net/tag/tool">tool</category>
 <category domain="http://andunix.net/tag/travian">travian</category>
 <pubDate>Sun, 01 Mar 2009 19:06:00 +0000</pubDate>
 <dc:creator>andunix</dc:creator>
 <guid isPermaLink="false">5 at http://andunix.net</guid>
  <feedburner:origLink>http://andunix.net/blog/2009/kenai_project</feedburner:origLink></item>
  </channel>
</rss>
