<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:base="https://churnd.net/"><title>Technical · churnd.net</title><link href="https://churnd.net/categories/technical/atom.xml" rel="self"/><link href="https://churnd.net/categories/technical/"/><id>https://churnd.net/categories/technical/atom.xml</id><updated>2016-08-30T17:42:50-04:00</updated><author><name>churnd</name></author><entry xml:base="https://churnd.net/2016/08/30/systemd-network-dot-target/"><title>systemd network.target</title><link href="https://churnd.net/2016/08/30/systemd-network-dot-target/"/><id>http://churnd.net/2016/08/30/systemd-network-dot-target</id><updated>2016-08-30T17:42:50-04:00</updated><content type="html">&lt;p&gt;This was somewhat of a shocker and I fully acknowledge I may be missing some info here during my limited 2 day research debugging why an app was binding to localhost instead of waiting for DHCP to do it&amp;rsquo;s thing even though it had &lt;code&gt;After=network.target&lt;/code&gt; defined in it&amp;rsquo;s systemd service file.&lt;/p&gt;
&lt;p&gt;According to &lt;a href="https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/"&gt;this post&lt;/a&gt;, you need to be using a network management tool that&amp;rsquo;s systemd aware, it seems. The article lists two, &lt;strong&gt;NetworkManager&lt;/strong&gt; &amp;amp; &lt;strong&gt;systemd-networkd&lt;/strong&gt;. However, Debian 8 Jessie&amp;rsquo;s default network manager is still &lt;strong&gt;ifupdown&lt;/strong&gt; where you configure &lt;code&gt;/etc/network/interfaces&lt;/code&gt;. You can use another, but that&amp;rsquo;s the one that&amp;rsquo;s there by default according to &lt;a href="https://wiki.debian.org/NetworkConfiguration"&gt;their wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The problem there is that many systemd services requiring network.target will not work with &lt;strong&gt;ifupdown&lt;/strong&gt;. It&amp;rsquo;s not systemd aware, or should I say, systemd is not aware of it. I didn&amp;rsquo;t have this issue unless I was configuring my server to use DHCP (which I rarely need to do). If it was a static IP, the service I was testing (freeswitch) seemed to come up fine. However, I think that&amp;rsquo;s just a race condition where the network just happens to win every time.&lt;/p&gt;
&lt;p&gt;So, I switched to using &lt;strong&gt;systemd-networkd&lt;/strong&gt; on these few servers &amp;amp; it seems to have been working well so far. I didn&amp;rsquo;t like initially how it seems to take over the stub resolver but that seems to be the way it works.&lt;/p&gt;
&lt;p&gt;Some notes on how to set it up:&lt;/p&gt;
&lt;h5 id="configure-the-interface"&gt;Configure the interface&lt;/h5&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cat /etc/systemd/network/wired.network
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Match]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Name=eth0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Network]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;DHCP=yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;h5 id="enable-the-necessary-systemd-services"&gt;Enable the necessary systemd services&lt;/h5&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;systemctl enable systemd-networkd.service
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;systemctl enable systemd-resolved.service
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;systemctl enable systemd-networkd-wait-online.service&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;h5 id="symlink-resolvconf"&gt;Symlink resolv.conf&lt;/h5&gt;
&lt;p&gt;&lt;em&gt;This is required if you want to use the DHCP assigned DNS servers&lt;/em&gt;&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Make sure to comment out eth0 in &lt;code&gt;/etc/network/interfaces&lt;/code&gt;, then reboot the server to confirm everything comes up OK.&lt;/p&gt;
&lt;h5 id="misc"&gt;Misc&lt;/h5&gt;
&lt;p&gt;I&amp;rsquo;m surprised this hasn&amp;rsquo;t made more noise than it already has. I guess DHCP isn&amp;rsquo;t that common on linux servers.&lt;/p&gt;
&lt;p&gt;I also got a chuckle out of the end of the FreeDesktop article:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you are a developer, instead of wondering what to do about &lt;code&gt;network.target&lt;/code&gt;, please just fix your program to be friendly to dynamically changing network configuration. That way you will make your users happy because things just start to work, and you will get fewer bug reports as your stuff is just rock solid. You also make the boot faster for your users, as they don&amp;rsquo;t have to delay arbitrary services for the network anymore (which is particularly annoying for folks with slow address assignment replies from a DHCP server).&lt;/p&gt;
&lt;/blockquote&gt;</content></entry><entry xml:base="https://churnd.net/2015/09/21/proxmox-4-pci-passthrough/"><title>Proxmox 4 PCI Passthrough</title><link href="https://churnd.net/2015/09/21/proxmox-4-pci-passthrough/"/><id>http://churnd.net/2015/09/21/proxmox-4-pci-passthrough</id><updated>2015-09-21T20:06:09-04:00</updated><content type="html">&lt;p&gt;Worth noting:&lt;/p&gt;
&lt;p&gt;Proxmox v4 Beta as of right now uses linux kernel v4. I updated my homelab to it recently &amp;amp; PCI passthrough (per my previous post) stopped working. Asked on the Proxmox forums &amp;amp; apparently an additional option is required due to the newer v4 kernel:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;hostpci0: 01:00.0,driver=vfio&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Compared to what was required before:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;hostpci0: 01:00.0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Apparently vfio is the way to go with v4 kernels. It should be the default option once Proxmox v4 goes GM.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update (10/10/2015):&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This is the default in v4 GM, so the option is no longer needed.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2014/06/29/smartos-homelab-hypervisor-v3/"><title>SmartOS - Homelab Hypervisor v3</title><link href="https://churnd.net/2014/06/29/smartos-homelab-hypervisor-v3/"/><id>http://churnd.net/2014/06/29/smartos-homelab-hypervisor-v3</id><updated>2014-06-29T13:23:50-04:00</updated><content type="html">&lt;p&gt;I&amp;rsquo;ve come to the realization that I may be a virtualization junkie. I find myself more interested in trying out different virtualization platforms than I am the end result of using the platforms for the VMs themselves. My last all-in-one iteration of &lt;a href="/2014/03/30/all-in-one-redux-proxmox-and-freenas/"&gt;Proxmox and FreeNAS&lt;/a&gt; worked great, but before long I got the itch to try something new. A fellow IRC&amp;rsquo;er was telling me about SmartOS, so I decided to give it a look.&lt;/p&gt;
&lt;h4 id="smartos"&gt;SmartOS&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://smartos.org"&gt;SmartOS&lt;/a&gt; is Joyent&amp;rsquo;s open source hypervisor built on top of Illumos (Solaris). It supports QEMU/KVM &amp;amp; Zones for virtualization, and includes &lt;a href="http://wiki.smartos.org/display/DOC/Home"&gt;ZFS, Crossbow, &amp;amp; DTrace&lt;/a&gt;. Zones are to SmartOS/Solaris like &lt;a href="http://openvz.org/Main_Page"&gt;OpenVZ Containers&lt;/a&gt; are to Proxmox, except Solaris has done it a lot longer &amp;amp; you could say it&amp;rsquo;s more proven. With SmartOS, Joyent has taken a modern approach to it&amp;rsquo;s binaries, using GNU tools by default (albeit not a true GNU platform). IMO that&amp;rsquo;s a welcome departure away from Solaris&amp;rsquo; Unix roots.&lt;/p&gt;
&lt;p&gt;I didn&amp;rsquo;t grok SmartOS right away. I&amp;rsquo;m used to installing a type 1 hypervisor on a server&amp;rsquo;s local drive, but SmartOS is a hybrid of that. It&amp;rsquo;s primary OS is read-only, &amp;amp; runs from a USB key, CD-ROM, or via PXE boot image over network. When you boot it on a machine, it checks for a ZFS pool called &amp;ldquo;zones&amp;rdquo; that&amp;rsquo;s configured for SmartOS. If it doesn&amp;rsquo;t see that, it goes through a setup process to create the pool for you. The zones pool contains the configuration specific to the hypervisor itself, as well as storage for the zones/vm&amp;rsquo;s themselves. Oh yeah, and there&amp;rsquo;s no GUI (at least not by default)&amp;hellip; everything&amp;rsquo;s configured on the command line. So you can&amp;rsquo;t just setup a hypervisor quickly by clicking through an installer, you gotta learn how to do it. Luckily the &lt;a href="http://wiki.smartos.org/display/DOC/SmartOS+Users+Guide"&gt;SmartOS Wiki&lt;/a&gt; is well written &amp;amp; anyone with some basic command line experience can figure it out.&lt;/p&gt;
&lt;h4 id="install"&gt;Install&lt;/h4&gt;
&lt;p&gt;One thing I didn&amp;rsquo;t like about the installer is it doesn&amp;rsquo;t really give you a way to specify the layout of your disks for the zones pool. If you have 4 disks &amp;amp; you select them all, it&amp;rsquo;ll create a raidz1 pool. Eh, no thanks. What I did was select only two disks so it&amp;rsquo;d create a mirror, then after the OS was running I created another mirror with the other two disks &amp;amp; striped the two mirrors.&lt;/p&gt;
&lt;h4 id="network"&gt;Network&lt;/h4&gt;
&lt;p&gt;With Crossbow, I was able to set up 2 link aggregate for my VMs to use, and kept the primary interface for admin stuff only. Overkill for a homelab, but why not if my switch supports it? :) The wiki link above describes how to do that. SmartOS applies &amp;ldquo;tags&amp;rdquo; to the interfaces, &amp;amp; you can specify to the VM which tag to use. I also found out you can create a &amp;ldquo;virtual switch&amp;rdquo; with Crossbow called an etherstub to allow VMs to communicate to each other on a private network.&lt;/p&gt;
&lt;h4 id="virtualization"&gt;Virtualization&lt;/h4&gt;
&lt;p&gt;Setting up the VMs/Zones themselves is pretty easy once you understand it. You can pull in preconfigured images from Joyent&amp;rsquo;s repositories via &lt;code&gt;imgadm&lt;/code&gt;, or you can &lt;a href="http://wiki.smartos.org/display/DOC/How+to+create+a+Virtual+Machine+in+SmartOS"&gt;install via ISO&lt;/a&gt;. The configuration of the VM/Zone is done via a JSON payload file, &amp;amp; there&amp;rsquo;s even a &lt;a href="http://datasets.at"&gt;website&lt;/a&gt; to create the config files for you. Remote access to the VM&amp;rsquo;s console is easily done via VNC or ssh&amp;rsquo;ing to the host &amp;amp; using zlogin to the zone itself. I&amp;rsquo;m very glad tab autocomplete works with the UUID&amp;rsquo;s of the VMs/Zones because those would be a bear to type or copy/paste repeatedly.&lt;/p&gt;
&lt;h4 id="storage"&gt;Storage&lt;/h4&gt;
&lt;p&gt;One of the first things I needed to do once the hypervisor itself was up &amp;amp; running was replace the storage server part missing from my previous all-in-one setups. This is a bit different because I don&amp;rsquo;t need to pass through anything&amp;hellip; SmartOS is managing it&amp;rsquo;s own storage for it&amp;rsquo;s VMs/Zones &amp;amp; it&amp;rsquo;s faster too (obviously). I have another pool for data storage &amp;amp; backups, but I can&amp;rsquo;t use SmartOS&amp;rsquo;s global zone to manage it since it&amp;rsquo;s read only for the most part. So, I created a non-global zone for managing the storage pool itself, as well as to have a place to install the software I wanted such as Netatalk &amp;amp; Crashplan. For Netatalk, I compiled myself by loosely following &lt;a href="http://blog.smartcore.net.au/blazingly-fast-afp-on-a-smartos-zone/"&gt;this guide&lt;/a&gt; &amp;amp; Crashplan installed without a hitch using pkg.&lt;/p&gt;
&lt;p&gt;The key was passing the tank zpool to the zone so it could be managed there. This is done easily with &lt;code&gt;zonecfg&lt;/code&gt;:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# vmadm halt &amp;lt;uuid&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# zonecfg -z &amp;lt;uuid&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;zonecfg:uuid&amp;gt; add dataset
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;zonecfg:uuid:dataset&amp;gt; set name=&amp;lt;pool&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;zonecfg:uuid:dataset&amp;gt; end
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;zonecfg:uuid&amp;gt; commit
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;zonecfg:uuid&amp;gt; exit
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# zfs set mountpoint=legacy &amp;lt;pool&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# vmadm boot &amp;lt;uuid&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;I didn&amp;rsquo;t use the LOFS method mentioned in the above Netatalk guide because I&amp;rsquo;m not familiar with it. &lt;code&gt;zonecfg&lt;/code&gt; is the way I&amp;rsquo;ve always done it &amp;amp; seems to work fine here.&lt;/p&gt;
&lt;p&gt;Just to be clear, here&amp;rsquo;s my storage pool layouts:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[root@smartos ~]# zpool status -v
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; pool: tank
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; state: ONLINE
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; scan: none requested
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;config:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; NAME STATE READ WRITE CKSUM
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; tank ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; raidz1-0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C5002EFBE09Cd0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C5002FAB1BC6d0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C5002F19FD43d0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C5002FAFC4EAd0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;errors: No known data errors
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; pool: zones
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; state: ONLINE
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; scan: none requested
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;config:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; NAME STATE READ WRITE CKSUM
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; zones ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; mirror-0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C50037E6A6D0d0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C50037E6ABEEd0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; mirror-1 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C50037E6160Fd0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; c0t5000C50037E65927d0 ONLINE 0 0 0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;errors: No known data errors&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;h4 id="gui"&gt;GUI&lt;/h4&gt;
&lt;p&gt;As mentioned earlier, there&amp;rsquo;s no GUI in SmartOS by default. Joyent sells &lt;a href="http://www.joyent.com/products/private-cloud"&gt;SmartDatacenter&lt;/a&gt; &amp;amp; there&amp;rsquo;s also a 3rd party OSS tool called &lt;a href="http://project-fifo.net"&gt;Project FiFo&lt;/a&gt;. FiFo is an excellent project, and I have it running in a zone. However, I find myself going back to the command line more for better flexibility. I don&amp;rsquo;t particularly like how FiFo handles networking, I don&amp;rsquo;t like how it measures utilization by what you&amp;rsquo;ve committed to the VMs/Zones rather than what&amp;rsquo;s actually being used, and each component has it&amp;rsquo;s own couchdb &lt;code&gt;beam.smp&lt;/code&gt; process that can eat up resources. I do like it&amp;rsquo;s graphing per VM/Zone as well as the browser based console to the VM/Zone itself, and the ease at which I can deploy an image. It also taught me that I can attach my ssh key to any VM/Zone for easier access, which is very cool.&lt;/p&gt;
&lt;h4 id="monitoring"&gt;Monitoring&lt;/h4&gt;
&lt;p&gt;FiFo does some decent monitoring, but I&amp;rsquo;m also using New Relic, which I was surprised to see supports SmartOS. You can get a free New Relic account that&amp;rsquo;ll retain data for 24 hours. Perfect for me:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2014/06/smartos_newrelic.png" alt="SmartOS New Relic" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s also &lt;a href="http://wiki.smartos.org/display/DOC/DTrace"&gt;DTrace&lt;/a&gt; which is supposedly the best stats tool ever, but I have no clue how to use it short of finding other people&amp;rsquo;s scripts such as &lt;a href="https://github.com/brendangregg/dtrace-cloud-tools"&gt;Brendan Gregg&amp;rsquo;s&lt;/a&gt; (which look awesome) but even then most of the time I have very little idea what it&amp;rsquo;s telling me. Something I can improve on for sure.&lt;/p&gt;
&lt;h4 id="automating"&gt;Automating&lt;/h4&gt;
&lt;p&gt;This is one of the areas that requires extra work on your part. The nice thing about using a product like FreeNAS or NexentaStor is that automating things is easier via the built in management tools. If I want to automate something in SmartOS, I have to script it myself (at least from what I can tell). Though, I have dropped several hints to the FiFO guys that if they branch out to a ZFS Filer type project, they&amp;rsquo;d become very popular IMO.&lt;/p&gt;
&lt;p&gt;One of these areas that you have to figure out is ZFS snapshots, but I found a great project on Github written in NodeJS called &lt;a href="https://github.com/calmh/zsnapper"&gt;zsnapper&lt;/a&gt; &amp;amp; it works a treat.&lt;/p&gt;
&lt;h4 id="links"&gt;Links&lt;/h4&gt;
&lt;p&gt;Some useful links (in no particular order):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://wiki.smartos.org/display/DOC/SmartOS+Users+Guide"&gt;http://wiki.smartos.org/display/DOC/SmartOS+Users+Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.smartcore.net.au/"&gt;http://blog.smartcore.net.au/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/calmh/zsnapper"&gt;https://github.com/calmh/zsnapper&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://project-fifo.net"&gt;http://project-fifo.net&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;smartos &amp;amp; project-fifo channels on &lt;a href="irc://irc.freenode.net"&gt;Freenode&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry xml:base="https://churnd.net/2014/03/30/all-in-one-redux-proxmox-and-freenas/"><title>All-In-One Redux - Proxmox &amp; FreeNAS</title><link href="https://churnd.net/2014/03/30/all-in-one-redux-proxmox-and-freenas/"/><id>http://churnd.net/2014/03/30/all-in-one-redux-proxmox-and-freenas</id><updated>2014-03-30T16:49:10-04:00</updated><content type="html">&lt;h3 id="why"&gt;Why?&lt;/h3&gt;
&lt;p&gt;After using my &lt;a href="/2013/02/09/zfsesxi-all-in-one-part-2/" title="ZFS/ESXI All-In-One, Part 2 - #!"&gt;VMware/NexentaStor All-In-One&lt;/a&gt; for a while, I grew tired of VMware&amp;rsquo;s bloat &amp;amp; limitations. Doing &amp;ldquo;cool stuff&amp;rdquo; in VMware requires a license, &amp;amp; vSphere Client only runs on Windows. I got tired of starting up a Windows VM just to manage my hypervisor. That&amp;rsquo;s the only thing I started Windows up for, and it got old. I wanted something I could manage directly from my primary OS, OS X, as well as lightweight &amp;amp; preferably open source.&lt;/p&gt;
&lt;p&gt;There are plenty of hypervisor products on the market today, but I wanted to move to something open source &amp;amp; unix based. &lt;a href="http://www.linux-kvm.org/page/Main_Page" title="Main Page - KVM"&gt;KVM&lt;/a&gt; has quickly become a big presense in this market, and for a good reason: it&amp;rsquo;s awesome. It&amp;rsquo;ll run on just about any hardware you have, and has even been ported to Solaris in the form of &lt;a href="http://smartos.org/" title="SmartOS"&gt;SmartOS&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="what"&gt;What?&lt;/h3&gt;
&lt;h4 id="host"&gt;Host&lt;/h4&gt;
&lt;p&gt;Of the many great projects that use KVM, I chose &lt;a href="http://proxmox.com/proxmox-ve" title="Virtualization"&gt;Proxmox&lt;/a&gt;. Here&amp;rsquo;s a few of the many reasons why:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s OSS licensed AGPLv3.&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s based on Debian.&lt;/li&gt;
&lt;li&gt;The management is all web-based &amp;amp; some CLI.&lt;/li&gt;
&lt;li&gt;It supports QEMU &amp;amp; OpenVZ.&lt;/li&gt;
&lt;li&gt;It supports OpenVSwitch.&lt;/li&gt;
&lt;li&gt;It has a good community.&lt;/li&gt;
&lt;li&gt;You can buy support if you want it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I also checked out oVirt &amp;amp; plain KVM/libvirt on CentOS. oVirt was a bit too bloated for my tastes. KVM/libvirt on CentOS wasn&amp;rsquo;t web based, but I almost went with them because I could have ran virt-manager via ssh X forwarding. I liked the Proxmox project a bit better.&lt;/p&gt;
&lt;h4 id="storage"&gt;Storage&lt;/h4&gt;
&lt;p&gt;My original plan was to stick with NexentaStor, but I ran into issues with that. KVM&amp;rsquo;s equivalent of vmxnet3 &amp;amp; vmscsi is called virtio. With KVM, if you want maximum performance, use virtio wherever possible. NexentaStor does not have virtio drivers, so I couldn&amp;rsquo;t set up a VM of NexentaStor unless I used IDE for storage &amp;amp; E1000 for net. I was willing to compromise with E1000 for net, but IDE for storage wasn&amp;rsquo;t gonna work for me.&lt;/p&gt;
&lt;p&gt;My secondary plan didn&amp;rsquo;t really work out either. This plan was to use &lt;a href="http://omnios.omniti.com/" title="OmniOS"&gt;OmniOS&lt;/a&gt; &amp;amp; &lt;a href="http://www.napp-it.org/index_en.html" title="napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana, Solaris and Linux downloads"&gt;Napp-IT&lt;/a&gt;. OmniOS is based on a newer &lt;a href="http://wiki.illumos.org/display/illumos/illumos+Home" title="illumos Home - illumos - illumos wiki"&gt;illumos&lt;/a&gt; kernel, and therefore, I was able to get virtio type disks working. That process was a bit daunting because the OmniOS installer doesn&amp;rsquo;t include the virtio drivers by default, so I had to install to an IDE disk, pull in the virtio drivers from the pkg repos, attach a virtio disk, add the new drive to the root pool, then remove the old one. It was cool to do, but kindof a PITA. However, it was for naught, because trying to do VT-d passthrough to the VM caused it to panic. Word on IRC in #omnios was it had something to do with the USB/PCI code in the kernel. &lt;em&gt;Sigh&lt;/em&gt;, back to the drawing board.&lt;/p&gt;
&lt;p&gt;The third option was FreeNAS. Let me preface this by saying I will always pick Solaris/Illumos based storage first in the datacenter. A port of ZFS will always be second choice for me. That said, the FreeNAS project is a very good one. They also recently picked up some major talent with &lt;a href="http://www.freenas.org/whats-new/2013/06/apples-jordan-hubbard-joins-ixsystems.html" title="What's New with FreeNAS » Apple’s Jordan Hubbard Joins iXsystems"&gt;Jordan Hubbard&lt;/a&gt;, ex-Apple CTO. FreeBSD is alive &amp;amp; well, &amp;amp; still a big player in the ZFS community.&lt;/p&gt;
&lt;p&gt;Imagine my surprise when I found out that FreeNAS includes both disk &amp;amp; net virtio drivers by default. A quick install later, and I had my storage solution up &amp;amp; running.&lt;/p&gt;
&lt;h3 id="how"&gt;How?&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;m not going to cover the entire how-to beginning to end, because a lot of it is similar to VMware/ESXi. I will cover the major differences &amp;amp; how I worked around them.&lt;/p&gt;
&lt;h4 id="passthrough"&gt;Passthrough&lt;/h4&gt;
&lt;p&gt;The first obvious difference is VT-d PCI passthrough. VMware makes this easy to do. With Proxmox, it&amp;rsquo;s pretty easy too, just took me a while to figure out.&lt;/p&gt;
&lt;p&gt;First, we need to prep Proxmox itself to use passthrough. The &lt;a href="https://pve.proxmox.com/wiki/Pci_passthrough"&gt;Proxmox Wiki&lt;/a&gt; explains how pretty well.&lt;/p&gt;
&lt;p&gt;Second, we need to figure out the device ID to pass through. SSH into the proxmox node &amp;amp; become root. Then do:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@proxmox:~# lspci | grep SCSI
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 02)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Let&amp;rsquo;s say your FreeNAS VM is ID 100. With FreeNAS powered off, you&amp;rsquo;ll need to manually edit the config file to add the option &lt;code&gt;hostpci0: 02:00.0&lt;/code&gt;:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@proxmox:~# cd /etc/pve/qemu-server
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@proxmox:/etc/pve/qemu-server# cat 100.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bootdisk: virtio0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cores: 2
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cpu: host
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;hostpci0: 02:00.0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ide2: none,media=cdrom
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;memory: 4096
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;name: FreeNAS
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;net0: virtio=7A:3A:B1:23:91:84,bridge=vmbr0
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;net1: virtio=66:C8:8A:75:61:FC,bridge=vmbr1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;onboot: 1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ostype: other
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sockets: 1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;virtio0: san:vm-100-disk-1,size=4G
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;virtio1: san:vm-100-disk-2,size=20G&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Once you&amp;rsquo;ve done that, restart Proxmox. Once it comes back up &amp;amp; FreeNAS has been started up, FreeNAS should be able to see the disks attached to that controller. If they already have ZFS datasets on them, you can just import them &amp;amp; you&amp;rsquo;re good to go.&lt;/p&gt;
&lt;h4 id="network"&gt;Network&lt;/h4&gt;
&lt;p&gt;When I first set up Proxmox/FreeNAS, Proxmox didn&amp;rsquo;t have OpenVSwitch integrated. As of now (v3.2), it does, though I haven&amp;rsquo;t played around with it yet. I plan to figure that out soon.&lt;/p&gt;
&lt;p&gt;Proxmox uses &lt;a href="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" title="bridge | The Linux Foundation"&gt;Linux bridges&lt;/a&gt; for managing network interfaces. What I did was create a bridge called vmbr1 that was not attached to any physical NICs &amp;amp; gave it a private IP 172.16.1.1. From the FreeNAS side, I added a new virtio interface attached to vmbr1, and within FreeNAS, gave it IP 172.16.1.2.&lt;/p&gt;
&lt;p&gt;Some pics to illustrate:&lt;/p&gt;
&lt;p&gt;Proxmox Network Config:&lt;br /&gt;
&lt;img src="/images/2014/03/proxmox_freenas1.png" alt="Proxmox Network Config" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;FreeNAS VM Config:&lt;br /&gt;
&lt;img src="/images/2014/03/proxmox_freenas2.png" alt="FreeNAS VM Config" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;Proxmox Storage View w/ NFS shares mounted:&lt;br /&gt;
&lt;img src="/images/2014/03/proxmox_freenas3.png" alt="Proxmox Storage View" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;FreeNAS Disk View:&lt;br /&gt;
&lt;img src="/images/2014/03/proxmox_freenas4.png" alt="FreeNAS Disk View" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;h3 id="finishing-thoughts"&gt;Finishing Thoughts&lt;/h3&gt;
&lt;p&gt;FreeNAS is a great ZFS solution for home use. It&amp;rsquo;s rich GUI &amp;amp; extensible plugins make it a lot of fun to use. For example, it has a Crashplan plugin which now handles all my backups. I&amp;rsquo;ve not been able to distinguish any performance loss from my ESXi/NexentaStor setup. Homelab loads just aren&amp;rsquo;t very high. I&amp;rsquo;m also really enjoying Proxmox, and the Proxmox devs are doing a lot of great things with it right now. It&amp;rsquo;s a very active project.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m really happy with how this turned out.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2014/03/30/migrating-from-wordpress-to-octopress/"><title>Migrating from Wordpress to Octopress</title><link href="https://churnd.net/2014/03/30/migrating-from-wordpress-to-octopress/"/><id>http://churnd.net/2014/03/30/migrating-from-wordpress-to-octopress</id><updated>2014-03-30T14:10:43-04:00</updated><content type="html">&lt;h3 id="intro"&gt;Intro&lt;/h3&gt;
&lt;p&gt;There are a million &amp;ldquo;Migrating from Wordpress to Octopress&amp;rdquo; blogs out there. I didn&amp;rsquo;t want to be yet another one, but I had a few thoughts I wanted to get out there. Most Octopress blogs I see out there are owned by developers, and I&amp;rsquo;m a sysadmin. I had been using Wordpress for a long time, &amp;amp; Blogger before that. Octopress is&amp;hellip; different.&lt;/p&gt;
&lt;h3 id="understanding"&gt;Understanding&lt;/h3&gt;
&lt;p&gt;The key to successfully migrating from Wordpress to Octopress is to understand how they&amp;rsquo;re different.&lt;/p&gt;
&lt;p&gt;Wordpress is a collection of php scripts you dump into a webserver root, install some dependencies, tweak some config files, &amp;amp; setup a database for it to use. Half of the setup is done through your web browser, &amp;amp; your Wordpress host does all the content generation work. You create a blog post in your browser most likely, &amp;amp; the content is stored in the database backend. When a page is requested, Wordpress&amp;rsquo; php generates it from the database content (usually). This all happens on the server hosting Wordpress itself.&lt;/p&gt;
&lt;p&gt;Octopress is mainly run on your computer. You set up the computer you&amp;rsquo;re using with some dependencies, download Octopress source code, change it a bit to be specific to your website, run commands to manage it &amp;amp; generate new posts, then upload static html files to your webserver root via rsync (usually). You&amp;rsquo;re actually generating the site&amp;rsquo;s content on your computer itself, then deploying it to your webserver via some copy method. All your webserver does is serve static html files. Cool, huh? :)&lt;/p&gt;
&lt;p&gt;If you were hoping I&amp;rsquo;d describe how to do it, I defer you here: &lt;a href="http://octopress.org/docs/" title="Octopress Documentation - Octopress"&gt;http://octopress.org/docs/&lt;/a&gt;. I&amp;rsquo;ve read through those docs many times, as well as other blogs, to gain a better understanding of how Octopress works &amp;amp; how to use it. Hopefully the two paragraphs above will help you get started quicker.&lt;/p&gt;
&lt;h3 id="impressions"&gt;Impressions&lt;/h3&gt;
&lt;p&gt;I migrated to Octopress in October of 2013 (coincidence). My thoughts of using it so far have been mostly positive. My VPS only has a measly 1 CPU &amp;amp; 512MB RAM. It was really struggling to work with the latest Wordpress &amp;amp; php-fpm, constantly running out of RAM &amp;amp; being very sluggish. Since migrating to Octopress&amp;hellip; &lt;em&gt;Holy Crap&lt;/em&gt;! My VPS now sits mainly at idle, barely using any resources. Pages load lightning quick &amp;amp; I have all the plugins I need to generate the kind of content I want.&lt;/p&gt;
&lt;p&gt;I was also surprised at how much crap Wordpress injected into my blog posts when I was using it. Most of the work on my blog from October til now has been fixing the posts, &amp;amp; I&amp;rsquo;m still not done. I definitely appreciate Octopress&amp;rsquo; clean markdown formatting. I&amp;rsquo;m writing this blog post in &lt;a href="https://github.com/textmate/textmate"&gt;TextMate&lt;/a&gt;, which is a great editor for markdown. I&amp;rsquo;m still learning it&amp;rsquo;s syntax.&lt;/p&gt;
&lt;h3 id="advice"&gt;Advice&lt;/h3&gt;
&lt;p&gt;Some pointers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Realize that Octopress is meant for hackers. It has a learning curve. Coming from Wordpress, you won&amp;rsquo;t be comfortable right away.&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;ll have to learn how to use git, rvm, &amp;amp; ruby to manage Octopress. You don&amp;rsquo;t have to be an expert, but you&amp;rsquo;ll need to learn the basics.&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t ignore git. This will bite you in the ass come upgrade time. Set up your own repo somewhere (the docs show you how), commit changes, &amp;amp; push them there. Consider it a backup.&lt;/li&gt;
&lt;li&gt;Be aware of changes you make to your computer that you rely on to generate blog posts. Changing your environment could mean stuff stops working in your Octopress instance.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="but"&gt;But&amp;hellip;&lt;/h3&gt;
&lt;p&gt;&amp;ldquo;But&amp;hellip; I wanted you to show me how to do it step by step!&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;No.&lt;/p&gt;
&lt;p&gt;Read&amp;hellip; the&amp;hellip; docs. That&amp;rsquo;s the #1 most important step to using Octopress is understanding how it works.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2013/10/26/crashplan-on-nexentastor/"><title>CrashPlan on NexentaStor</title><link href="https://churnd.net/2013/10/26/crashplan-on-nexentastor/"/><id>http://churnd.net/2013/10/26/crashplan-on-nexentastor</id><updated>2013-10-26T00:00:00-04:00</updated><content type="html">&lt;p&gt;Following up on my last post, &lt;a href="/2013/02/11/netatalk-3-afp-on-nexentastor/" title="Netatalk 3 (AFP) on NexentaStor - #!"&gt;Netatalk on NexentaStor&lt;/a&gt;, I mentioned there that I only use Time Machine for &amp;ldquo;bare metal&amp;rdquo; type backups.  As in if I need to restore something specific to the OS itself, or reload the OS in event of a hardware failure.  I use &lt;a title="CrashPlan" href="http://www.crashplan.com" target="_blank" rel="homepage"&gt;CrashPlan&lt;/a&gt; for all my actual data backups, because I think it&amp;rsquo;s superior to Time Machine.  For why I think that, check out the &lt;a href="http://www.crashplan.com/consumer/details.html" target="_blank"&gt;details&lt;/a&gt;.  I&amp;rsquo;ve also had Time Machine crap out on me more than once when the disk gets full &amp;amp; tries to expire too much data, the only solution being to wipe the drive &amp;amp; start backups over.  Not cool.  Never had that problem with CrashPlan.&lt;/p&gt;
&lt;p&gt;&lt;a title="Code 42 Software" href="http://www.crashplan.com" target="_blank" rel="homepage"&gt;Crashplan&lt;/a&gt; is also the only backup solution I know of that is really cross-platform &amp;amp; allows free local backups.  They support Windows, Mac, Linux, &amp;amp; Solaris, &amp;amp; state that FreeBSD support is coming.  Can&amp;rsquo;t beat that.  I will say though, this is not supported by Crashplan or NexentaStor.  Installing it requires some workarounds because Nexenta uses apt as it&amp;rsquo;s underlying package management tool, whereas Crashplan is a pkg type installer. There are other ways to install it besides this one, but I like this one better because other ways I&amp;rsquo;ve read involve mixing the Crashplan Linux &amp;amp; Solaris installers.  In reality, that may be just fine since Crashplan is mostly a java app, but still… I want 100% Solaris if I can get it. So this install is a two step process, &amp;amp; takes a little longer.  It involves setting up an OpenIndiana VM, installing Crashplan to that, then copying the files over to NexentaStor.  Simple enough, right?  I&amp;rsquo;m assuming you have working OpenIndiana &amp;amp; NexentaStor instances &amp;amp; that you can ssh between each as root. To install Crashplan on OpenIndiana, it&amp;rsquo;s pretty straightforward:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Make sure it has java installed: &lt;code&gt;pkg install jdk&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Download the Solaris installer from Crashplan.com &amp;amp; untar to /tmp&lt;/li&gt;
&lt;li&gt;Install it: &lt;code&gt;cd /tmp &amp;amp;&amp;amp; pkgadd -d .&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The install process shows you everything you need to know, but in case you didn&amp;rsquo;t copy it down:&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Installing CrashPlan as &amp;lt;CrashPlan&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Executing preinstall script.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Installing part 1 of 1.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/CrashPlan.desktop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/CrashPlanDesktop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/CrashPlanEngine
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/crashplan.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/restart_solaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/run.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/client-build.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/custom_sample.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/default.service.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/service.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/ui.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/ui.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/upgradeui.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/conf/upgradeui.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc/EULA
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc/readme.html
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc/readme.odt
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc/readme.pdf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc/readme.rtf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/installer/solaris/.defaults
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/installer/solaris/EULA
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/jniwrap.lic
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_ca.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_da.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_de.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_en.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_es.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_es_AR.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_es_ES.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_es_MX.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_fi.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_fr.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_hu.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_it.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_ja.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_nl.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_no.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_pl.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_pt.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_pt_BR.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_sv.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_th.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_tr.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_zh.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lang/txt_zh_TW.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/c42_protolib.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/com.backup42.desktop.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/com.jniwrapper.jniwrap.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/com.jniwrapper.macpack.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/com.jniwrapper.winpack.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/commons-collections-3.2.1-mini.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/commons-jxpath-1.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/jna-3.2.5.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/json-20070829.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/json-lib-2.4.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/jtux.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/log4j-1.2.16.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/miglayout15-swt.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/org.eclipse.core.commands_3.6.1.v20120814-150512.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/org.eclipse.jface_3.8.101.v20120817-083647.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/protobuf-java-2.4.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/rhino-1.7r3.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/sbbi-upnplib-1.0.4.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/slf4j-api-1.6.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/slf4j-log4j12-1.6.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/swt.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/trove-3.0.2.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/lib/twitter4j.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/libjtux.so
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/icon_app_128x128.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/icon_app_16x16.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/icon_app_32x32.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/icon_app_64x64.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/logo_main.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/skin.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/splash_default.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/splash_plus.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/skin/window_bg.jpg
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/start.bat
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/start.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startDesktop.bat
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startDesktop.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startDesktopLinux.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startDesktopSolaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startFirst.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startLinux.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/upgrade/startSolaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[ verifying class &amp;lt;none&amp;gt; ]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Executing postinstall script.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;log dir: /opt/sfw/crashplan/log
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir: /opt/sfw/crashplan/log: [File exists]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;adjusting service xml paths
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;adjusting manifest path
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;creating identity path
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;CrashPlan has been installed.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Important directories:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Installation:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Logs:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/log
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Default archive location:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/var/crashplan
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Start Script (run as root):
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/CrashPlanEngine start|stop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Start Desktop UI:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/bin/CrashPlanDesktop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;You may connect a remote Desktop UI to this Service via port-forwarding
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;and manage it remotely. Instructions for remote management are in the
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;readme files placed in your installation directory:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/opt/sfw/crashplan/doc
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;To enable CrashPlan as a service (as root):
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/usr/sbin/svccfg import /opt/sfw/crashplan/bin/crashplan.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/usr/sbin/svcadm enable crashplan
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Thank you for installing CrashPlan for Solaris.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Installation of CrashPlan was successful.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Notice the last step details how to import Crashplan&amp;rsquo;s SMF manifest, so you can manage the service in true Solaris form.  You don&amp;rsquo;t have to do that on OpenIndiana, but no harm in doing so at this point. Now we want to get all that stuff over to NexentaStor, so as root:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;#rsync -av --progress /opt/sfw nexentastor:/opt/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;README VERY IMPORTANT:  this assumes there is no /opt/sfw on your NexentaStor install already!!  It&amp;rsquo;s a pretty safe bet as NexentaStor doesn&amp;rsquo;t install anything there, but please make sure yourself.  Also replace &amp;ldquo;nexentastor&amp;rdquo; with the name of your NexentaStor server, or it&amp;rsquo;s IP.  Enter the root password &amp;amp; it&amp;rsquo;ll do it&amp;rsquo;s thing.  You should see each item it copies print out to the screen:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# rsync -av --progress /opt/ nexentastor:/opt/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Password:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sending incremental file list
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/client-build.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;171 100% 0.43kB/s 0:00:00 (xfer#775, to-check=102/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/install.vars
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;154 100% 0.39kB/s 0:00:00 (xfer#776, to-check=101/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/jniwrap.lic
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;330 100% 0.83kB/s 0:00:00 (xfer#777, to-check=100/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/libjtux.so
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;72762 100% 38.14MB/s 0:00:00 (xfer#778, to-check=99/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/CrashPlan.desktop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;290 100% 283.20kB/s 0:00:00 (xfer#779, to-check=89/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/CrashPlanDesktop
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;307 100% 299.80kB/s 0:00:00 (xfer#780, to-check=88/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/CrashPlanEngine
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1508 100% 1.44MB/s 0:00:00 (xfer#781, to-check=87/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/crashplan.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1858 100% 1.77MB/s 0:00:00 (xfer#782, to-check=86/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/restart_solaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;862 100% 841.80kB/s 0:00:00 (xfer#783, to-check=85/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/bin/run.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;479 100% 467.77kB/s 0:00:00 (xfer#784, to-check=84/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/custom_sample.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;3368 100% 3.21MB/s 0:00:00 (xfer#785, to-check=83/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/default.service.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;872 100% 851.56kB/s 0:00:00 (xfer#786, to-check=82/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/service.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;750 100% 732.42kB/s 0:00:00 (xfer#787, to-check=81/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/ui.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;467 100% 456.05kB/s 0:00:00 (xfer#788, to-check=80/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/ui.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;277 100% 135.25kB/s 0:00:00 (xfer#789, to-check=79/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/upgradeui.log.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1013 100% 494.63kB/s 0:00:00 (xfer#790, to-check=78/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/conf/upgradeui.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;44 100% 21.48kB/s 0:00:00 (xfer#791, to-check=77/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/EULA
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;44099 100% 21.03MB/s 0:00:00 (xfer#792, to-check=76/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/readme.html
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;16041 100% 5.10MB/s 0:00:00 (xfer#793, to-check=75/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/readme.odt
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;69754 100% 16.63MB/s 0:00:00 (xfer#794, to-check=74/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/readme.pdf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;40088 100% 7.65MB/s 0:00:00 (xfer#795, to-check=73/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/doc/readme.rtf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;41636 100% 6.62MB/s 0:00:00 (xfer#796, to-check=72/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/installer/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/installer/solaris/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/installer/solaris/.defaults
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;83 100% 11.58kB/s 0:00:00 (xfer#797, to-check=70/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/installer/solaris/EULA
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;44099 100% 4.67MB/s 0:00:00 (xfer#798, to-check=69/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;74570 100% 6.47MB/s 0:00:00 (xfer#799, to-check=68/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_ca.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;83061 100% 6.09MB/s 0:00:00 (xfer#800, to-check=67/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_da.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;73754 100% 5.02MB/s 0:00:00 (xfer#801, to-check=66/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_de.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;82420 100% 4.91MB/s 0:00:00 (xfer#802, to-check=65/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_en.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;288 100% 17.58kB/s 0:00:00 (xfer#803, to-check=64/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_es.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;82806 100% 4.39MB/s 0:00:00 (xfer#804, to-check=63/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_es_AR.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;81945 100% 3.91MB/s 0:00:00 (xfer#805, to-check=62/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_es_ES.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;80929 100% 3.51MB/s 0:00:00 (xfer#806, to-check=61/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_es_MX.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;69105 100% 2.87MB/s 0:00:00 (xfer#807, to-check=60/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_fi.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;79646 100% 3.04MB/s 0:00:00 (xfer#808, to-check=59/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_fr.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;84919 100% 3.00MB/s 0:00:00 (xfer#809, to-check=58/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_hu.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;89918 100% 2.96MB/s 0:00:00 (xfer#810, to-check=57/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_it.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;75391 100% 2.32MB/s 0:00:00 (xfer#811, to-check=56/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_ja.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;130198 100% 3.65MB/s 0:00:00 (xfer#812, to-check=55/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_nl.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;73500 100% 2.00MB/s 0:00:00 (xfer#813, to-check=54/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_no.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;73788 100% 1.90MB/s 0:00:00 (xfer#814, to-check=53/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_pl.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;80730 100% 1.97MB/s 0:00:00 (xfer#815, to-check=52/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_pt.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;75719 100% 1.76MB/s 0:00:00 (xfer#816, to-check=51/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_pt_BR.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;79742 100% 1.81MB/s 0:00:00 (xfer#817, to-check=50/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_sv.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;79567 100% 1.72MB/s 0:00:00 (xfer#818, to-check=49/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_th.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;208127 100% 4.05MB/s 0:00:00 (xfer#819, to-check=48/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_tr.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;89075 100% 1.67MB/s 0:00:00 (xfer#820, to-check=47/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_zh.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;92387 100% 1.66MB/s 0:00:00 (xfer#821, to-check=46/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lang/txt_zh_TW.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;91989 100% 1.57MB/s 0:00:00 (xfer#822, to-check=45/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/c42_protolib.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1290808 100% 389.42kB/s 0:00:03 (xfer#823, to-check=44/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/com.backup42.desktop.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;5716574 100% 606.34kB/s 0:00:09 (xfer#824, to-check=43/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/com.jniwrapper.jniwrap.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;215243 100% 4.89MB/s 0:00:00 (xfer#825, to-check=42/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/com.jniwrapper.macpack.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1285054 100% 418.31kB/s 0:00:03 (xfer#826, to-check=41/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/com.jniwrapper.winpack.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;706581 100% 21.74MB/s 0:00:00 (xfer#827, to-check=40/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/commons-collections-3.2.1-mini.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;24481 100% 771.20kB/s 0:00:00 (xfer#828, to-check=39/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/commons-jxpath-1.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;268794 100% 6.93MB/s 0:00:00 (xfer#829, to-check=38/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/jna-3.2.5.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;946973 100% 9.82MB/s 0:00:00 (xfer#830, to-check=37/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/json-20070829.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;41829 100% 8.64MB/s 0:00:00 (xfer#831, to-check=36/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/json-lib-2.4.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;159123 100% 25.29MB/s 0:00:00 (xfer#832, to-check=35/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/jtux.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;41291 100% 5.63MB/s 0:00:00 (xfer#833, to-check=34/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/log4j-1.2.16.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;481534 100% 24.17MB/s 0:00:00 (xfer#834, to-check=33/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/miglayout15-swt.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;69028 100% 3.13MB/s 0:00:00 (xfer#835, to-check=32/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/org.eclipse.core.commands_3.6.1.v20120814-150512.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;108731 100% 4.51MB/s 0:00:00 (xfer#836, to-check=31/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;106763 100% 4.07MB/s 0:00:00 (xfer#837, to-check=30/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/org.eclipse.jface_3.8.101.v20120817-083647.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1090959 100% 20.81MB/s 0:00:00 (xfer#838, to-check=29/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1396459 100% 219.43kB/s 0:00:06 (xfer#839, to-check=28/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/protobuf-java-2.4.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;450279 100% 13.42MB/s 0:00:00 (xfer#840, to-check=27/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/rhino-1.7r3.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1122370 100% 17.55MB/s 0:00:00 (xfer#841, to-check=26/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/sbbi-upnplib-1.0.4.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;81591 100% 1.26MB/s 0:00:00 (xfer#842, to-check=25/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/slf4j-api-1.6.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;25496 100% 0.00kB/s 0:00:00 (xfer#843, to-check=24/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/slf4j-log4j12-1.6.1.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;9753 100% 9.30MB/s 0:00:00 (xfer#844, to-check=23/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/swt.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;1641584 100% 42.31MB/s 0:00:00 (xfer#845, to-check=22/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/trove-3.0.2.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;2522902 100% 801.23kB/s 0:00:03 (xfer#846, to-check=21/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/lib/twitter4j.jar
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;284059 100% 6.45MB/s 0:00:00 (xfer#847, to-check=20/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/log/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/icon_app_128x128.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;9576 100% 217.48kB/s 0:00:00 (xfer#848, to-check=19/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/icon_app_16x16.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;813 100% 18.46kB/s 0:00:00 (xfer#849, to-check=18/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/icon_app_32x32.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;2099 100% 47.67kB/s 0:00:00 (xfer#850, to-check=17/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/icon_app_64x64.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;5094 100% 115.69kB/s 0:00:00 (xfer#851, to-check=16/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/logo_main.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;9960 100% 226.20kB/s 0:00:00 (xfer#852, to-check=15/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/skin.properties
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;56 100% 1.27kB/s 0:00:00 (xfer#853, to-check=14/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/splash_default.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;244581 100% 4.76MB/s 0:00:00 (xfer#854, to-check=13/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/splash_plus.png
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;244858 100% 4.25MB/s 0:00:00 (xfer#855, to-check=12/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/skin/window_bg.jpg
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;213440 100% 64.13kB/s 0:00:03 (xfer#856, to-check=11/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/start.bat
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;127 100% 124.02kB/s 0:00:00 (xfer#857, to-check=10/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/start.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;174 100% 169.92kB/s 0:00:00 (xfer#858, to-check=9/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startDesktop.bat
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;92 100% 89.84kB/s 0:00:00 (xfer#859, to-check=8/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startDesktop.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;312 100% 304.69kB/s 0:00:00 (xfer#860, to-check=7/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startDesktopLinux.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;135 100% 131.84kB/s 0:00:00 (xfer#861, to-check=6/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startDesktopSolaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;137 100% 133.79kB/s 0:00:00 (xfer#862, to-check=5/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startFirst.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;87 100% 84.96kB/s 0:00:00 (xfer#863, to-check=4/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startLinux.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;211 100% 206.05kB/s 0:00:00 (xfer#864, to-check=3/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/startSolaris.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;213 100% 208.01kB/s 0:00:00 (xfer#865, to-check=2/1161)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/crashplan/upgrade/UpgradeUI/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/var/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sfw/var/crashplan/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sent 26794580 bytes received 17392 bytes 589274.11 bytes/sec
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;total size is 26730067 speedup is 1.00&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Make sure java is installed on NexentaStor:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get install sun-java6-jre&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Lastly, run the two commands the install script shows you on NexentaStor as root:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;#/usr/sbin/svccfg import /opt/sfw/crashplan/bin/crashplan.xml
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;#/usr/sbin/svcadm enable crashplan&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Keep in mind you have to be in a pure root bash shell, not NMC, to do this on NexentaStor. Now verify it&amp;rsquo;s running:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# svcs | grep crash
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;online 22:22:52 svc:/crashplan:default&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Good!  All that&amp;rsquo;s left is to configure it.  Crashplan has instructions on their site:  &lt;a href="http://support.crashplan.com/doku.php/how_to/configure_a_headless_client" target="_blank"&gt;Configure a Headless Client&lt;/a&gt;. The last step is to create a ZFS folder for Crashplan to store it&amp;rsquo;s backups in.  This is easy enough in NexentaStor, just create a folder on the ZFS pool you want &amp;amp; set it up accordingly.  I have mine set to use compression, but that&amp;rsquo;s it.  Crashplan does deduplication &amp;amp; more compression itself, so I figure that&amp;rsquo;s plenty.&lt;/p&gt;
&lt;p&gt;I vaguely recall having some problems getting Crashplan to see the /volumes directory where NexentaStor mounts it&amp;rsquo;s pools &amp;amp; folders.  What I had to do was to disable Crashplan, go into /opt/sfw/crashplan/conf, &amp;amp; edit I think the my.service.xml file to include the location manually.  My memory&amp;rsquo;s fuzzy on that, &amp;amp; I found the solution by Googling so I&amp;rsquo;d recommend doing that if you get stuck with the same problem. It&amp;rsquo;d be pretty cool to see NexentaStor create a plugin for Crashplan, where the installation would be as simple as a click &amp;amp; it would be managed by NMV.  Wouldn&amp;rsquo;t take much, I don&amp;rsquo;t think.  Maybe in v4.  ;)&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2013/04/07/limiting-your-kids-ipad-usage/"><title>Limiting your kids iPad usage</title><link href="https://churnd.net/2013/04/07/limiting-your-kids-ipad-usage/"/><id>http://churnd.net/2013/04/07/limiting-your-kids-ipad-usage</id><updated>2013-04-07T00:00:00-04:00</updated><content type="html">&lt;p&gt;My 3 year old son has been using my wife&amp;rsquo;s &lt;a title="iPad" href="http://www.apple.com/ipad/" target="_blank" rel="homepage"&gt;iPad&lt;/a&gt; since he was 1. He&amp;rsquo;s pretty good at it &amp;amp; we think it adds some valuable child development skills. Of course, we use a heavy duty case, but we haven&amp;rsquo;t really had an instance where he tried to break it. It&amp;rsquo;s great for things like &lt;a title="Netflix" href="http://www.netflix.com/" target="_blank" rel="homepage"&gt;Netflix&lt;/a&gt; for Kids &amp;amp; playing Angry Birds, but also educational apps that makes learning how to count &amp;amp; spell more fun. He&amp;rsquo;s doing pretty well in those areas so we think it&amp;rsquo;s been worth it. However, we have to be careful not to let him get too addicted to it. We kinda fell into this rut a little, especially since our second son was born in December &amp;amp; it&amp;rsquo;s easier to let the 3 year old keep himself occupied with the iPad. We&amp;rsquo;re scaling back, but in the process I looked for ways to make limiting usage a little easier.&lt;/p&gt;
&lt;p&gt;First place I looked were on the &lt;a title="IOS" href="http://www.apple.com/ios/" target="_blank" rel="homepage"&gt;iOS&lt;/a&gt; restrictions themselves. Unfortunately there&amp;rsquo;s no time limits there yet. It would be nice if Apple built something into iOS that locks the device between certain hours or after X amount of hours. I also looked for a way to limit the volume setting, because my son liked to turn it up full blast all the time. This doesn&amp;rsquo;t seem to be possible either, at least not universally across apps. I wound up putting a strip of scotch tape over the speaker, which works pretty well. The audio is still audible, but at a much more pleasant level.&lt;/p&gt;
&lt;p&gt;Second place I looked were 3rd party apps. I &lt;a href="http://appfinder.lisisoft.com/tag/usage-time-limit.html" target="_blank"&gt;found a few&lt;/a&gt; like TimeLock &amp;amp; KidTime, but none of them seem to have very solid reviews. I didn&amp;rsquo;t want to invest the time into getting them working if they weren&amp;rsquo;t going to work well.&lt;/p&gt;
&lt;p&gt;Third place I looked was for ideas in limiting device usage on the network. I have a &lt;a title="PfSense" href="http://www.pfsense.org/" target="_blank" rel="homepage"&gt;pfSense&lt;/a&gt; box doing all my firewall/routing stuff, so I figured surely there must be a way. There is, called &lt;a href="http://doc.pfsense.org/index.php/Captive_Portal" target="_blank"&gt;Captive Portal&lt;/a&gt;, but it&amp;rsquo;s way more complicated than what I&amp;rsquo;d need.&lt;/p&gt;
&lt;p&gt;What I finally wound up doing is going with something I kinda just stumbled upon. I also have an Apple Airport Extreme at home that serves as my primary wireless access point. I was browsing through it&amp;rsquo;s settings one day &amp;amp; stumbled upon a feature called Timed Access Control.  It&amp;rsquo;s pretty easy to set up too. In Airport Utility, select your Airport Extreme, Edit, then click on the Network tab. You&amp;rsquo;ll see the option at the bottom:&lt;/p&gt;
&lt;p&gt;Just check it &amp;amp; click the Timed Access Control button. A new window will come up where you&amp;rsquo;ll configure the individual devices. The &amp;ldquo;default&amp;rdquo; setting allows all devices, &amp;amp; you can&amp;rsquo;t get rid of it, but you can set wifi usage limits on all devices if you want to. What you&amp;rsquo;ll want to do is add another device by clicking &amp;ldquo;+&amp;rdquo;, then giving it a name:&lt;/p&gt;
&lt;p&gt;The most important part is identifying the devices MAC address of the wireless device you&amp;rsquo;re trying to limit. There are several ways to do it, but probably the easiest is to pull it up on the iPad itself:&lt;/p&gt;
&lt;p&gt;You can see in the above picture the limits are pretty flexible. I can set stricter limits during the weekdays, but loosen them up a little on the weekends. I can already tell I&amp;rsquo;m going to have fun with this stuff as they get older&amp;hellip; setting parental controls &amp;amp; the like. They&amp;rsquo;ll probably call me evil computer dictator Dad. I&amp;rsquo;m OK with that. This setting has been working as expected, no network traffic on my wife&amp;rsquo;s iPad during certain hours. It doesn&amp;rsquo;t prevent them from using the iPad completely, but most of what he does involves network related stuff anyway (Netflix), so if that stops working, he usually loses interest. Win.&lt;/p&gt;
&lt;p&gt;That said, this isn&amp;rsquo;t impossible to get around. Mac addresses can be easily spoofed. If my 3 year old figures out how to do that on this iPad, I&amp;rsquo;ll let him have it because he&amp;rsquo;s obviously wicked smart &amp;amp; doesn&amp;rsquo;t need me telling him what to do.  :)&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2013/02/11/netatalk-3-afp-on-nexentastor/"><title>Netatalk 3 (AFP) on NexentaStor</title><link href="https://churnd.net/2013/02/11/netatalk-3-afp-on-nexentastor/"/><id>http://churnd.net/2013/02/11/netatalk-3-afp-on-nexentastor</id><updated>2013-02-11T00:00:00-05:00</updated><content type="html">&lt;p&gt;&lt;a title="NexentaStor" href="http://www.nexenta.com/corp" target="_blank" rel="homepage"&gt;NexentaStor&lt;/a&gt; is NCP (&lt;a title="Nexenta OS" href="http://www.nexenta.org/" target="_blank" rel="homepage"&gt;Nexenta&lt;/a&gt; Core Platform) underneath, so you really do have all the power &amp;amp; flexibility of an open unix system.  That&amp;rsquo;s one of the reasons I love the project.  If you want to add on additional functionality, it&amp;rsquo;s not so hard to do so.  Everything I&amp;rsquo;ve done to &amp;ldquo;extend&amp;rdquo; NexentaStor to my liking has not interfered with the core NMV/NMC functionality.  That said, one of the great things about apt in &lt;a title="Solaris (operating system)" href="http://oracle.com/solaris" target="_blank" rel="homepage"&gt;Solaris&lt;/a&gt; is apt-clone; something gets messed up, you can revert your system back leveraging the power of ZFS snapshots.  So, when installing a lot of stuff using apt, use apt-clone instead of &lt;a title="Advanced Packaging Tool" href="http://wiki.debian.org/Apt" target="_blank" rel="homepage"&gt;apt-get&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One of the things I wanted to use all that disk space I have in my &lt;a href="/2011/06/27/zfsesxi-all-in-one-part-1/" title="ZFS/ESXi All-In-One, Part 1"&gt;ZFS/ESXi All-In-One&lt;/a&gt; for is Time Machine Backups for the 3 Macs in my house.  I use a combination of Time Machine &amp;amp; CrashPlan for my backups.  Yes, I&amp;rsquo;m using CrashPlan on NexentaStor as well; that&amp;rsquo;s a future post.&lt;/p&gt;
&lt;p&gt;The recent surge in popularity of the &lt;a title="Mac OS" href="http://www.apple.com/macosx/" target="_blank" rel="homepage"&gt;Mac OS&lt;/a&gt; has really helped the open source project &lt;a title="Netatalk" href="http://netatalk.sourceforge.net/" target="_blank" rel="homepage"&gt;Netatalk&lt;/a&gt;.  Netatalk has been around a while, and it&amp;rsquo;s still going strong.  The latest release, v3, looks to have been a big re-write in how Netatalk works.  The biggest change I can see is that configuration is a lot easier &amp;amp; the CNID backends now go into a database rather than &amp;ldquo;hidden&amp;rdquo; folders on the shares themselves.  Nice!  Also, the feature we want that&amp;rsquo;s been present since a later version of 2, built-in Time Machine support.&lt;/p&gt;
&lt;p&gt;The writeup I pulled from exists on NexentaStor&amp;rsquo;s wiki:  &lt;a href="http://www.nexentastor.org/wiki/site/AFP_with_TimeMachine" target="_blank"&gt;&lt;a href="http://www.nexentastor.org/wiki/site/AFP_with_TimeMachine"&gt;http://www.nexentastor.org/wiki/site/AFP_with_TimeMachine&lt;/a&gt;&lt;/a&gt;.  However, that&amp;rsquo;s for v2, but thankfully v3 is similar.&lt;/p&gt;
&lt;p&gt;To start, we need to fall to a &amp;ldquo;raw&amp;rdquo; root shell in NexentaStor.  I say &amp;ldquo;raw&amp;rdquo; because trying to become root on NexentaStor defaults to NMC (Nexenta Management Console), which is a command-line menu-driven shell designed by Nexenta to manage the main functionality of NexentaStor.  So, to become root from NMC:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nmc@nexentastor:/$ option expert_mode = 1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nmc@nexentastor:/$ !bash
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;You are about to enter the Unix (&amp;#34;raw&amp;#34;) shell and execute low-level Unix command(s). Warning: using low-level Unix commands is not recommended! Execute? Yes
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:/volumes#&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Now we need to install Netatalk&amp;rsquo;s prerequisites.  Thankfully, they are all in the repositories so we don&amp;rsquo;t have to compile any of these from source (that can be a real pain).  Let&amp;rsquo;s install them:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~# apt-clone install db4.6-util libdb4.6-dev libssl0.9.8k-dev libldap2-dev&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;You may notice netatalk does exist in the repositories as well, but that version is pretty old.  I&amp;rsquo;m not sure if it supports Time Machine or not.  Anyway, we want v3, so we&amp;rsquo;ll download the source, extract it, and install it:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~# wget http://sourceforge.net/projects/netatalk/files/netatalk/3.0.2/netatalk-3.0.2.tar.gz/download
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~# tar -zxvf netatalk-3.0.2.tar.gz
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~# cd netatalk-3.0.2&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;How we configure the source is the key to getting it working well on NexentaStor, as well as setting things how you like it. &amp;ldquo;./configure &amp;ndash;help&amp;rdquo; will show you all the available options. Here&amp;rsquo;s what I did:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~/netatalk-3.0.2# ./configure --prefix=/usr --sysconfdir=/etc/netatalk --with-init-style=solaris --without-ddp&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;I think the most important option in this case is &amp;ldquo;&amp;ndash;with-init-style=solaris&amp;rdquo;, because this will register Netatalk with SMF so we can use it to start/stop it true Solaris style.  The important thing here is you don&amp;rsquo;t want any errors when configure finishes.  The last output of configure should be a summary of your options you configured with (including Netatalk&amp;rsquo;s defaults).  If it errors, it&amp;rsquo;s most likely a missing dependency but we got them all so it shouldn&amp;rsquo;t fail.  The rest is pretty straightforward, typical make install:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~/netatalk-3.0.2# make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;In case you aren&amp;rsquo;t familiar, &amp;ldquo;make&amp;rdquo; compiles the code how it&amp;rsquo;s specified by &amp;ldquo;configure&amp;rdquo; and &amp;ldquo;make install&amp;rdquo; puts it all in place &amp;amp; takes care of post-configuration.  The main binary of Netatalk is afpd, so let&amp;rsquo;s check it out:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~/netatalk-3.0.2# afpd -v
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;afpd 3.0.2 - Apple Filing Protocol (AFP) daemon of Netatalk
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;This program is free software; you can redistribute it and/or modify it under
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the terms of the GNU General Public License as published by the Free Software
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Foundation; either version 2 of the License, or (at your option) any later
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;version. Please see the file COPYING for further information and details.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;afpd has been compiled with support for these features:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;AFP versions: 2.2 3.0 3.1 3.2 3.3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;CNID backends: dbd last tdb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;afp.conf: /etc/netatalk/afp.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;extmap.conf: /etc/netatalk/extmap.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;state directory: /usr/var/netatalk/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;afp_signature.conf: /usr/var/netatalk/afp_signature.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;afp_voluuid.conf: /usr/var/netatalk/afp_voluuid.conf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;UAM search path: /usr/lib/netatalk/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Server messages path: /usr/var/netatalk/msg/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Now we need to define some shares to serve out over AFP.  I will admit the &lt;a href="http://netatalk.sourceforge.net/3.0/htmldocs/configuration.html" target="_blank"&gt;documentation&lt;/a&gt; on Netatalk&amp;rsquo;s website is a little sparse as to what&amp;rsquo;s available.  &amp;ldquo;man afp.conf&amp;rdquo; contains everything you need to know, but the options available can be a little overwhelming to someone not familiar with AFP.  Here&amp;rsquo;s my configuration to give a working example:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;; Netatalk 3.x configuration file
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Global]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;; Global server settings
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;log file = /var/log/netatalk.log
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;uam list = uams_dhx.so,uams_dhx2.so
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;save password = no
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;aclinherit = passthrough
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;aclmode = passthrough
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Homes]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;basedir regex = /home
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Software]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;path = /tank/Software
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[Warp]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;path = /tank/Warp
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;time machine = yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;The value &amp;ldquo;time machine = yes&amp;rdquo; enables the Time Machine destination option for that share.  You can see I&amp;rsquo;ve created separate ZFS &amp;ldquo;folders&amp;rdquo; on the ZFS pool tank.  So my method is to create a ZFS filesystem (folder) if I need a new share, then add it to afp.conf.&lt;/p&gt;
&lt;p&gt;Now we turn it on:&lt;/p&gt;
&lt;figure class="code-sample"&gt;
&lt;figcaption&gt;Terminal&lt;/figcaption&gt;
&lt;div class="highlight" caption="Terminal"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~/netatalk-3.0.2# svcadm enable netatalk
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@nexentastor:~/netatalk-3.0.2# svcs | grep netatalk
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;online 11:09:56 svc:/network/netatalk:default&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Netatalk, based on how we&amp;rsquo;ve compiled it, will use the local unix user authentication on the system, and it will grant access to shares based on the ACL of the share.  In the NexentaStor web GUI (NMV), make sure your created user has the &amp;ldquo;unix&amp;rdquo; option selected.  You will also need to make sure that user or users have access to the ZFS folder by setting the ACL.  You can do this either via the web GUI or command line.&lt;/p&gt;
&lt;p&gt;So with Netatalk running, your unix user account created, &amp;amp; permissions set on the ZFS filesystem, you should be able to connect to the Time Machine share then point Time Machine to it to start your backups.&lt;/p&gt;
&lt;p&gt;The nice thing about this is we&amp;rsquo;re storing Time Machine backups on ZFS.  When doing Time Machine over the network, it creates SparseBundles on the Time Machine volume.  This allows Time Machine to retain all of the important &amp;ldquo;extra&amp;rdquo; HFS+ data, regardless of the filesystem it&amp;rsquo;s on.  So the fact that it&amp;rsquo;s being stored on ZFS doesn&amp;rsquo;t hurt anything as far as losing important OS X specific data that&amp;rsquo;s tied into the filesystem itself.  We also get some additional benefits from using ZFS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No corruption: the SparseBundle format uses &amp;ldquo;bands&amp;rdquo;, which are 8MB files that contain the actual data.  You could say these bands act like &amp;ldquo;blocks&amp;rdquo; do on a hard drive.  ZFS sees these bands just like any other file &amp;amp; protects them accordingly.&lt;/li&gt;
&lt;li&gt;Compression: Setting compression = on for the Time Machine filesystem we created saves space pretty effectively.&lt;/li&gt;
&lt;li&gt;Quotas: I can set a ZFS quota on the Time Machine filesystem so it won&amp;rsquo;t use anymore space than I allow.  Netatalk also has an option to limit space used on the share definition, but I prefer the ZFS way.  Allocating more space is as simple as expanding the quota.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I haven&amp;rsquo;t fully tested a restore yet using Netatalk v3, but I have using the older v2 setups in the past.  I should boot to the recovery HD &amp;amp; see if it&amp;rsquo;ll see the Time Machine volume on it&amp;rsquo;s own.  It may need to be mounted manually via command line to be recognized properly.  I have successfully restored via Netatalk v2 in the past, but I had to mount the Time Machine share manually.  Check out &amp;ldquo;man mount_afp&amp;rdquo; or Google for this.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m only using Time Machine for a &amp;ldquo;bare metal&amp;rdquo; type restore situation, in case I need to restore the OS itself.  The reason for this being I don&amp;rsquo;t believe Time Machine is well suited for backing up lots of data.  I use CrashPlan+ to handle my big data backups, which I&amp;rsquo;m also running on NexentaStor.  That&amp;rsquo;ll be the topic of my next blog post.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2013/02/09/zfsesxi-all-in-one-part-2/"><title>ZFS/ESXI All-In-One, Part 2</title><link href="https://churnd.net/2013/02/09/zfsesxi-all-in-one-part-2/"/><id>http://churnd.net/2013/02/09/zfsesxi-all-in-one-part-2</id><updated>2013-02-09T00:00:00-05:00</updated><content type="html">&lt;h2 id="prelude"&gt;Prelude&lt;/h2&gt;
&lt;p&gt;To (finally) follow up on my original post, ZFS/ESXi All-In-One, Part 1, this post will go over how to configure ESXi &amp;amp; NexentaStor to work with each other, all from within one physical server. Typically, ESXi will connect to a physically separate server or appliance that provides storage. For production environments, this is preferred. For testing/development, it can be prohibitively expensive. The All-In-One solution provides a good alternative.&lt;/p&gt;
&lt;h2 id="config"&gt;Config&lt;/h2&gt;
&lt;p&gt;First thing we need to do is get NexentaStor installed in a VM. For obvious reasons, this VM needs to be on local attached storage available to ESXi. In my previous post, you noticed I had some SSD&amp;rsquo;s in the box. The SSD&amp;rsquo;s are attached to the motherboard&amp;rsquo;s SATA controller ports.  One SSD contains ESXi itself, &amp;amp; I dedicated another one of the SSD&amp;rsquo;s for hosting NexentaStor&amp;rsquo;s VM. These can be set up in the vSphere Client&amp;rsquo;s configuration screen:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-23-08-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;You basically just format the SSD with VMware&amp;rsquo;s VMFS, then install NexentaStor&amp;rsquo;s VMDK into that volume. When I set up my NexentaStor VM, I allocated 2 CPU cores &amp;amp; 8GB RAM. You can get away with one core, but you want to give NexentaStor as much RAM as you can. Also one of the nice things about NexentaStor is that Nexenta has included their own compiled vmxnet3 driver in NexentaStors repos. I think they also have open-vm-tools, but I still use VMwares. I install VMware&amp;rsquo;s tools first, then attach/create the vmxnet3 NIC &amp;amp; install the vmxnet3 driver. When you set up the VM, you may have to use a temporary E1000 NIC to get basic network configuration so you can get NexentaStor set up, then add the better vmxnet3 NICs later. Here&amp;rsquo;s a good how-to about installing the tools on NexentaStor, and also a workaround for a problem you&amp;rsquo;ll run into regarding running &lt;code&gt;vmware-config-tools.pl&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Once NexentaStor is set up, we have to configure it to see the local drives in the server. These drives are attached to the SAS/SATA JBOD controller we bought. It was important to pick the right disk controller because we need to be able to pass it through to the VM directly. This is called VT-d passthrough, a feature ESXi has that allows allocating hardware (usually PCI devices) directly to a VM itself. Usually all hardware passed to a VM is virtualized by ESXi, but in this case, NexentaStor needs direct access to the drives themselves to work it&amp;rsquo;s ZFS magic. So, in the same ESXi Configuration panel, passthrough can be configured in the &amp;ldquo;Advanced&amp;rdquo; section:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-32-41-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;What this does is marks it as available for passthrough to a VM. ESXi will no longer be able to use that device itself. You will have to reboot ESXi after configuring passthrough. Once it has been rebooted, we need to assign the card to the NexentaStor VM. To do that, go to the NexentaStor VM&amp;rsquo;s configuration window:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-36-20-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;What you will need to do is click &amp;ldquo;Add:&amp;rdquo;, &amp;amp; you should see the model storage adapter itself. Click OK to add it to the VM, then start NexentaStor up. Once it comes up, you should see whatever drives are plugged into the adapter:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-41-16-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;Notice the first one on the list is the VMDK, but the rest show up as physical drives. This is what we want. In my case, I have 4x500GB drives &amp;amp; 4x2TB drives. Yeah it&amp;rsquo;s a lot for a home lab, but I&amp;rsquo;m using NexentaStor for more than just SAN storage for ESXi. I&amp;rsquo;m also using it for data storage via SMB/AFP/NFS/Crashplan, but that&amp;rsquo;s another post coming soon.&lt;/p&gt;
&lt;p&gt;When configuring storage for ESXi, You want as much performance as you can get. A good, cheap way to get performance with ZFS is using striped mirrors, or RAID10. This can be done on the NexentaStor Data Management panel. The end result should look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-51-07-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;One of the nice features I&amp;rsquo;d like to be able to test in this setup is deduplication, because VM&amp;rsquo;s dedupe very well. However, dedupe is very RAM hungry &amp;amp; this setup just doesn&amp;rsquo;t have the resources for it. Hopefully I&amp;rsquo;ll upgrade the server to 32GB RAM soon then maybe try out dedupe. There are still other nice features for hosting on ZFS datastores, such as snapshots.&lt;/p&gt;
&lt;p&gt;Now that we have the volume created, we need to put a ZFS filesystem on it &amp;amp; share it out to ESXi. NexentaStor calls ZFS filesystems &amp;ldquo;Folders&amp;rdquo;. I created a folder called &amp;ldquo;VMware&amp;rdquo; &amp;amp; shared it out via NFS:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-59-23-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;I haven&amp;rsquo;t done any tweaking in the ZFS properties. I also made the folder read/write to everyone/anonymous, but I&amp;rsquo;m only exporting it to the single ESXi host itself. If that doesn&amp;rsquo;t make sense, google &amp;ldquo;exporting NFS filesystems&amp;rdquo; for a primer.&lt;/p&gt;
&lt;p&gt;Now we need to get the exported storage visible to ESXi. To do this, we create a virtual switch in ESXi. In your ESXi host&amp;rsquo;s Configuration panel, click Networking, Add Networking. Then select these options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select VMKernel as the Connection Type&lt;/li&gt;
&lt;li&gt;select vSphere Standard Switch&lt;/li&gt;
&lt;li&gt;Give it a name, ignore VLAN tag.&lt;/li&gt;
&lt;li&gt;Choose a non-routable class IP; I went with 172.16.0.1/255.255.255.0 because I&amp;rsquo;m not using that class anywhere else on my other networks.&lt;/li&gt;
&lt;li&gt;Click Finish to create the switch.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-11-47-02-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;What this will do is allow direct TCP/IP communication between NexentaStor &amp;amp; ESXi itself. The cool thing is the switch is virtual, &amp;amp; is only limited by the hardware you&amp;rsquo;re running on. I&amp;rsquo;m not sure what limitations on virtualized switches are &amp;amp; how the correlate to what CPU/RAM is available for ESXi itself, but I haven&amp;rsquo;t noticed any performance issues at all &amp;amp; the endpoints are full 10Gbe, thanks to vmxnet3. :)&lt;/p&gt;
&lt;p&gt;So the last part is we need to create the NIC for NexentaStor that will use this virtual switch, so NexentaStor can provide the storage to ESXi via NFS. Make sure you connect the NIC to the virtual switch, whatever you named it. Mine is named &amp;ldquo;Private Network&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-11-46-08-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;Once that&amp;rsquo;s done, set a manual IP address via NexentaStor:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-11-49-00-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;The IP can be anything you want in the subnet range of the switch 172.16.0.2-255, I just chose 172.16.0.100 for no reason.&lt;/p&gt;
&lt;p&gt;Now, everything is configured as it should be from an operational standpoint. We can go to the ESXi host&amp;rsquo;s configuration panel &amp;amp; add the NFS storage:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Add Storage&lt;/li&gt;
&lt;li&gt;Network File System&lt;/li&gt;
&lt;li&gt;172.16.0.100 (IP for NexentaStor)&lt;/li&gt;
&lt;li&gt;Path of the NFS export (/volumes/&lt;pool&gt;/&lt;folder&gt;)&lt;/li&gt;
&lt;li&gt;Give it a name (ZFS NFS DataStore).&lt;/li&gt;
&lt;li&gt;Finish&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="/images/2013/07/screen-shot-2013-02-09-at-10-23-08-am.png" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;End product should look like that. I also have a separate ZFS filesystem for hosting ISO&amp;rsquo;s, just in case you were wondering. Now you can test this out by creating a new VM &amp;amp; putting it on the newly available datastore. Mine&amp;rsquo;s very fast, Win2k8R2 server takes 2 seconds to boot up. Latency spikes are 13ms at max, &amp;amp; averaging ~3ms. Not bad. :)&lt;/p&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;The last thing you might want to think about is making the NFS storage available right after ESXi boot. You don&amp;rsquo;t have to do this, but you&amp;rsquo;ll have to start NexentaStor manually each time ESXi is rebooted if you don&amp;rsquo;t before you can start the rest of the VM&amp;rsquo;s. I recommend doing it.&lt;/p&gt;
&lt;p&gt;To do this, again in the ESXi host&amp;rsquo;s Configuration panel, under Software, check out Virtual Machine Startup/Shutdown. You can set the NexentaStor VM to automatically start up after ESXi has booted. As far as the delays go, I leave mine as the default 30 seconds. The tricky part is if you want to auto-start VM&amp;rsquo;s that reside on the NFS datastore; getting that timing right can be a challenge. I don&amp;rsquo;t have any advice there; just trial &amp;amp; error.&lt;/p&gt;
&lt;h2 id="wrap-up"&gt;Wrap-up&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve been using this setup over a year &amp;amp; it has not caused me any problems (knock-on-wood). That said, I&amp;rsquo;m writing this post mostly from memory. I may have left a detail or two out of the setup, so if I did, please let me know in the comments. I&amp;rsquo;ve had as many as 10 VM&amp;rsquo;s running simultaneously with zero throughput problems, but that&amp;rsquo;s mainly b/c they have little to no load. This setup is great for trying stuff out. My hope would be one day having another
ESXi host &amp;amp; a vCenter license to do more fun things like vMotion. One can dream :)&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2012/10/09/bulk-deleting-zfs-snapshots/"><title>Bulk deleting ZFS snapshots</title><link href="https://churnd.net/2012/10/09/bulk-deleting-zfs-snapshots/"/><id>http://churnd.net/2012/10/09/bulk-deleting-zfs-snapshots</id><updated>2012-10-09T00:00:00-04:00</updated><content type="html">&lt;p&gt;First off, this post will help alleviate some of the guilt I&amp;rsquo;ve been having for neglecting my blog.  Second, I just wanted to write it down for my reference.  There&amp;rsquo;s probably a better way to do this but this worked for me.&lt;/p&gt;
&lt;p&gt;I use &lt;a title="NexentaStor" href="http://www.nexenta.com/corp" target="_blank" rel="homepage"&gt;NexentaStor&lt;/a&gt; at home for my &lt;a title="ZFS" href="http://en.wikipedia.org/wiki/ZFS" target="_blank" rel="wikipedia"&gt;ZFS&lt;/a&gt;/EXSi All-In-One.  I have a few NexentaStor auto-services set to do ZFS snapshots on each of the filesystems.  I take hourly snapshots kept for a day, daily snapshots that are kept for a week, and weekly snapshots that are kept for a month.  I&amp;rsquo;ve been having a problem with some of the snapshots not getting expired.  Since I&amp;rsquo;m using the community edition, I can&amp;rsquo;t really complain.  I should probably file a bug, but I know the team is busy working on v4.0, which will be awesome.  The admin GUI doesn&amp;rsquo;t have a way that I can see to remove them, so I delved into the command line.&lt;/p&gt;
&lt;p&gt;First, you need a list of all the snapshots on the system:&lt;/p&gt;
&lt;pre class="lang:default decode:true "&gt;# zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
syspool/rootfs-nmu-030@initial 937M - 1.47G
syspool/rootfs-nmu-030@nmu-024 204M - 1.90G
syspool/rootfs-nmu-030@nmu-025 183M - 1.98G
syspool/rootfs-nmu-030@nmu-026 217M - 2.00G
syspool/rootfs-nmu-030@nmu-027 421M - 2.01G
syspool/rootfs-nmu-030@nmu-028 218M - 2.02G
syspool/rootfs-nmu-030@nmu-029 337M - 2.14G
syspool/rootfs-nmu-030@nmu-030 398M - 2.10G
zpool10@snap-weekly-1-2012-09-08-030002 18K - 33K
zpool10@snap-weekly-1-2012-09-15-030003 0 - 33K
zpool10@snap-weekly-1-2012-09-22-030019 0 - 33K
zpool10@snap-weekly-1-2012-09-29-030010 0 - 33K
zpool10@snap-daily-1-2012-10-02-030003 0 - 33K
zpool10@snap-daily-1-2012-10-03-030008 0 - 33K
zpool10@snap-daily-1-2012-10-04-030006 0 - 33K
zpool10@snap-daily-1-2012-10-05-030025 0 - 33K
zpool10@snap-weekly-1-2012-10-06-030002&lt;/pre&gt;
&lt;p&gt;Now copy the names of the snapshots you want to remove &amp;amp; put them in a text file (mine was zfs_cleanup.txt) like this:&lt;/p&gt;
&lt;pre class="lang:default decode:true "&gt;zpool10@snap-weekly-1-2012-09-08-030002
zpool10@snap-weekly-1-2012-09-15-030003
zpool10@snap-weekly-1-2012-09-22-030019
zpool10@snap-weekly-1-2012-09-29-030010&lt;/pre&gt;
&lt;p&gt;Now you can run a short for loop against the file to remove the snapshots:&lt;/p&gt;
&lt;pre class="lang:default decode:true "&gt;#!/bin/bash
file="zfs_cleanup.txt"
while IFS= read -r line
do
# display $line or do somthing with $line
echo "Deleting snapshot $line"
zfs destroy $line
done &amp;lt;"$file"&lt;/pre&gt;
&lt;p&gt;If you just have a few snapshots to remove, that&amp;rsquo;s kinda overkill, but I had ~50. Saved me a bit of time. :)&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/10/13/secure-erase-ssd-on-os-x/"><title>Secure Erase SSD on OS X</title><link href="https://churnd.net/2011/10/13/secure-erase-ssd-on-os-x/"/><id>http://churnd.net/2011/10/13/secure-erase-ssd-on-os-x</id><updated>2011-10-13T00:00:00-04:00</updated><content type="html">&lt;p&gt;In preparation for Lion, I planned to do a fresh install &amp;amp; wanted to secure erase my &lt;a class="zem_slink" title="OCZ Technology" href="http://www.ocztechnology.com/" rel="homepage"&gt;OCZ&lt;/a&gt; Vertex 2 SSD to get it working as optimally as possible.  Nothing like a shiny new OS, ridden of all the cruft that builds up over the years.  The problem?  No easy way to secure erase an SSD in a &lt;a class="zem_slink" title="Macintosh" href="http://www.apple.com/mac/" rel="homepage"&gt;Mac&lt;/a&gt; that doesn’t involve using some Windows tool on one of a few compatible SATA controllers that your Mac probably doesn’t have.  It’s possible, but not very easy.  It requires using hdparm &amp;amp; a compatible Linux LiveCD.&lt;/p&gt;
&lt;p&gt;You can use *ANY* linux livecd you want, as long as it includes the appropriate graphics card drivers for your model Mac.  I tried several &amp;amp; wound up using &lt;a class="zem_slink" title="PCLinuxOS" href="http://www.pclinuxos.com/" rel="homepage"&gt;PCLinuxOS&lt;/a&gt;.  The reason you need the graphics drivers is because you need to be able to suspend the Mac to RAM &amp;amp; wake it back up reliably.  In my experience, this is only easily done if the graphics drivers are installed &amp;amp; I’m not aware of a way to “install” them in a LiveCD while it’s running.  If you can’t get the graphics driver loaded, none of this will work.&lt;/p&gt;
&lt;p&gt;I’m not going to repeat all of the instructions for doing the secure erase, as they’re very well documented in the &lt;a href="https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase" target="_blank"&gt;SSD ATA Secure Erase Wiki&lt;/a&gt;.  I will go over the process it took me to suspend &amp;amp; wake up my 2008 Macbook Pro, effectively “thawing” out the SSD from it’s frozen state that hdparm reports it to be in.&lt;/p&gt;
&lt;p&gt;This assumes you’ve burnt your LiveCD already &amp;amp; it is in your Mac’s optical drive.  Restart your Mac &amp;amp; hold down option to bring up the available boot items screen.  Wait a minute for the optical drive to spin up &amp;amp; you’ll see a disc come up humorously labeled “Windows”.  Hit enter &amp;amp; PCLinuxOS will start booting up.  This can take a while.  Once you’re up &amp;amp; running, you need to suspend to RAM (click Start, Suspend).  The suspend works great, thanks to the right graphics driver being loaded.  There’s a slight glitch resuming, though.  When you resume, the screensaver is going to ask you for a password &amp;amp; I don’t know what it is.  There are two ways to handle this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remember to set the password before suspending either using the GUI tool for managing user accounts or the command line tool “passwd”.  I never tried it because I kept forgetting to do it before suspending.&lt;/li&gt;
&lt;li&gt;Hit ctrl+alt+f5 to fall back to a root shell &amp;amp; kill the screensaver process (find it by ps -ax), then hit ctrl+alt+f7 to get back to the GUI.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once you’ve verified the drive is no longer frozen as the tutorial above states, you can then proceed to secure erase the drive.  I successfully did this on my 2009 model unibody Macbook Pro with NVIDIA GPU’s.  I suspect those with ATI *might* have more trouble due to the bad ATI driver support on Linux.&lt;/p&gt;
&lt;p&gt;I’ve also found &lt;a href="http://www.ocztechnologyforum.com/forum/showthread.php?81321-Secure-Erase-With-bootable-CD-USB-Linux..-Point-and-Click-Method" target="_blank"&gt;this tutorial&lt;/a&gt; after I used this method, which looks like it’s a lot easier, but I have not tried it.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/07/11/resizing-disks-in-os-x/"><title>Resizing Disks in OS X</title><link href="https://churnd.net/2011/07/11/resizing-disks-in-os-x/"/><id>http://churnd.net/2011/07/11/resizing-disks-in-os-x</id><updated>2011-07-11T00:00:00-04:00</updated><content type="html">&lt;p&gt;One of the lesser known features in OS X is the ability to resize your hard drive partition without losing data.  No special software or gimmicks are required; this is built right into the OS.  You can repartition your boot drive or any other drive your computer is using, such as external drives.  Multiple partitions can have a lot of good uses.  In my case, I have been beta testing &lt;a title="Mac OS X Lion" href="http://www.apple.com/macosx/lion" rel="homepage"&gt;OS X Lion&lt;/a&gt;, &amp;amp; I didn&amp;rsquo;t want to use an entire disk or lose the ability to boot to Snow Leopard as my primary OS, so I resized one of the extra disks in my &lt;a title="Mac Pro" href="http://www.apple.com/macpro/" rel="homepage"&gt;Mac Pro&lt;/a&gt; to add a 100GB partition &amp;amp; installed Lion to that.  When I&amp;rsquo;m done with my testing, I can boot back to my primary Snow Leopard OS, fire up &lt;a title="Disk Utility" href="http://en.wikipedia.org/wiki/Disk_Utility" rel="wikipedia"&gt;Disk Utility&lt;/a&gt;, delete the partition I created for Lion, then resize the disk back to normal.  Pretty cool, huh?  Here&amp;rsquo;s how to do it.&lt;/p&gt;
&lt;p&gt;First off, open up Disk Utility, which is in Applications, Utilities.  Before we do anything, we want to check the disk&amp;rsquo;s filesystem consistency to make sure it&amp;rsquo;s clean.  Select the actual disk or the volume on the disk &amp;amp; click &amp;ldquo;Verify Disk&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a class="thickbox" href="/images/2011/07/diskutil1.png"&gt;&lt;img class="aligncenter size-medium wp-image-892" title="diskutil1" src="/images/2011/07/diskutil1.png?w=300" alt="" width="300" height="262" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If it comes back clean, you&amp;rsquo;re good to go.  If not, try &amp;ldquo;Repair Disk&amp;rdquo; &amp;amp; repeat until it comes back clean.  If it takes more than a few times, something else might be awry &amp;amp; I recommend you get the disk checked out.&lt;/p&gt;
&lt;p&gt;Once we know our disk&amp;rsquo;s filesystem is clean, we can now resize the partition however we want.  Make sure you have the right disk selected &amp;amp; click on the &amp;ldquo;Partition&amp;rdquo; tab:&lt;/p&gt;
&lt;p&gt;&lt;a class="thickbox" href="/images/2011/07/diskutil21.png"&gt;&lt;img class="aligncenter size-medium wp-image-897" title="diskutil2" src="/images/2011/07/diskutil21.png?w=300" alt="" width="300" height="262" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can see this disk does only have one partition that encompasses the entire disk, and it does have some data on it (indicated by the blue shadowed area).  What usually escapes most people&amp;rsquo;s attention is the little arrow at the bottom right of the disk space indicator.  You can drag this to resize the volume as you please, but of course, you can&amp;rsquo;t make it smaller than the amount of data that&amp;rsquo;s on it.  You also want to leave some breathing room on the disk, as filesystems need breathing room to perform optimally.  So, knowing that, we can drag the arrow to resize the partition how we want:&lt;/p&gt;
&lt;p&gt;&lt;a class="thickbox" href="/images/2011/07/diskutil31.png"&gt;&lt;img class="aligncenter size-medium wp-image-896" title="diskutil3" src="/images/2011/07/diskutil31.png?w=300" alt="" width="300" height="262" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once we&amp;rsquo;ve done that, you can now add additional partitions:&lt;/p&gt;
&lt;p&gt;&lt;a class="thickbox" href="/images/2011/07/diskutil41.png"&gt;&lt;img class="aligncenter size-medium wp-image-898" title="diskutil4" src="/images/2011/07/diskutil41.png?w=300" alt="" width="300" height="260" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to add more, just resize the second and add a third.  Once you&amp;rsquo;re happy with how it&amp;rsquo;s set up, make sure there are no files or processes accessing the disk &amp;amp; click Apply.  Disk Utility will unmount the disk &amp;amp; work it&amp;rsquo;s magic &amp;amp; the new volumes will re-appear shortly after.&lt;/p&gt;
&lt;p&gt;While I have never lost data from this process, you should always &lt;strong&gt;make sure you have a viable backup&lt;/strong&gt; before doing anything like this to your disk.  It&amp;rsquo;s also worth noting that you cannot resize a regular &lt;a title="Hierarchical File System" href="http://en.wikipedia.org/wiki/Hierarchical_File_System" rel="wikipedia"&gt;HFS&lt;/a&gt; filesystem, it must be HFS+.  However, HFS+ has been the default OS X filesystem since 10.4 (Tiger), so chances are you&amp;rsquo;re using it.&lt;/p&gt;
&lt;p&gt;See?  Easy.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/06/27/zfsesxi-all-in-one-part-1/"><title>ZFS/ESXi All-In-One, Part 1</title><link href="https://churnd.net/2011/06/27/zfsesxi-all-in-one-part-1/"/><id>http://churnd.net/2011/06/27/zfsesxi-all-in-one-part-1</id><updated>2011-06-27T00:00:00-04:00</updated><content type="html">&lt;h3 id="beginnings"&gt;Beginnings&lt;/h3&gt;
&lt;p&gt;Any IT admin worth his/her salt knows that virtualization is the big thing in IT right now &amp;amp; has been for a few years at least. It allows you to do things you wouldn&amp;rsquo;t be able to do on bare metal servers, such as move a server OS from one server to another while it is running (called &lt;a href="http://www.vmware.com/products/vsphere/features-vmotion" title="VMware vMotion: Virtual Machine Live Migration | United States"&gt;vMotion&lt;/a&gt;). Love them or hate them, VMware is the king of virtualization in the datacenter. Luckily for guys like me (broke), they make a bare-metal hypervisor called &lt;a href="http://www.vmware.com/products/vsphere/" title="Server Virtualization &amp;amp; Cloud Infrastructure: VMware vSphere | United States"&gt;VMware vSphere&lt;/a&gt; (formerly &lt;a href="http://www.vmware.com/products/esxi/"&gt;ESXi&lt;/a&gt;) available to use for free.&lt;/p&gt;
&lt;p&gt;A hypervisor is basically software that provides hardware emulation. Some of you may have experience running VMware Fusion (OS X), Workstation, Server, or Player (Windows). These are called type 2 hypervisors, meaning they run a hypervisor on top of an operating system. This is a great way to get started with virtual machines or just to get those few Windows programs running on your Mac, but it is not by any means an efficient way to run a virtual machine. That&amp;rsquo;s where bare metal hypervisors, or Type 1 hypervisors, come in. They&amp;rsquo;re the only &amp;ldquo;physical&amp;rdquo; OS installed on that computer/workstation/server, and they have very little overhead on the actual hardware itself. That means more direct resources available for &amp;ldquo;guest&amp;rdquo; VM&amp;rsquo;s, so performance will be better.&lt;/p&gt;
&lt;p&gt;After about 3 years of trying to patch together decent ESXi/NAS/SAN systems for testing/development purposes, I finally broke down &amp;amp; asked my boss to build a workstation. When it was approved (imagine my shock), I immediately started looking for options available. Some invaluable resources for doing research on this kind of expenditure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.vm-help.com/esx40i/esx40_whitebox_HCL.php" title="ESX / ESXi 4.0 Whitebox HCL"&gt;VMware Whitebox HCL&lt;/a&gt;: a pretty good parts list of hardware known to work with VMware vSphere (ESXi).&lt;/li&gt;
&lt;li&gt;&lt;a href="http://hardforum.com" title="[H]ard|Forum - Powered by vBulletin"&gt;[Hard]Forum&lt;/a&gt;: specifically the &lt;a href="http://hardforum.com/forumdisplay.php?f=29" title="SSDs &amp;amp; Data Storage - [H]ard|Forum"&gt;Data Storage Systems&lt;/a&gt; &amp;amp; &lt;a href="http://hardforum.com/forumdisplay.php?f=122" title="Virtualized Computing - [H]ard|Forum"&gt;Virtualized Computing&lt;/a&gt; forums. Lots of guys there have setups at home that rival some datacenters.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.servethehome.com/" title="STH - Server and Workstation Reviews |STH – Server and Workstation Reviews"&gt;ServeTheHome&lt;/a&gt;: good articles &amp;amp; reviews on hardware for whitebox home server builds.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.napp-it.org/index_en.html" title="napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana, Solaris and Linux downloads"&gt;NappIT&lt;/a&gt;: the guy that runs this project came up with the idea for the &lt;a href="http://www.napp-it.org/napp-it/all-in-one/index_en.html" title="napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana, Solaris and Linux downloads"&gt;ZFS/ESXi all-in-one&lt;/a&gt; (as far as I can tell). He&amp;rsquo;s very active on Hardforum &amp;amp; ServeTheHome forum, usually with the handle _Gea, &amp;amp; very helpful.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://communities.vmware.com/index.jspa"&gt;VMware Communities&lt;/a&gt;: I didn&amp;rsquo;t spend too much time here, but still a good resource to have.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="design"&gt;Design&lt;/h3&gt;
&lt;p&gt;During my research, my primary decision was trying to figure out if I wanted to buy off the shelf or build my own. Of course, being the geek I am, I gravitated more towards building my own, but I couldn&amp;rsquo;t ignore all the forum posts of people who bought hardware that didn&amp;rsquo;t work due to some minor incompatibility. I definitely didn&amp;rsquo;t want that (especially since it&amp;rsquo;s so hard to return things where I work), but I also couldn&amp;rsquo;t ignore that by building one, I&amp;rsquo;d get a lot more for my $$. I decided to build, &amp;amp; quickly came up with a list of must-have features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Intel Xeon processor with Intel VT : for the virtualization goodness.&lt;/li&gt;
&lt;li&gt;Motherboard with the following capabilities:&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface" title="Intelligent Platform Management Interface - Wikipedia, the free encyclopedia"&gt;IPMI&lt;/a&gt;: provides remote console &amp;amp; power capabilities. A must for a headless workstation/server.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/X86_virtualization" title="x86 virtualization - Wikipedia, the free encyclopedia"&gt;VT-d&lt;/a&gt;: provides capability to dedicate an expansion card to a virtual machine, such as a SAS HBA (a must for this setup).&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Only has to support 1 physical CPU (ESXi license only allows one physical CPU).&lt;/li&gt;
&lt;li&gt;At least 16GB RAM&lt;/li&gt;
&lt;li&gt;A SAS/SATA &lt;a href="http://en.wikipedia.org/wiki/Non-RAID_drive_architectures" title="Non-RAID drive architectures - Wikipedia, the free encyclopedia"&gt;JBOD&lt;/a&gt; HBA : no need for an expensive RAID card with ZFS, just a plain JBOD card will do &amp;amp; is actually preferred to cards that do have RAID capabilities.&lt;/li&gt;
&lt;li&gt;Plenty of network interfaces : something you can never have too much of in virtualization.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="the-build"&gt;The Build&lt;/h3&gt;
&lt;p&gt;So I knew what I wanted, now I had to do a lot of research. I had to make sure the parts I picked would work with ESXi &amp;amp; some Solaris distribution that would provide the storage for ESXi. I also had to keep this all just under budget. Keep in mind this will all be within one physical computer. :) I will say that building a list is the worst part. You antagonize over the little details, then you tweak the config endlessly trying to squeeze every last bit of power out of your budget. Several times I was tempted to just buy a system known to work &amp;amp; settle for less, but I soldiered on. I&amp;rsquo;m glad I did, because I know I got more for my $$. Without further ado, here&amp;rsquo;s my parts list:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1 - SUPERMICRO CSE-743TQ-865B-SQ Black Pedestal Server Case&lt;/li&gt;
&lt;li&gt;1 - SUPERMICRO MBD-X9SCA-F-O LGA 1155 Intel C204 ATX Intel Xeon E3 Server Motherboard&lt;/li&gt;
&lt;li&gt;1 - SUPERMICRO AOC-UG-i4 10/ 100/ 1000Mbps PCI-Express x8 Universal I/O (UIO) Network Adapter&lt;/li&gt;
&lt;li&gt;1 - SUPERMICRO AOC-USAS2-L8e SAS/SATA Controller Card&lt;/li&gt;
&lt;li&gt;1 - Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230&lt;/li&gt;
&lt;li&gt;4 - Kingston ValueRAM 4GB 240-Pin DDR3 SDRAM DDR3 1333 ECC Unbuffered Server Memory Model KVR1333D3E9S/4G&lt;/li&gt;
&lt;li&gt;4 - Seagate Barracuda Green ST2000DL003 2TB 5900 RPM SATA 6.0Gb/s 3.5&amp;quot; Internal Hard Drive -Bare Drive&lt;/li&gt;
&lt;li&gt;4 - Seagate Barracuda ST3500413AS 500GB 7200 RPM SATA 6.0Gb/s 3.5&amp;quot; Internal Hard Drive -Bare Drive&lt;/li&gt;
&lt;li&gt;4 - Kingston SSDNow V Series SNV125-S2/30GB 2.5&amp;quot; 30GB SATA II Internal Solid State Drive (SSD)&lt;/li&gt;
&lt;li&gt;1 - SONY Black 18X DVD-ROM 48X CD-ROM SATA DVD-ROM Drive Model DDU1681S-0B : OEM&lt;/li&gt;
&lt;li&gt;1 - iStarUSA BPU-124V2-SS 1 x 5.25&amp;quot; to 4 x 2.5&amp;quot; SATA/SAS Hot-Swap Backplane RAID Cage : OEM&lt;/li&gt;
&lt;li&gt;2 - 3ware CBL-SFF8087OCF-05M 1 unit of 0.5m Multi-lane Internal (SFF-8087) Serial ATA breakout cable&lt;/li&gt;
&lt;li&gt;1 - CyberPower CP1500AVRLCD 1500VA 900W UPS&lt;/li&gt;
&lt;li&gt;1 - NETGEAR ProSafe GS108T-200NAS 10/100/1000Mbps Gigabit Smart Switch&lt;/li&gt;
&lt;li&gt;Assorted patch cables.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can see I went with a lot of Supermicro brand hardware. This is an easy way to reduce the risk that your components won&amp;rsquo;t be compatible, because most of Supermicro&amp;rsquo;s stuff is based on Intel brand hardware, &amp;amp; that&amp;rsquo;s almost always a sure thing when it comes to VMware compatibility. That said, you should still double check. I&amp;rsquo;m happy to say my research paid off; all of this hardware is working as it should. Here&amp;rsquo;s a shot of everything put togther:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011/06/photo1.jpg" alt="" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;Like I said, everything works, at least from a software perspective. If you look closer at the list, there is one major &amp;ldquo;gotcha&amp;rdquo;: the PCI cards are Supermicro&amp;rsquo;s UIO type card, which is a specific layout designed to work only in some of Supermicro&amp;rsquo;s rackmount server chassis. These cards are &amp;ldquo;flipped upside down&amp;rdquo;, to where the mounting bracket doesn&amp;rsquo;t line up height-wise with where the PCI slots are on the motherboard. The PCI-E x8 bus itself is exactly the same, so the card does work if you ignore the mounting problem. There&amp;rsquo;s really no way to make the card fit into an incompatible case without making some modifications to either the card, the case, or both. Considering a comparable Intel 4 port Network card was $350 more, I bought the Supermicro card with the plan to modify where needed.&lt;/p&gt;
&lt;p&gt;The modifications I needed to make were not nearly as bad as I thought. I was even willing to jury rig the cards in place using duct tape. This method is a lot more stable, although it does require drilling &amp;amp; cutting. To get the UIO cards to fit in a standard case, I had to make the following modifications to the card bracket &amp;amp; case itself:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cut two of the cross braces off of the case using metal shears. Don&amp;rsquo;t use a saw because it&amp;rsquo;ll create a lot of fine metal particles &amp;amp; you don&amp;rsquo;t want those in your case. Most case material is soft enough to cut through with a decent pair of shears. (Yellow bar in below picture).&lt;/li&gt;
&lt;li&gt;Take off the mounting bracket from both cards, which is easily done by unscrewing two screws. Drill a hole the same size &amp;amp; location of the regular mounting hole (Red oval in second picture). Clip off the tapered end of the bracket (Yellow rectangle in third picture).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="/images/2011/06/photo2.jpg" alt="Custom Inside" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011/06/photo3.jpg" alt="Modified Bracket" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a picture of behind the case with both cards installed:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011/06/photo4.jpg" alt="Case Modifications - Rear" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;While it&amp;rsquo;s not quite as much support as a regular bracket would give due to clipping the tapered end off of the bracket, it&amp;rsquo;s still good enough in my opinion. As long as you don&amp;rsquo;t put any unnecessary strain on the card (don&amp;rsquo;t pull on the network cables), it should be fine. Needless to say, doing this voids some of your warranties, so make sure it&amp;rsquo;s worth it to you. This is a development/testing workstation for me, so the added benefit from a technological perspective outweighs the &amp;ldquo;build it right&amp;rdquo; factor. In a production system, I would never do this. I also wanted to add that if I ever do need to put a standard PCI-e card in either one of these slots, it will still fit.&lt;/p&gt;
&lt;p&gt;The Supermicro parts are top notch, I would definitely recommend them. You&amp;rsquo;ll pay a little more up front, but you get a lot more in return.&lt;/p&gt;
&lt;p&gt;Another big plus was I didn&amp;rsquo;t have any DOA parts; that was something I was slightly fearing from ordering everything a-la-carte. Apparently that does happen to some people. I&amp;rsquo;ve never had it happen to me (knock on wood).&lt;/p&gt;
&lt;h3 id="wrap-up"&gt;Wrap-up&lt;/h3&gt;
&lt;p&gt;So that covers the parts, build, &amp;amp; case modifications. I got all of this for under $3k, which is not bad considering I now have both a hypervisor &amp;amp; filer to play&amp;hellip; er, test with. You could probably do it cheaper if you cut out the SSD&amp;rsquo;s &amp;amp; substituted the Supermicro case for something smaller. I was eyeing a Fractal Design case, but decided to pay a little more for the better PSU and hot-swap drive bays in the Supermicro case.&lt;/p&gt;
&lt;p&gt;The next blog post, I&amp;rsquo;ll cover how I configured VMware vSphere 4.1 &amp;amp; NexentaStor 3.0.5 to actually provide the ZFS NFS datastore for ESXi&amp;rsquo;s VM&amp;rsquo;s. Most of it is already on the &lt;a href="http://www.napp-it.org/napp-it/all-in-one/index_en.html" title="napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana, Solaris and Linux downloads"&gt;Napp-IT&lt;/a&gt; page as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="/2013/02/09/zfsesxi-all-in-one-part-2/" title="ZFS/ESXI All-In-One, Part 2"&gt;Part 2 is finally up&lt;/a&gt;.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/06/16/whats-in-a-cloud/"><title>What’s in a Cloud?</title><link href="https://churnd.net/2011/06/16/whats-in-a-cloud/"/><id>http://churnd.net/2011/06/16/whats-in-a-cloud</id><updated>2011-06-16T00:00:00-04:00</updated><content type="html">&lt;p&gt;The hot topic in the technology world right now is &lt;a class="zem_slink" title="Cloud computing" href="http://en.wikipedia.org/wiki/Cloud_computing" rel="wikipedia"&gt;cloud computing&lt;/a&gt;.  Everybody’s talking about it, using it, monetizing on it.  It’s true meaning depends on who you talk to.  I won’t factor in enterprise cloud deployments, because that’s usually whatever they make of it.  Just look at all the different cloud-related products &lt;a class="zem_slink" title="VMware" href="http://www.vmware.com/" rel="homepage"&gt;VMware&lt;/a&gt; &amp;amp; &lt;a class="zem_slink" title="Citrix Systems" href="http://www.citrix.com" rel="homepage"&gt;Citrix&lt;/a&gt; offers.  Instead, I’ll focus on two main players, &lt;a class="zem_slink" title="Apple" href="http://www.apple.com" rel="homepage"&gt;Apple&lt;/a&gt; &amp;amp; &lt;a class="zem_slink" title="Google" href="http://google.com" rel="homepage"&gt;Google.&lt;/a&gt;  Yeah, there’s Amazon &amp;amp; &lt;a class="zem_slink" title="Microsoft" href="http://www.microsoft.com" rel="homepage"&gt;Microsoft&lt;/a&gt;, &amp;amp; they do offer pretty good services, but does anyone really use them?  More on that later.&lt;/p&gt;
&lt;p&gt;Google considers their cloud to be entirely hosted via web browser based technologies.  The Chrome Netbook is basically a glorified full-screen Chrome browser built on top of a very lightweight Linux system.  You can’t do much with it if you don’t have a network connection.  All of your data is stored on Google’s servers, not the device you’re using.  While this does have some convenience (you shouldn’t have to worry about data loss), your data is not really in your control.  If Google’s servers go down, you can’t get your data.  Granted, that does not happen often.  I do seem to remember reading about a few Google accounts being accidentally disabled/deleted a while back.  Things like this that involves not having the data in your control will always sit in the back of your head, while you conjure up all those “what-if” scenarios.&lt;/p&gt;
&lt;p&gt;Apple’s version of the cloud is better.  I might be biased, but I don’t think I am.  If I am, I’m still right.  &lt;a class="zem_slink" title="Icloud" href="http://icloud.com/" rel="homepage"&gt;iCloud&lt;/a&gt; revolves around sync.  I’d like to take a moment to point out that I &lt;a title="Google's Cloud" href="/2008/09/05/googles-cloud/" target="_blank"&gt;saw that coming&lt;/a&gt;.  :)  There’s a reason why &lt;a class="zem_slink" title="Dropbox" href="http://www.dropbox.com" rel="homepage"&gt;Dropbox&lt;/a&gt; is so successful:  because they do sync right.  If people have 3 computers, they can have their data on all 3, all the time, always synced up.  Apple apparently saw the response to Dropbox &amp;amp; designed iCloud around that idea.  People don’t want all their data on &lt;em&gt;just&lt;/em&gt; the cloud or &lt;em&gt;just&lt;/em&gt; this computer or* just* that computer*.  *They want it on &lt;strong&gt;ALL&lt;/strong&gt; of their devices, &lt;strong&gt;ALL&lt;/strong&gt; the time.  And why not?  Storage is cheap &amp;amp; getting cheaper; networks are getting faster.  It’s becoming feasible to actually have your data everywhere, whereas in the past it was not.&lt;/p&gt;
&lt;p&gt;Google’s cloud seems to be based around a limitation that is quickly fading.  The requirement for having your data in one central location &amp;amp; using devices to view that data at that location is built around the idea that storage is limited, networks are limited, and sync is too complex to figure out.  I guess if you think about it, sync probably is too complex for others to figure out… too many devices on too many platforms &amp;amp; they all want to work their own way.  While a lot of people criticize Apple for being too controlling or limited, having that kind of ecosystem enables them to design a cloud like this, because they can predict how these devices will interact with one another a lot more… well… predictably.&lt;/p&gt;
&lt;p&gt;Another point that’s probably more particular to me, but I think is a good one to make anyway, is security.  I gave up on trying to remember a handful of complex passwords for websites &amp;amp; services I use about a year ago.  I made the jump to using &lt;a href="http://agilebits.com/products/1Password" target="_blank"&gt;1Password&lt;/a&gt; &amp;amp; haven’t looked back.  I have a extremely complex &amp;amp; random password for each site I visit, and each one is unique.  I have no idea what any of my passwords are, and I’m fine with that.  1Password stores them for me.  I can’t use any of my services without it, and I’m a lot safer for it.  So because of this, Google’s idea of of having access to all of my services on &lt;strong&gt;any&lt;/strong&gt; device doesn’t appeal to me.  I honestly think it shouldn’t appeal to anyone.  I have access to all of my services on &lt;strong&gt;my&lt;/strong&gt; devices, and that’s it.  If I don’t have one of my devices on me, it’s probably for a reason &amp;amp; I wouldn’t need to check those things anyway.  It’s definitely a minor sacrifice I’m willing to make to be that much safer.  Even with this rash of site hacking, I’m not worried at all.  If one of the sites happens to be one I use, I just generate a new, random, really long &amp;amp; complex password for the site &amp;amp; all of my devices get updated with it.  Problem solved.  I couldn’t do this on some random device I’ve never touched before.&lt;/p&gt;
&lt;p&gt;So what about Amazon and Microsoft’s offerings?  The Amazon problem is complicated.  I don’t quite understand it very well from a consumer standpoint.  I think their problem is lack of hardware integration, and their cloud offerings are attractive price wise, but limited and missing some features.  Microsoft simply lacks innovation.  They’ll copy other ideas a year or so after someone else has done it.  Problem is, by then, people are already using that other service &amp;amp; have no desire to switch over.  All users really want from Microsoft is Windows &amp;amp; Office.&lt;/p&gt;
&lt;p&gt;Google’s cloud doesn’t work for me, nor does it appeal to me.  Web apps have come a long way, but they’ll always be second to native apps.  By focusing on sync, Apple’s found a winner with iCloud.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;*EDIT*&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The timing is uncanny:  &lt;a href="http://www.nytimes.com/2011/06/16/technology/personaltech/16pogue.html" target="_blank"&gt;&lt;a href="http://www.nytimes.com/2011/06/16/technology/personaltech/16pogue.html"&gt;http://www.nytimes.com/2011/06/16/technology/personaltech/16pogue.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/05/17/home-wifi-camera/"><title>Home WiFi Camera</title><link href="https://churnd.net/2011/05/17/home-wifi-camera/"/><id>http://churnd.net/2011/05/17/home-wifi-camera</id><updated>2011-05-17T00:00:00-04:00</updated><content type="html">&lt;p&gt;My wife &amp;amp; I have been looking for a way to peek into our 1.5 year old toddler&amp;rsquo;s room at night without waking him up. Opening the door just wasn&amp;rsquo;t doing it, as it always wakes him up. So, we started looking into baby monitors that had video capabilities. Anything decent in this category wound up in the $200 range or above. So the geek in me started looking into alternatives. We each have our own laptops &amp;amp; iPhones so I figured it&amp;rsquo;d be ideal to find something that lets us use both, or at least something more flexible than a proprietary system. So, I started looking into IP security cameras for the home. Most of these are pretty expensive too, but I did find one company called Foscam that made &lt;a href="http://en.wikipedia.org/wiki/IP_camera" title="IP camera - Wikipedia, the free encyclopedia"&gt;IP cameras&lt;/a&gt; in the $100 range, &amp;amp; they seemed to be well featured despite the cost. They also had good ratings on Amazon.com, so we bought a &lt;a href="http://www.amazon.com/Foscam-FI8918W-Wireless-Camera-Viewing/dp/B00466X9SY" title="Amazon.com: Foscam FI8918W Wireless/Wired Pan &amp;amp; Tilt IP/Network Camera with 8 Meter Night Vision and 3.6mm Lens (67 Viewing Angle): Camera &amp;amp; Photo"&gt;Foscam FI8918W&lt;/a&gt; to try it out; if it didn&amp;rsquo;t work out, we&amp;rsquo;d just send it back. From the user contributed photos on the product page, it looks like I&amp;rsquo;m not the first one to have thought of this idea.&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011/05/foscam_fi8918w.jpeg" alt="Foscam FI8918W" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;The camera arrived yesterday &amp;amp; I spent about 2 hours setting it up. More on why it took so long later. I was immediately impressed with the ease of setup, but of course I did it my own way rather than following the instructions. I knew it&amp;rsquo;d have a web based management interface, so I powered it on &amp;amp; plugged it into a wired ethernet connection, then checked my router&amp;rsquo;s interface to see which new IP address showed up on the network. I think the camera comes with software that installs a &amp;ldquo;camera finder&amp;rdquo; type of IP scanner on your PC, and I know that would be useful to the non-technical crowd.&lt;/p&gt;
&lt;p&gt;Foscam is a company based out of China, so like with most things &amp;ldquo;Made in China&amp;rdquo; (it seems), there was a certain feel of cheapness to it, both with the physical construction &amp;amp; the web based management interface. The plastic of the camera is the kind you&amp;rsquo;d expect to see on a cheap child&amp;rsquo;s toy; it doesn&amp;rsquo;t feel durable at all. I bet it wouldn&amp;rsquo;t survive a 2ft fall onto a hard floor. Considering I have it on a 4 ft dresser, if my son takes interest &amp;amp; decides to pull it down to play with, I think we&amp;rsquo;re out of a camera. Now, if you&amp;rsquo;re thinking &amp;ldquo;Wait a minute, how&amp;rsquo;s a 1.5 year old toddler going to reach up on a 4ft dresser?&amp;rdquo;; he&amp;rsquo;s already learned he can stand on something sturdy to reach higher. :) I&amp;rsquo;m so proud! The web interface itself is definitely not the best I&amp;rsquo;ve seen, but it gets the job done. You can view the camera feed directly from your browser:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/2011/05/screen-shot-2011-05-17-at-6-43-48-am.png" alt="Camera Feed" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;What I like best about the browser feed is it doesn&amp;rsquo;t seem to require Java or Flash. I did a quick look at the source &amp;amp; it&amp;rsquo;s calling some CGI script, &amp;amp; I&amp;rsquo;m not sure exactly what the CGI script is doing yet, but it works reliably so far.&lt;/p&gt;
&lt;p&gt;The Foscam cameras are apparently easy to write apps for, because there are several apps for the iPhone/iPad available. A quick search on the Android Marketplace shows quite a few there too. My philosophy when looking for apps is if there&amp;rsquo;s more than one, try the free one first until you want a feature only available in one for sale. So, I downloaded &lt;a href="http://itunes.apple.com/us/app/camviewer-for-foscam-webcams/id416551665?mt=8"&gt;CamViewer for Foscam Webcams&lt;/a&gt;, which is free. It has both portrait &amp;amp; landscape modes to view the camera feed. It&amp;rsquo;s a nice app for something that&amp;rsquo;s free. It can control the direction the camera points &amp;amp; has basic controls for adjusting the picture. Nothing fancy, it just shows you the feed, controls the camera, &amp;amp; it works well.&lt;/p&gt;
&lt;p&gt;The only downside about this camera is that I had to lower the complexity of my WPA2 AES wireless key in order for the camera to be able to join the network. A direct quote from the User Guide FAQ section:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Normally, camera can’t connect wireless mainly because of wrong settings.&lt;/p&gt;
&lt;p&gt;Make sure broadcast your SSID; use the same encryption for router and camera. Share key should not contain special characters, only word and number will be better. Don’t enable MAC address filter.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Previously, my key contained plenty of special characters, as that&amp;rsquo;s more secure. As to whether or not the security matched the application, I&amp;rsquo;ll admit my previous key was overkill, but I&amp;rsquo;m sure most security professionals would say there&amp;rsquo;s no such thing as overkill. That said, I&amp;rsquo;m sure I could have found a different camera that was more expensive, but I was willing to sacrifice a little security to save money. Plus, I couldn&amp;rsquo;t really find any other camera that offered all the features as this one did, specifically iPhone/iPad support. I&amp;rsquo;m sure there are others, but they are most likely out of my price range. So, even though my key is a little less secure now, I doubt I&amp;rsquo;ll have any intruders anytime soon. Since I run DD-WRT, I might look into seeing if I can get a notification when a &amp;ldquo;new&amp;rdquo; wireless device pops up on my network. Anyway, the key is the reason why it took me 2 hours. If it hadn&amp;rsquo;t been for that, it would have taken ~30 mins I&amp;rsquo;m sure.&lt;/p&gt;
&lt;p&gt;There are other features built into the camera I haven&amp;rsquo;t explored yet, such as motion detection. I think if the motion detector is triggered, you can set it up to where it sends a series of screen captures to email or an FTP server if you have one set up. If you were setting one up to monitor the house, that&amp;rsquo;d be a nice feature to have. You also have the capability of setting up a dynamic DNS service, so if you open the necessary ports in your router&amp;rsquo;s firewall, you could connect from anywhere. I probably won&amp;rsquo;t do that because I don&amp;rsquo;t want the possibility of some stranger looking in.&lt;/p&gt;
&lt;p&gt;I wouldn&amp;rsquo;t say this could be an all-in-one baby monitoring solution. For example, there&amp;rsquo;s no notification or audio alert if something is happening. The iPhone app I&amp;rsquo;m using doesn&amp;rsquo;t transmit audio. However, we already have an existing monitor in place that provides audio/vibration alerts so this is meant to compliment that. If we were starting from scratch, I&amp;rsquo;m not sure if we would have made different choices or not, as in whether or not we would have bought an all-in-one solution or something separate. Now that I think about it, I think it&amp;rsquo;d be more useful to have a separate smaller audio/vibration monitor for when you just need a notification rather than having to carry a video screen around with you all the time. So in a lot of ways, this setup is ideal for the flexibility it provides.&lt;/p&gt;
&lt;p&gt;Overall, I&amp;rsquo;m happy with the purchase. For $100, I have an IP camera that I can access from any computer or iPhone/iPad in my house. That&amp;rsquo;s a good deal if you ask me.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/05/15/the-value-of-a-ups/"><title>The value of a UPS</title><link href="https://churnd.net/2011/05/15/the-value-of-a-ups/"/><id>http://churnd.net/2011/05/15/the-value-of-a-ups</id><updated>2011-05-15T00:00:00-04:00</updated><content type="html">&lt;p&gt;I recently bought a new UPS for my home Mac Pro.  I also have a small UPS hooked up to my primary router &amp;amp; cable modem so I’ll still have connectivity during a power outage.  Fortunately, I don’t live in an area where we have frequent power outages.  What few people realize is that power outages are only part of the reason to invest in a UPS.&lt;/p&gt;
&lt;p&gt;Don’t get me wrong, power outages can be very harmful to your computer, especially the hard drives.  A computer *needs* to go through the proper shutdown sequence in order to prevent harming the computer components &amp;amp; to preserve your hard drive’s integrity.  I know some people who get impatient &amp;amp; just hold the power button down to force a power-off.  This is awful practice, is no different than a power outage, &amp;amp; should only be used as a last resort.  And yes, I’ve told many people that.  So a UPS obviously provides the benefit of keeping a computer powered on for a limited time if the power goes out.  If the battery reserve of the UPS runs too low before the power comes back on, the UPS can tell the computer to power itself off cleanly to prevent a hard shutdown.&lt;/p&gt;
&lt;p&gt;Another benefit of a UPS is that most common UPS’s can help “clean” the power as it comes to your computer through a feature called Automatic Voltage Regulation (AVR).  What this does is helps correct minor fluctuations in the power feed coming to your computer, such as over-voltages or brownouts.  If you’re not sure of the power quality in your home, or if you think it may be less than ideal, get a UPS with AVR.  It’s a small additional cost to protect your equipment.&lt;/p&gt;
&lt;p&gt;UPS systems these days are a lot more affordable than they were 10 years ago.  I remember looking &amp;amp; seeing them in the $500 range.  The one I recently bought for my Mac Pro workstation cost me $150 from Newegg.com.  I bought a &lt;a href="http://www.cyberpowersystems.com/products/ups-systems/intelligent-lcd-ups/CP1285AVRLCD.html" target="_blank"&gt;Cyberpower CP1285AVRLCD&lt;/a&gt; that provides 750W of total battery power.  That’s overkill for my setup, but I wanted to leave room for more appliances should I decide to plug them in later.  The UPS I have powering my router &amp;amp; cable modem is an &lt;a href="http://www.apc.com/resource/include/techspec_index.cfm?base_sku=bk350ei" target="_blank"&gt;APC Back-UPS CS 350&lt;/a&gt;, which is an older model that was given to me.  It doesn’t have any of the latest features such as AVR, but it will keep my router &amp;amp; cable modem running easily for an hour on battery power.&lt;/p&gt;
&lt;p&gt;Another common problem most users face when trying to choose a UPS is “How do I know how much power I need??”.  This can be a daunting task for anyone who isn’t familiar with how much power their computer &amp;amp; peripherals use.  APC has a good &lt;a href="http://www.apc.com/tools/ups_selector/index.cfm" target="_blank"&gt;UPS calculator&lt;/a&gt; that can show you approximately how much power your system draws by picking which components you have.&lt;/p&gt;
&lt;p&gt;However, I don’t recommend buying APC.  In this blogger’s opinion, they’re overpriced.  For a long time, they were the top name in UPS &amp;amp; power protection for anything electronic &amp;amp; over time they became a bit monopolistic in their pricing structure when compared to the features offered.  Thankfully, CyberPower is the new up &amp;amp; coming player in that game &amp;amp; is earning a lot of respect in the IT community.  You can get much more UPS for your dollar if you buy CyberPower.  On top of that, the UPS management software that comes with CyberPower UPS’s is much better than APC’s in my experience.  On OS X systems, you don’t even need to install anything, as OS X can talk to the UPS natively.  To anyone who’s ever tried to set up APC’s PowerChute software, I’m sure they can appreciate keeping things transparent on the software side.&lt;/p&gt;
&lt;p&gt;So bottom line is (if you skimmed through the post), get a UPS for your home PC’s, &amp;amp; make sure it’s a CyberPower UPS.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/04/04/zfs-on-os-x/"><title>ZFS on OS X</title><link href="https://churnd.net/2011/04/04/zfs-on-os-x/"/><id>http://churnd.net/2011/04/04/zfs-on-os-x</id><updated>2011-04-04T00:00:00-04:00</updated><content type="html">&lt;p&gt;About a month ago, an email landed in my inbox from the MacZFS Google group talking about a company called Tens Compliment and how they were bringing &lt;a class="zem_slink" title="ZFS" rel="wikipedia" href="http://en.wikipedia.org/wiki/ZFS"&gt;ZFS&lt;/a&gt; back to OS X.  I did a double take to make sure it wasn’t spam.  Much to my delight, it wasn’t.  Apparently Don Brady, one of &lt;a class="zem_slink" title="Apple" rel="homepage" href="http://www.apple.com"&gt;Apple’s&lt;/a&gt; top filesystem engineers &amp;amp; the guy who was working on bringing ZFS to &lt;a class="zem_slink" title="Mac OS X Server" rel="homepage" href="http://www.apple.com/server/macosx/"&gt;OS X Server&lt;/a&gt;, left Apple recently to found this new startup called Tens Compliment.  I couldn’t believe it… it sounded too good to be true, but there it was.  ZFS in all it’s glory with deduplication, snapshotting, compression, and even full compatibility with OS X ACLs.  I was one of the lucky few who got access to the first public beta so I immediately began trying it out.  I was, and still am, very impressed.  Can’t wait for the second beta to drop, which will supposedly have a System Preferences control panel for managing your volumes.  Unfortunately, Don replied to my initial email stating his target audience was going to be the Pro-level consumer, not servers.  Can’t say I blame him since Apple discontinued the &lt;a class="zem_slink" title="Xserve" rel="homepage" href="http://www.apple.com/xserve"&gt;Xserve&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For a while now I’ve been wanting to get a ZFS presence in my home just because it would be nice having the additional peace of mind that my photos &amp;amp; videos aren’t silently being corrupted without me knowing.  In the past, this plan would have consisted of a dedicated mini-ZFS server running on a mini-ITX platform tucked away behind my desk.  I remember pricing this setup out once before building off of a cool &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811123128" target="_blank"&gt;Chenbro&lt;/a&gt; box, but it came out to be ~$700 for 4TB RAW disk space.  That’s a bit much.&lt;/p&gt;
&lt;p&gt;Since &lt;a href="http://tenscomplement.com/" target="_blank"&gt;Z-410&lt;/a&gt; was announced, I’m back in the game.  Using my Mac Pro, I have two options:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Get an external eSATA enclosure, such as this one from &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16816111138" target="_blank"&gt;SANS DIGITAL&lt;/a&gt;, and fill it with 1TB drives. – $600&lt;/li&gt;
&lt;li&gt;Get a &lt;a href="http://eshop.macsales.com/item/Other%20World%20Computing/MM352A52MP8/" target="_blank"&gt;mounting bracket from OWC&lt;/a&gt;, 2 2.5″ drives &amp;amp; move my boot disks up to the optical bay, freeing up the 4 primary drive bays to use for a RAIDZ1 pool. – $300-600&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Option 1 is most attractive right now because it will still leave plenty of room inside the Mac Pro for other disks &amp;amp; I don’t have to give up my second optical drive bay.  However, if I went option 2, I’m considering making those 2 2.5″ drives small-ish SSD’s for an additional perk, but it’ll cost more.  I really can’t decide, but I’m leaning more towards the SANS DIGITAL enclosure at this point.&lt;/p&gt;
&lt;p&gt;For the heck of it, I’ll post a poll that I’m sure won’t get used:&lt;/p&gt;
&lt;p&gt;&lt;a id="pd_a_4844681"&gt;&lt;/a&gt; &lt;div class="PDS_Poll" id="PDI_container4844681" data-settings="{&amp;quot;url&amp;quot;:&amp;quot;http:\/\/static.polldaddy.com\/p\/4844681.js&amp;quot;}" style="display:inline-block;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div id="PD_superContainer"&gt;
&lt;/div&gt;
&lt;noscript&gt;
&lt;a href="http://polldaddy.com/poll/4844681"&gt;Take Our Poll&lt;/a&gt;
&lt;/noscript&gt;
&lt;p&gt;Let me know what you think!&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/02/07/macports-update-script/"><title>MacPorts update script</title><link href="https://churnd.net/2011/02/07/macports-update-script/"/><id>http://churnd.net/2011/02/07/macports-update-script</id><updated>2011-02-07T00:00:00-05:00</updated><content type="html">&lt;p&gt;I just got tired of typing each command in manually every time, so I just put them in a shell script:&lt;/p&gt;
&lt;pre class="lang:default decode:true "&gt;#!/bin/bash
if [ "$(whoami)" != 'root' ]; then
echo "You have no permission to run $0 as non-root user."
exit 1
fi
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
port selfupdate
port -d sync
port upgrade outdated
port clean --all installed &amp;gt;&amp;gt; /dev/null 2&amp;gt;&amp;1
port uninstall inactive&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The last two are just because I don’t like “extra junk” building up on my systems &amp;amp; by default &lt;a class="zem_slink" title="MacPorts" href="http://www.macports.org/" rel="homepage"&gt;MacPorts&lt;/a&gt; doesn’t remove previous versions or clean up after itself.&lt;/p&gt;
&lt;p&gt;You can save the script, make it executable, &amp;amp; put it somewhere in your path so when you’re ready to update MacPorts, you can just type “&lt;em&gt;sudo &amp;lt;script_name&amp;gt;&lt;/em&gt;” &amp;amp; watch it go.&lt;/p&gt;
&lt;p&gt;I also considered scheduling this, but in my experience it doesn’t always finish successfully (usually due to a bad download of the sourcecode), so the process needs to be monitored while it’s happening.  Otherwise, you could eventually wind up with a broken ports collection.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/01/20/boot-camp-on-a-mac-pro-11/"><title>Boot Camp on a Mac Pro 1,1</title><link href="https://churnd.net/2011/01/20/boot-camp-on-a-mac-pro-11/"/><id>https://churnd.net/2011/01/20/boot-camp-on-a-mac-pro-11/</id><updated>2011-01-20T00:00:00-05:00</updated><content type="html">&lt;p&gt;Some of &lt;a title="Apple" href="http://www.apple.com" rel="homepage"&gt;Apple&amp;rsquo;s&lt;/a&gt; earlier hardware has weird &lt;a title="Boot Camp (software)" href="http://www.apple.com/macosx/compatibility/" rel="homepage"&gt;Boot Camp&lt;/a&gt; support, primarily with 64-bit Windows. Even though the actual hardware itself is capable of running Windows x64, Apple wouldn&amp;rsquo;t support it. So, depending on the product line you have, getting the Boot Camp drivers installed could prove tricky.&lt;/p&gt;
&lt;p&gt;My workstation at home is a first generation &lt;a title="Mac Pro" href="http://www.apple.com/macpro/" rel="homepage"&gt;Mac Pro&lt;/a&gt; (MacPro1,1), which is capable of running a 64-bit operating system. However, Apple doesn&amp;rsquo;t support it; only 32-bit. That&amp;rsquo;s not good enough for me. Yes, I could forgo Apple&amp;rsquo;s Bootcamp drivers and hunt down the manufacturer&amp;rsquo;s drivers and that would work fine. I could even have let Windows install all the drivers for me. However, I wouldn&amp;rsquo;t have had the little details, like being able to open the optical drive by hitting the eject key. Those little details drive me nuts. So, I figured out how to beat Apple at their own game.&lt;/p&gt;
&lt;p&gt;This starts off assuming you&amp;rsquo;ve just installed Windows &amp;amp; you&amp;rsquo;re ready to install BootCamp. As you probably know by now, putting the Snow Leopard DVD in &amp;amp; running the BootCamp installer won&amp;rsquo;t work. Instead, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click Start, &amp;amp; type &lt;code&gt;cmd&lt;/code&gt; &amp;amp; click on the cmd program that comes up in the start menu.&lt;/li&gt;
&lt;li&gt;In the command window, type &amp;ldquo;E:&amp;rdquo; &amp;amp; hit enter. Substitute E: for whatever DVD drive your Snow Leopard DVD is in.&lt;/li&gt;
&lt;li&gt;Now type &lt;code&gt;cd Boot CampDriversApple&lt;/code&gt; &amp;amp; hit enter.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;dir&lt;/code&gt; &amp;amp; you should see a list of files, most starting with Apple &amp;amp; 2 starting with BootCamp.&lt;/li&gt;
&lt;li&gt;Now the good stuff; type &lt;code&gt;msiexec /i BootCamp64.msi&lt;/code&gt; &amp;amp; hit enter. Boot Camp will now install!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That&amp;rsquo;s half the battle. Once it installs, you&amp;rsquo;ll reboot &amp;amp; get back into Windows. Open Apple Software Update &amp;amp; there should be an update to Boot Camp. As of this writing, the latest version is 3.2, so you&amp;rsquo;ll have to update to 3.1 first, then go to 3.2. However, updating to 3.1 isn&amp;rsquo;t very easy either:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;With &lt;strong&gt;only&lt;/strong&gt; the Boot Camp update selected, click Tools, Download Only.&lt;/li&gt;
&lt;li&gt;Once it finishes, click Open Downloaded Updates Folder. You&amp;rsquo;ll see a file called &lt;strong&gt;BootCamp_3.1_64-bit.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Move this to the upper level of your C: drive to make it easy to work with, or just somewhere easier to get to via command line.&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;ll need to extract the contents of this file. I used 7-zip, which worked great.&lt;/li&gt;
&lt;li&gt;With the files extracted, you&amp;rsquo;ll see 3 files (well, I did anyway): BCUpdateInstaller, BootCampUpdate64, NvidiaGraphics64.&lt;/li&gt;
&lt;li&gt;Now you need the command line again, so open a window same as above.&lt;/li&gt;
&lt;li&gt;Now the good stuff again; in the command line window, type &lt;code&gt;msiexec /p C:BootCamp_3.1_64-bitBootCampUpdate64.msp REINSTALL=ALL REINSTALLMODE=omus&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;A window will open, click the Repair option.&lt;/li&gt;
&lt;li&gt;The updates will finish installing &amp;amp; ask you to reboot.&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;Once you&amp;rsquo;ve rebooted back into Windows, do Apple Software Update again. Relax, because this time it &amp;ldquo;just works&amp;rdquo;!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You&amp;rsquo;ll reboot again &amp;amp; you should be completely up-to-date with all the &amp;ldquo;official&amp;rdquo; Apple Boot Camp drivers &amp;amp; software. You can double check by right clicking on the Boot Camp system tray icon &amp;amp; click About Boot Camp, which should say version 3.2.&lt;/p&gt;
&lt;p&gt;Why Apple made it this hard, I have no idea because Windows 7 64-bit runs great on this MacPro1,1.&lt;/p&gt;</content></entry><entry xml:base="https://churnd.net/2011/01/20/espresso-tips/"><title>Espresso Tips</title><link href="https://churnd.net/2011/01/20/espresso-tips/"/><id>https://churnd.net/2011/01/20/espresso-tips/</id><updated>2011-01-20T00:00:00-05:00</updated><content type="html">&lt;p&gt;No, not the coffee. :) &lt;a title="Espresso" href="http://macrabbit.com/espresso/" target="_blank"&gt;Espresso&lt;/a&gt; is one of the popular web development IDE&amp;rsquo;s for OS X. I&amp;rsquo;ve been jumping back and forth between using Espresso, &lt;a title="Coda (web development software)" href="http://www.panic.com/coda/" rel="homepage"&gt;Coda&lt;/a&gt;, &amp;amp; &lt;a title="Transmit (FTP client)" href="http://www.panic.com/transmit/" rel="homepage"&gt;Transmit&lt;/a&gt; + &lt;a title="TextMate" href="http://www.macromates.com/" rel="homepage" target="_blank"&gt;Textmate&lt;/a&gt;. Lately I&amp;rsquo;ve been using Espresso, especially since I&amp;rsquo;ve found tons of great themes &amp;amp; sugars to help extend it&amp;rsquo;s functionality. There is a very active Espresso community on &lt;a title="GitHub" href="http://github.com" rel="homepage"&gt;GitHub&lt;/a&gt;, and &lt;a href="http://fileability.net/coffee/" target="_blank"&gt;this website&lt;/a&gt; contains a great collection.&lt;/p&gt;
&lt;p&gt;My requirements for a good web development IDE:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Syntax highlighting. Makes reading code much easier. I prefer dark backgrounds over white/colored text.&lt;/li&gt;
&lt;li&gt;Code folding. I don&amp;rsquo;t use this heavily, but when I need it, I &lt;strong&gt;need&lt;/strong&gt; it. I will switch to a different editor if I have to.&lt;/li&gt;
&lt;li&gt;Css Navigators. These are so useful when going through CSS stylesheets so you can actually see what style you&amp;rsquo;re editing:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="/images/2011/01/screen-shot-2011-01-20-at-10-32-47-am.png" alt="Espresso CSS Navigator" loading="lazy" decoding="async"&gt;
&lt;/p&gt;
&lt;p&gt;The nice thing about getting these sugars &amp;amp; themes from GitHub is that updates are easy. Just &amp;ldquo;cd&amp;rdquo; to where the sugar or theme lives &amp;amp; do &amp;ldquo;git pull&amp;rdquo;. It would be nice if I could figure out a way to just do one &amp;ldquo;master pull&amp;rdquo;, but based on the Coffee House website, it sounds like MacRabbit is working on a way of &lt;a href="http://fileability.net/coffee/sugar/Sugar%20Manager" target="_blank"&gt;making this better&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So, I definitely underestimated Espresso the first few times I tried it. Now that I can easily extend it&amp;rsquo;s functionality, it&amp;rsquo;s earned a permanent place in my dock as my primary web development IDE.&lt;/p&gt;</content></entry></feed>