<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>freenas &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/freenas/</link>
	<description>Feed of posts on WordPress.com tagged "freenas"</description>
	<pubDate>Thu, 03 Dec 2009 02:47:41 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[FreeNAS as a Print Server? It's Easier Than You Think!]]></title>
<link>http://napkindiagrams.wordpress.com/2009/12/01/freenas-as-a-print-server-its-easier-than-you-think/</link>
<pubDate>Tue, 01 Dec 2009 23:04:39 +0000</pubDate>
<dc:creator>Brian Bickerton</dc:creator>
<guid>http://napkindiagrams.wordpress.com/2009/12/01/freenas-as-a-print-server-its-easier-than-you-think/</guid>
<description><![CDATA[Earlier this year I had written this Instructables guide, but figure it would fit well here. FreeNAS]]></description>
<content:encoded><![CDATA[Earlier this year I had written this Instructables guide, but figure it would fit well here. FreeNAS]]></content:encoded>
</item>
<item>
<title><![CDATA[FreeNAS requirements]]></title>
<link>http://snipitblog.wordpress.com/2009/11/16/freenas-requirements/</link>
<pubDate>Mon, 16 Nov 2009 12:26:43 +0000</pubDate>
<dc:creator>weldblog</dc:creator>
<guid>http://snipitblog.wordpress.com/2009/11/16/freenas-requirements/</guid>
<description><![CDATA[http://www.dailycupoftech.com/freenas-system-and-skill-requirements/]]></description>
<content:encoded><![CDATA[http://www.dailycupoftech.com/freenas-system-and-skill-requirements/]]></content:encoded>
</item>
<item>
<title><![CDATA[Network Attached Storage with FreeNAS]]></title>
<link>http://snipitblog.wordpress.com/2009/11/16/network-attached-storage-with-freenas/</link>
<pubDate>Mon, 16 Nov 2009 12:24:37 +0000</pubDate>
<dc:creator>weldblog</dc:creator>
<guid>http://snipitblog.wordpress.com/2009/11/16/network-attached-storage-with-freenas/</guid>
<description><![CDATA[http://www.howtoforge.com/network_attached_storage_with_freenas]]></description>
<content:encoded><![CDATA[http://www.howtoforge.com/network_attached_storage_with_freenas]]></content:encoded>
</item>
<item>
<title><![CDATA[How to install FreeNAS]]></title>
<link>http://snipitblog.wordpress.com/2009/11/16/how-to-install-freenas/</link>
<pubDate>Mon, 16 Nov 2009 12:24:02 +0000</pubDate>
<dc:creator>weldblog</dc:creator>
<guid>http://snipitblog.wordpress.com/2009/11/16/how-to-install-freenas/</guid>
<description><![CDATA[http://dailycupoftech.com/howto-install-freenas/]]></description>
<content:encoded><![CDATA[http://dailycupoftech.com/howto-install-freenas/]]></content:encoded>
</item>
<item>
<title><![CDATA[Growing mirrored and encrypted partitions in FreeNAS]]></title>
<link>http://versia.com/2009/11/04/grow-encrypted-raid1-freenas/</link>
<pubDate>Wed, 04 Nov 2009 13:57:17 +0000</pubDate>
<dc:creator>Alexander Kojevnikov</dc:creator>
<guid>http://versia.com/2009/11/04/grow-encrypted-raid1-freenas/</guid>
<description><![CDATA[UPDATE 2009-11-19: this post explains how to do the same in Debian. I&#8217;m building a small NAS f]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>UPDATE 2009-11-19: <a href="http://versia.com/2009/11/19/nas-debian-lenny/">this post</a> explains how to do the same in Debian.</em></p>
<p>I&#8217;m building <a href="http://www.via.com.tw/en/products/embedded/artigo/a2000/#10">a small</a> <a href="http://en.wikipedia.org/wiki/Network-attached_storage">NAS</a> for the household. It will run <a href="http://www.freenas.org/">FreeNAS</a> and will be used as a file, rsync, BitTorrent and printer server. I want it to be reliable and secure so it will have two HDDs in RAID 1 (AKA <a href="http://en.wikipedia.org/wiki/Disk_mirroring">mirroring</a>) and their content will be encrypted.</p>
<p>But what if in the future I will want to upgrade the drives with larger ones? A common scenario with RAID 1 is to replace one of the disks with the bigger one, rebuild the mirror then replace the other one and rebuild it again. In theory it sounds like an easy process that will keep all your data intact.</p>
<p>In practice however it&#8217;s not, Mike explains how to do it under FreeNAS <a href="http://rfandip.blogspot.com/2008/12/freenas-073953-raid-1-growfs-oh-my.html">in his blog</a>. Growing mirrored <i>and</i> encrypted drives is a bit more complicated.</p>
<p>Here is how, in case you might need it:</p>
<ol>
<li>
<p>After replacing the HDD, boot your box and log into the FreeNAS web interface</p>
</li>
<li>
<p>Go to Disks/Management, edit the disk you have replaced and click &#8220;Save&#8221;. This will read the new disk&#8217;s size.</p>
</li>
<li>
<p>Go to Disks/RAID, the status will be DEGRADED which is normal. In Tools select the new disk, &#8220;forget&#8221; and then &#8220;insert&#8221; it. Wait until the rebuild process is finished.</p>
</li>
<li>
<p>Go to Disks/Encryption, attach the disk and make sure your data is fine.</p>
</li>
<li>
<p>Go to Disks/Mount Point and delete the mount.</p>
</li>
<li>
<p>Get to the NAS console, either directly or via SSH. Things will get more interesting now:</p>
<p><!-- HTML generated using hilite.me -->
<div style="overflow:auto;width:auto;color:white;background:black;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
<pre style="margin:0;"># geli backup /dev/mirror/raid1 bak
# geli detach /dev/mirror/raid1
# geli clear /dev/mirror/raid1
</pre>
</div>
<p><a href="http://www.freebsd.org/cgi/man.cgi?query=geli&#38;sektion=8">geli</a> is the command line tool to manage encrypted storage in FreeNAS. <i>raid1</i> is the volume name I used, yours might be different. The first line saves the encrypted volume&#8217;s metadata to a file called &#8220;bak&#8221;, we will need it later.</p>
</li>
<li>
<p>Go to Disks/RAID again, delete and re-add the RAID. Use the same volume name and tick the &#8220;Create and initialize RAID&#8221; check box.</p>
</li>
<li>
<p>Now back to the terminal:</p>
<p><!-- HTML generated using hilite.me -->
<div style="overflow:auto;width:auto;color:white;background:black;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
<pre style="margin:0;"># geli restore bak /dev/mirror/raid1
# geli attach /dev/mirror/raid1
</pre>
</div>
<p>This will restore the metadata from our backup and re-attach the encrypted volume</p>
</li>
<li>
<p>Fix <a href="http://en.wikipedia.org/wiki/GUID_Partition_Table">the partition table</a>, re-create and grow the partition to fill the entire disk:</p>
<p><!-- HTML generated using hilite.me -->
<div style="overflow:auto;width:auto;color:white;background:black;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
<pre style="margin:0;"># gpt recover /dev/mirror/raid1.eli
# gpt remove -i 1 /dev/mirror/raid1.eli
# gpt add -i 1 -t ufs /dev/mirror/raid1.eli
# gpt label -i 1 -l data /dev/mirror/raid1.eli
# growfs /dev/mirror/raid1.elip1
</pre>
</div>
<p>Note that the device name ends with &#8220;.eli&#8221; &#8211; it&#8217;s our encrypted disk.</p>
</li>
<li>
<p>Finally go to Disks/Mount Point and mount the partition.</p>
</li>
</ol>
<p>That&#8217;s it, your encrypted partition should be functional now!</p>
<p><i>NOTE: always do your backups, I can make no guarantees that it will work for you.</i></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The benefit of a server]]></title>
<link>http://konsnos.wordpress.com/2009/09/28/the-benefit-of-a-server/</link>
<pubDate>Mon, 28 Sep 2009 15:10:37 +0000</pubDate>
<dc:creator>konsnos</dc:creator>
<guid>http://konsnos.wordpress.com/2009/09/28/the-benefit-of-a-server/</guid>
<description><![CDATA[Before a day or two or more, I created a file server using FreeNAS Operating System (OS). My PC was ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Before a day or two or more, I created a file server using FreeNAS Operating System (OS). My PC was a Celeron D 2,4 GHz, with 256 Mb. I use mainly that file server for storing my files, but also for FTP access to my files from the internet, and for a torrent downloader. Not bad, uh?</p>
<p>FreeNAS is an excellent OS, it does a lot of things while taking only 50Mb of my hard disk. It could be a Web Server, with SSH protocol, it can also manage RAID 5 disks. The bad thing with FreeNAS is that it isn&#8217;t a Game Server. By Game Server I mean you could install some games, and then you can be given an option which game to play, and then play it. You don&#8217;t need to enter your desktop to do that, and after all, anything else could use an amount of memory that the game would benefit from it.</p>
<p>Oh, and don&#8217;t take me wrong. By saying games, I don&#8217;t mean text based. I mean real 3D games. People got bored opening their PC, entering Windows or Linux or MAC, and then starting a game. WE DON&#8217;T WANT TO ENTER THE DESKTOP, WE JUST WANT TO PLAY THE DAMN GAME. That&#8217;s the reason for the ban we get from the society. As gamers we don&#8217;t get what we deserve. That&#8217;s the reason for behaviors like the mans&#8217; from the video.</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/hQ389ZehxKU&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/hQ389ZehxKU&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>The reason I&#8217;m writing this nonsense is because I finally met something that is simply working without errors. GO GET&#8217;EM FREENAS.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Replacing a 750Gig with a 1TB drive in my FreeNAS ZFS (Drobo like) server config]]></title>
<link>http://nowhereman999.wordpress.com/2009/09/24/replacing-a-750gig-with-a-1tb-drive-in-my-freenas-zfs-drobo-like-server-config/</link>
<pubDate>Fri, 25 Sep 2009 00:28:13 +0000</pubDate>
<dc:creator>nowhereman999</dc:creator>
<guid>http://nowhereman999.wordpress.com/2009/09/24/replacing-a-750gig-with-a-1tb-drive-in-my-freenas-zfs-drobo-like-server-config/</guid>
<description><![CDATA[Example of upgrading my FreeNAS server running ZFS from two 750Gig &amp; two 1TB drives to one 750Gi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Example of upgrading my FreeNAS server running ZFS  from two 750Gig &#38; two 1TB drives to one 750Gig &#38; three 1 TB drives.  I upgraded my Drobo with a 2 TB drive.  I removed a 1TB drive in it to make room for a new 2TB drive.  Then I took that 1TB drive and used it in my FreeNAS ZFS server (in Drobo like config).</p>
<p>In the end I will have added 250Gigs more to my ZFS pool.  In reality my protected space will increase by 114 Gigs.  Because of the way I&#8217;ve configured my ZFS pool and partitioned my drives I can increase the ZFS Zpool without having to copy all the data off the raid arrays within the pool and then destroy the Zpool and start again with the larger drives.  This config allows you to expand the drives one at a time.</p>
<p>This is how I did it:<br />
freenas02:~# zpool export -f tank0<br />
freenas02:~# gpt show ad4<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135          32         Sec GPT table<br />
1465149167           1         Sec GPT header<br />
freenas02:~# gpt show ad6<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135          32         Sec GPT table<br />
1465149167           1         Sec GPT header<br />
freenas02:~# gpt show ad8<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   122094000      2  GPT part &#8211; FreeBSD ZFS<br />
1587243135   122094000      3  GPT part &#8211; FreeBSD ZFS<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# gpt show ad14<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   122094000      2  GPT part &#8211; FreeBSD ZFS<br />
1587243135   122094000      3  GPT part &#8211; FreeBSD ZFS<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>Reboot with ad6 750Gig drive replaced with ad6 1000G drive</p>
<p>freenas02:~# zpool status<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices could not be opened.  Sufficient replicas exist for<br />
the pool to continue functioning in a degraded state.<br />
action: Attach the missing device and online it using &#8216;zpool online&#8217;.<br />
see: http://www.sun.com/msg/ZFS-8000-D3<br />
scrub: resilver completed with 0 errors on Wed Sep 23 23:08:57 2009<br />
config:</p>
<p>NAME        STATE     READ WRITE CKSUM<br />
tank0       DEGRADED     0     0     0<br />
raidz1    DEGRADED     0     0     0<br />
ad4p1   ONLINE       0     0     0<br />
ad6p1   UNAVAIL      0     0     0  cannot open<br />
ad8p1   ONLINE       0     0     0<br />
ad14p1  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p2   ONLINE       0     0     0<br />
ad8p3   ONLINE       0     0     0<br />
ad14p2  ONLINE       0     0     0<br />
ad14p3  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p4   ONLINE       0     0     0<br />
ad8p5   ONLINE       0     0     0<br />
ad14p4  ONLINE       0     0     0<br />
ad14p5  ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# zpool export -f tank0</p>
<p>freenas02:~# zpool status tank0<br />
cannot open &#8216;tank0&#8242;: no such pool<br />
freenas02:~# zpool status<br />
no pools available</p>
<p>freenas02:~# gpt create -f ad6<br />
freenas02:~# gpt show ad6<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1953525101<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# gpt add -s 1465149101 ad6<br />
freenas02:~# gpt show ad6<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD UFS/UFS2<br />
1465149135   488376000<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# gpt add -s 244188000 ad6<br />
freenas02:~# gpt show ad6<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD UFS/UFS2<br />
1465149135   244188000      2  GPT part &#8211; FreeBSD UFS/UFS2<br />
1709337135   244188000<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# gpt add -s 244188000 ad6<br />
freenas02:~# gpt show ad6<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD UFS/UFS2<br />
1465149135   244188000      2  GPT part &#8211; FreeBSD UFS/UFS2<br />
1709337135   244188000      3  GPT part &#8211; FreeBSD UFS/UFS2<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# zpool import tank0<br />
freenas02:~# zpool status<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices could not be opened.  Sufficient replicas exist for<br />
the pool to continue functioning in a degraded state.<br />
action: Attach the missing device and online it using &#8216;zpool online&#8217;.<br />
see: http://www.sun.com/msg/ZFS-8000-D3<br />
scrub: resilver completed with 0 errors on Wed Sep 23 23:29:51 2009<br />
config:</p>
<p>NAME        STATE     READ WRITE CKSUM<br />
tank0       DEGRADED     0     0     0<br />
raidz1    DEGRADED     0     0     0<br />
ad4p1   ONLINE       0     0     0<br />
ad6p1   UNAVAIL      0     0     0  cannot open<br />
ad8p1   ONLINE       0     0     0<br />
ad14p1  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p2   ONLINE       0     0     0<br />
ad8p3   ONLINE       0     0     0<br />
ad14p2  ONLINE       0     0     0<br />
ad14p3  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p4   ONLINE       0     0     0<br />
ad8p5   ONLINE       0     0     0<br />
ad14p4  ONLINE       0     0     0<br />
ad14p5  ONLINE       0     0     0</p>
<p>errors: No known data errors</p>
<p>freenas02:~# zpool replace tank0 ad6p1<br />
freenas02:~# zpool status<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices is currently being resilvered.  The pool will<br />
continue to function, possibly in a degraded state.<br />
action: Wait for the resilver to complete.<br />
scrub: resilver in progress, 0.00% done, 161h0m to go<br />
config:</p>
<p>NAME             STATE     READ WRITE CKSUM<br />
tank0            DEGRADED     0     0     0<br />
raidz1         DEGRADED     0     0     0<br />
ad4p1        ONLINE       0     0     0<br />
replacing    DEGRADED     0     0     0<br />
ad6p1/old  UNAVAIL      0     0     0  cannot open<br />
ad6p1      ONLINE       0     0     0<br />
ad8p1        ONLINE       0     0     0<br />
ad14p1       ONLINE       0     0     0<br />
raidz2         ONLINE       0     0     0<br />
ad8p2        ONLINE       0     0     0<br />
ad8p3        ONLINE       0     0     0<br />
ad14p2       ONLINE       0     0     0<br />
ad14p3       ONLINE       0     0     0<br />
raidz2         ONLINE       0     0     0<br />
ad8p4        ONLINE       0     0     0<br />
ad8p5        ONLINE       0     0     0<br />
ad14p4       ONLINE       0     0     0<br />
ad14p5       ONLINE       0     0     0</p>
<p>errors: No known data errors</p>
<p>freenas02:~# zpool replace tank0 ad8p2 ad6p2<br />
freenas02:~# zpool replace tank0 ad14p2 ad6p3<br />
freenas02:~# zpool status<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices is currently being resilvered.  The pool will<br />
continue to function, possibly in a degraded state.<br />
action: Wait for the resilver to complete.<br />
scrub: resilver in progress, 0.87% done, 9h25m to go<br />
config:</p>
<p>NAME             STATE     READ WRITE CKSUM<br />
tank0            DEGRADED     0     0     0<br />
raidz1         DEGRADED     0     0     0<br />
ad4p1        ONLINE       0     0     0<br />
replacing    DEGRADED     0     0     0<br />
ad6p1/old  UNAVAIL      0     0     0  cannot open<br />
ad6p1      ONLINE       0     0     0<br />
ad8p1        ONLINE       0     0     0<br />
ad14p1       ONLINE       0     0     0<br />
raidz2         ONLINE       0     0     0<br />
replacing    ONLINE       0     0     0<br />
ad8p2      ONLINE       0     0     0<br />
ad6p2      ONLINE       0     0     0<br />
ad8p3        ONLINE       0     0     0<br />
replacing    ONLINE       0     0     0<br />
ad14p2     ONLINE       0     0     0<br />
ad6p3      ONLINE       0     0     0<br />
ad14p3       ONLINE       0     0     0<br />
raidz2         ONLINE       0     0     0<br />
ad8p4        ONLINE       0     0     0<br />
ad8p5        ONLINE       0     0     0<br />
ad14p4       ONLINE       0     0     0<br />
ad14p5       ONLINE       0     0     0</p>
<p>errors: No known data errors</p>
<p>freenas02:~# df -h<br />
Filesystem    Size    Used   Avail Capacity  Mounted on<br />
/dev/md0       88M     76M     12M    86%    /<br />
devfs         1.0K    1.0K      0B   100%    /dev<br />
/dev/da0a      38M     35M    3.8M    90%    /cf<br />
/dev/md1       31M    4.0K     28M     0%    /var<br />
tank0         2.2T    1.9T    339G    85%    /mnt/tank0<br />
freenas02:~#</p>
<p>freenas02:~# zpool status<br />
pool: tank0<br />
state: ONLINE<br />
scrub: resilver completed with 0 errors on Thu Sep 24 05:05:00 2009<br />
config:</p>
<p>NAME        STATE     READ WRITE CKSUM<br />
tank0       ONLINE       0     0     0<br />
raidz1    ONLINE       0     0     0<br />
ad4p1   ONLINE       0     0     0<br />
ad6p1   ONLINE       0     0     0<br />
ad8p1   ONLINE       0     0     0<br />
ad14p1  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad6p2   ONLINE       0     0     0<br />
ad8p3   ONLINE       0     0     0<br />
ad6p3   ONLINE       0     0     0<br />
ad14p3  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p4   ONLINE       0     0     0<br />
ad8p5   ONLINE       0     0     0<br />
ad14p4  ONLINE       0     0     0<br />
ad14p5  ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# zpool export -f tank0</p>
<p>freenas02:~# gpt show ad8<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   122094000      2  GPT part &#8211; FreeBSD ZFS<br />
1587243135   122094000      3  GPT part &#8211; FreeBSD ZFS<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header<br />
freenas02:~# gpt remove -i 2 ad8<br />
ad8p2 removed<br />
freenas02:~# gpt remove -i 3 ad8<br />
ad8p3 removed</p>
<p>freenas02:~# gpt show ad8<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   244188000<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header<br />
freenas02:~# gpt add -i 2 -s 244188000 ad8<br />
freenas02:~# gpt show ad8<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   244188000      2  GPT part &#8211; FreeBSD UFS/UFS2<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# zpool import tank0<br />
freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices could not be used because the label is missing or<br />
invalid.  Sufficient replicas exist for the pool to continue<br />
functioning in a degraded state.<br />
action: Replace the device using &#8216;zpool replace&#8217;.<br />
see: http://www.sun.com/msg/ZFS-8000-4J<br />
scrub: resilver completed with 0 errors on Thu Sep 24 14:54:35 2009<br />
config:</p>
<p>NAME                     STATE     READ WRITE CKSUM<br />
tank0                    DEGRADED     0     0     0<br />
raidz1                 ONLINE       0     0     0<br />
ad4p1                ONLINE       0     0     0<br />
ad6p1                ONLINE       0     0     0<br />
ad8p1                ONLINE       0     0     0<br />
ad14p1               ONLINE       0     0     0<br />
raidz2                 DEGRADED     0     0     0<br />
ad6p2                ONLINE       0     0     0<br />
6422553418725777030  FAULTED      0     0     0  was /dev/ad8p5<br />
ad6p3                ONLINE       0     0     0<br />
ad14p3               ONLINE       0     0     0<br />
raidz2                 ONLINE       0     0     0<br />
ad8p4                ONLINE       0     0     0<br />
ad8p5                ONLINE       0     0     0<br />
ad14p4               ONLINE       0     0     0<br />
ad14p5               ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# zpool replace tank0 6422553418725777030 ad8p2<br />
freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices is currently being resilvered.  The pool will<br />
continue to function, possibly in a degraded state.<br />
action: Wait for the resilver to complete.<br />
scrub: resilver in progress, 0.53% done, 5h25m to go<br />
config:</p>
<p>NAME                       STATE     READ WRITE CKSUM<br />
tank0                      DEGRADED     0     0     0<br />
raidz1                   ONLINE       0     0     0<br />
ad4p1                  ONLINE       0     0     0<br />
ad6p1                  ONLINE       0     0     0<br />
ad8p1                  ONLINE       0     0     0<br />
ad14p1                 ONLINE       0     0     0<br />
raidz2                   DEGRADED     0     0     0<br />
ad6p2                  ONLINE       0     0     0<br />
replacing              DEGRADED     0     0     0<br />
6422553418725777030  FAULTED      0     0     0  was /dev/ad8p5<br />
ad8p2                ONLINE       0     0     0<br />
ad6p3                  ONLINE       0     0     0<br />
ad14p3                 ONLINE       0     0     0<br />
raidz2                   ONLINE       0     0     0<br />
ad8p4                  ONLINE       0     0     0<br />
ad8p5                  ONLINE       0     0     0<br />
ad14p4                 ONLINE       0     0     0<br />
ad14p5                 ONLINE       0     0     0</p>
<p>errors: No known data errors</p>
<p>freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: ONLINE<br />
scrub: resilver completed with 0 errors on Thu Sep 24 16:34:09 2009<br />
config:</p>
<p>NAME        STATE     READ WRITE CKSUM<br />
tank0       ONLINE       0     0     0<br />
raidz1    ONLINE       0     0     0<br />
ad4p1   ONLINE       0     0     0<br />
ad6p1   ONLINE       0     0     0<br />
ad8p1   ONLINE       0     0     0<br />
ad14p1  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad6p2   ONLINE       0     0     0<br />
ad8p2   ONLINE       0     0     0<br />
ad6p3   ONLINE       0     0     0<br />
ad14p3  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p4   ONLINE       0     0     0<br />
ad8p5   ONLINE       0     0     0<br />
ad14p4  ONLINE       0     0     0<br />
ad14p5  ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# df -h<br />
Filesystem    Size    Used   Avail Capacity  Mounted on<br />
/dev/md0       88M     76M     12M    86%    /<br />
devfs         1.0K    1.0K      0B   100%    /dev<br />
/dev/da0a      38M     35M    3.8M    90%    /cf<br />
/dev/md1       31M    4.0K     28M     0%    /var<br />
tank0         2.2T    1.9T    339G    85%    /mnt/tank0</p>
<p>freenas02:~# zpool export -f tank0<br />
freenas02:~# gpt show ad14<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   122094000      2  GPT part &#8211; FreeBSD ZFS<br />
1587243135   122094000      3  GPT part &#8211; FreeBSD ZFS<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header<br />
freenas02:~# gpt remove -i 2 ad14<br />
ad14p2 removed<br />
freenas02:~# gpt remove -i 3 ad14<br />
ad14p3 removed<br />
freenas02:~# gpt show ad14<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   244188000<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header<br />
freenas02:~# gpt add  -i 2 -s 244188000 ad14<br />
freenas02:~# gpt show ad14<br />
start        size  index  contents<br />
0           1         PMBR<br />
1           1         Pri GPT header<br />
2          32         Pri GPT table<br />
34  1465149101      1  GPT part &#8211; FreeBSD ZFS<br />
1465149135   244188000      2  GPT part &#8211; FreeBSD UFS/UFS2<br />
1709337135   122094000      4  GPT part &#8211; FreeBSD ZFS<br />
1831431135   122094000      5  GPT part &#8211; FreeBSD ZFS<br />
1953525135          32         Sec GPT table<br />
1953525167           1         Sec GPT header</p>
<p>freenas02:~# zpool import tank0<br />
freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices could not be used because the label is missing or<br />
invalid.  Sufficient replicas exist for the pool to continue<br />
functioning in a degraded state.<br />
action: Replace the device using &#8216;zpool replace&#8217;.<br />
see: http://www.sun.com/msg/ZFS-8000-4J<br />
scrub: resilver completed with 0 errors on Thu Sep 24 16:40:20 2009<br />
config:</p>
<p>NAME                     STATE     READ WRITE CKSUM<br />
tank0                    DEGRADED     0     0     0<br />
raidz1                 ONLINE       0     0     0<br />
ad4p1                ONLINE       0     0     0<br />
ad6p1                ONLINE       0     0     0<br />
ad8p1                ONLINE       0     0     0<br />
ad14p1               ONLINE       0     0     0<br />
raidz2                 DEGRADED     0     0     0<br />
ad6p2                ONLINE       0     0     0<br />
ad8p2                ONLINE       0     0     0<br />
ad6p3                ONLINE       0     0     0<br />
3452430189445945816  FAULTED      0     0     0  was /dev/ad14p5<br />
raidz2                 ONLINE       0     0     0<br />
ad8p4                ONLINE       0     0     0<br />
ad8p5                ONLINE       0     0     0<br />
ad14p4               ONLINE       0     0     0<br />
ad14p5               ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# zpool replace tank0 3452430189445945816 ad14p2<br />
freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: DEGRADED<br />
status: One or more devices is currently being resilvered.  The pool will<br />
continue to function, possibly in a degraded state.<br />
action: Wait for the resilver to complete.<br />
scrub: resilver in progress, 2.53% done, 4h33m to go<br />
config:</p>
<p>NAME                       STATE     READ WRITE CKSUM<br />
tank0                      DEGRADED     0     0     0<br />
raidz1                   ONLINE       0     0     0<br />
ad4p1                  ONLINE       0     0     0<br />
ad6p1                  ONLINE       0     0     0<br />
ad8p1                  ONLINE       0     0     0<br />
ad14p1                 ONLINE       0     0     0<br />
raidz2                   DEGRADED     0     0     0<br />
ad6p2                  ONLINE       0     0     0<br />
ad8p2                  ONLINE       0     0     0<br />
ad6p3                  ONLINE       0     0     0<br />
replacing              DEGRADED     0     0     0<br />
3452430189445945816  FAULTED      0     0     0  was /dev/ad14p5<br />
ad14p2               ONLINE       0     0     0<br />
raidz2                   ONLINE       0     0     0<br />
ad8p4                  ONLINE       0     0     0<br />
ad8p5                  ONLINE       0     0     0<br />
ad14p4                 ONLINE       0     0     0<br />
ad14p5                 ONLINE       0     0     0</p>
<p>errors: No known data errors</p>
<p>freenas02:~# zpool status tank0<br />
pool: tank0<br />
state: ONLINE<br />
scrub: resilver completed with 0 errors on Thu Sep 24 18:20:52 2009<br />
config:</p>
<p>NAME        STATE     READ WRITE CKSUM<br />
tank0       ONLINE       0     0     0<br />
raidz1    ONLINE       0     0     0<br />
ad4p1   ONLINE       0     0     0<br />
ad6p1   ONLINE       0     0     0<br />
ad8p1   ONLINE       0     0     0<br />
ad14p1  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad6p2   ONLINE       0     0     0<br />
ad8p2   ONLINE       0     0     0<br />
ad6p3   ONLINE       0     0     0<br />
ad14p2  ONLINE       0     0     0<br />
raidz2    ONLINE       0     0     0<br />
ad8p4   ONLINE       0     0     0<br />
ad8p5   ONLINE       0     0     0<br />
ad14p4  ONLINE       0     0     0<br />
ad14p5  ONLINE       0     0     0</p>
<p>errors: No known data errors<br />
freenas02:~# df -h<br />
Filesystem    Size    Used   Avail Capacity  Mounted on<br />
/dev/md0       88M     76M     12M    86%    /<br />
devfs         1.0K    1.0K      0B   100%    /dev<br />
/dev/da0a      38M     35M    3.8M    90%    /cf<br />
/dev/md1       31M    4.0K     28M     0%    /var<br />
tank0         2.2T    1.9T    339G    85%    /mnt/tank0<br />
freenas02:~# zpool export -f tank0<br />
freenas02:~# shutdown -r now</p>
<p>Reboot</p>
<p>Check disk size</p>
<p>freenas02:~# df -h<br />
Filesystem    Size    Used   Avail Capacity  Mounted on<br />
/dev/md0       88M     76M     12M    86%    /<br />
devfs         1.0K    1.0K      0B   100%    /dev<br />
/dev/da0a      38M     35M    3.8M    90%    /cf<br />
tank0         2.3T    1.9T    453G    81%    /mnt/tank0<br />
/dev/md1       31M    4.0K     28M     0%    /var</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[VMWare ESX3.5 與 FreeNas]]></title>
<link>http://markhuang.wordpress.com/2009/09/24/vmware-esx3-5-%e8%88%87-freenas/</link>
<pubDate>Thu, 24 Sep 2009 08:12:39 +0000</pubDate>
<dc:creator>markhuang7</dc:creator>
<guid>http://markhuang.wordpress.com/2009/09/24/vmware-esx3-5-%e8%88%87-freenas/</guid>
<description><![CDATA[雖然因為景氣問題, 原來打算要做的伺服器虛擬化及遠端備援的計畫暫停, 不過先前測試的環境都已經建置完畢, 不想浪費先前的工作成果, 所以嘗試把 Loading 輕的主機轉檔到 VM ESX 機器上面.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>雖然因為景氣問題, 原來打算要做的伺服器虛擬化及遠端備援的計畫暫停, 不過先前測試的環境都已經建置完畢, 不想浪費先前的工作成果, 所以嘗試把 Loading 輕的主機轉檔到 VM ESX 機器上面.</p>
<p>首 先把一台我們內部自行開發程式的主機由原先的電腦透過 VM 的 Converter (Sphere 4) 的版本, 轉檔到虛擬主機上, 該主機是採用 Windows 2008 Server 的版本, 僅有安裝 Oracle Client 端程式, 執行 IIS 服務很單純的環境, 轉置到新 VM 上面並沒有產生任何錯誤.</p>
<p>之後由 VM Client 端啟動該機器, 先進行機器名稱的變更, 防止等一下網路 IP 設定完成後會造成重複名稱的錯誤, 利用新 VM 機器上面的服務來執行自行開發的軟體, 看起來是沒有問題, 不過還是讓機器運行一天再進行後續的處理.<br />
<!--more--><br />
不 過幾十分鐘之後發現原來的主機居然產生使用者認證的問題, 因為程式會自動抓取 AD 登入帳號當做是進系統的帳號, 免除使用者重複輸入密碼的問題, 原主機上產生對 AD 驗證的錯誤, 剛開始以為是程式出問題, 花了一點時間去找原始碼, 後來想到是因為有另外一台主機的 Clone 出來, 原來機器的 SID 應該也是一樣, 可能新機器把舊機器的在 AD 帳號的認證被搶過來, 在原有的主機退出再重新加入網域即可.<br />
<img title="More..." src="http://markit.blog.ithome.com.tw/js/tinymce/themes/advanced/images/spacer.gif" alt="More..." width="100%" height="10px" /><br />
由於 VM 主機上面的硬碟容量有限, 拿來跑多個 VM 還夠, 但是要當做是一般電腦的備份就不太足夠, 因此在拿替換下來的主機及硬碟, 組成 FreeNas 主機來當做是 VM 主機備份的第二層架構, 同時也可以是兩台 VM ESX 中間交換資料的橋樑.</p>
<p>首 先 FreeNas 跟 ESX 都支援 iSCSI 及 NFS, 首先拿 iSCSI 來做測試, 在兩端建立 iSCSI 連結就不多做介紹, 如果有需要的我貼步驟畫面的話請留言, 經過實際測試速度可達 70~80Mpbs 速度相當不錯(由 FreeNas 上面觀察, 以下同), 不過檔案由 VM 主機上複製到 FreeNas 上卻一直出現錯誤, 複製一定會失敗 (透過 Data Storage 的功能達成複製的目的, 不論 iSCSI 的 Volume 是單獨被 mount 起來, 還是同時被兩台 VM mount, 都會出現複製錯誤), 但是直接建立虛擬機器 選擇存放在 FreeNAS 上面的 iSCSI 卻又成功, 讓人摸不著頭腦. 因為連線的不穩定性, 所以測試兩天後就改用 NFS (Network File System).</p>
<p>NFS 建置也相當的簡單, 設定好之後檔案複製的效能就只能達到 30~50Mpbs 左右, 差 iSCSI 一點, 穩定性好一點, 也是偶而出現複製錯誤的情況, 但兩台主機同時連結也可以同時的寫入跟讀出, iSCSI 也可以達到兩台同時讀寫只不過設定上比較容易互搶資源. 備份正式機器的 VM 還是穩定一點好, 經過幾天跑下來的結果是還可以接受.</p>
<p>測試的版本<strong> ESX 3.5</strong>, FreeNAS <strong>0.69 (Kwisatz Haderach)</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Fun with FreeNAS - iSCSI - When a local disk is not local]]></title>
<link>http://frrl.wordpress.com/2009/08/25/fun-with-freenas-iscsi-when-a-local-disk-is-not-local/</link>
<pubDate>Tue, 25 Aug 2009 06:59:31 +0000</pubDate>
<dc:creator>frrl</dc:creator>
<guid>http://frrl.wordpress.com/2009/08/25/fun-with-freenas-iscsi-when-a-local-disk-is-not-local/</guid>
<description><![CDATA[Fun with FreeNAS &#8211; iSCSI &#8211; When a local disk is not local Read our related posting first]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Fun with FreeNAS &#8211; iSCSI &#8211; When a local disk is not local</h2>
<p>Read our related posting first -</p>
<p id="post-4296"><a rel="bookmark" href="../2009/08/23/nas-for-clunkers-how-to-turn-that-old-pc-into-a-high-tech-network-storage-web-server-and-torrent-server/" target="_blank">NAS for Clunkers: How to turn that old PC into a high tech Network Storage, Web Server, and Torrent Server</a></p>
<p><em>&#8220;iSCSI uses TCP/IP (typically TCP ports 860 and 3260). In essence, iSCSI simply allows two hosts to negotiate and then exchange SCSI commands using IP networks. </em></p>
<p><em>By doing this iSCSI takes a popular high-performance local storage bus and emulates it over wide-area networks, creating a storage area network (SAN). Unlike some SAN protocols, iSCSI requires no dedicated cabling; it can be run over existing switching and IP infrastructure. </em></p>
<p><em>As a result, iSCSI is often seen as a low-cost alternative to Fibre Channel, which requires dedicated infrastructure.&#8221;</em></p>
<p><a href="http://frrl.wordpress.com/files/2009/08/freenas_logo.jpg" target="_blank"><img class="alignleft size-full wp-image-4297" style="margin:10px;" title="FreeNAS_Logo" src="http://frrl.wordpress.com/files/2009/08/freenas_logo.jpg" alt="FreeNAS_Logo" width="446" height="516" /></a></p>
<h2>The Further Adventures&#8230;.</h2>
<p>Further adventures with FreeNAS running on a PC Clunker tucked away in the basement&#8230;</p>
<p>I decided to try to get iSCSI to work in FreeNAS.  Both Windows Vista and Windows 7 has built-in support for iSCSI.</p>
<h2>What is iSCSI?</h2>
<p>What is iSCSI?  In a few words, iSCSI is the SCSI protocol over an IP network.</p>
<p>And what is SCSI?  SCSI is a protocol that a computer can use to talk to peripherals of all kinds.</p>
<p>The Apple Mac used SCSI a long time ago while PC people were fumbling with IRQ&#8217;s and DMA settings to get their peripherials to work.</p>
<p>SCSI is easy and Apple CEO Steve Jobs made a good choice to use SCSI attached peripherals for the Mac back in 1984.</p>
<h2>What can iSCSI do for you?</h2>
<p>So, enough of that.  What can iSCSI and FreeNAS do for you?  What it can do is make a chunk of storage on a network look like a local disk on your PC.  Why would you want to do this?  Keep reading.</p>
<p>In about 15 minutes of my copious free time I was able to get my Windows 7 PC linked up to a chunk of storage on FreeNAS using iSCSI.  As a home user, using iSCSI and FreeNAS you are on your way to a SAN (Storage Area Networks) that are commonly used in large corporate data centers.</p>
<h2>Why SAN ?</h2>
<p>Why connect real disk to a PC or a server when you can connect storage from a storage pool on a network that looks like local disk to that PC or server?  Here&#8217;s why.  Because managing a large storage pool on a network is more cost effective than managing physical disks on a PC or a server.</p>
<p>Central storage can be backed up in a consistent manner.  Storage allocated from a central pool can be dynamically re/allocated to PC&#8217;&#8217;s and servers on demand.  If you need more &#8220;local disk&#8221; on your PC then why mess with internal physical drives of fixed capacity?  Using SAN you can dynamically allocate any size disk you need and then attach this to your PC or server and have it appear as local.</p>
<p>Attaching real physical disks of fixed size to a serer or PC is so &#8220;five minutes ago&#8221;.  Storage Area Networks is sometimes a better solution.</p>
<p>Best thing is that FreeNAS and your Windows Vista/7 machine will let you easily mess with iSCSI and experiment with SAN for the cost of a &#8220;Clunker&#8221;.</p>
<h2>FreeNAS and iSCSI</h2>
<p>Here is my configuration in pictures &#8211; iSCSI to FreeNAS works like a charm.</p>
<p>Click to enlarge and take a good look at this.  Disk 1 (volume name iSCSI) looks like real disk attached to my PC.  It&#8217;s not a real disk in the sense of Disk 0 which is real hardware spinning around inside this laptop.  Look over to the right.  The volume iSCSI looks like a hard drive.  It is not a network share like NAS40GB.  FreeNAS is presenting both the network share (NAS4oGB) and the volume iSCSI via iSCSI over my home netowrk.</p>
<p style="text-align:center;"><a href="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_1.png" target="_blank"><img class="aligncenter size-large wp-image-4337" title="FreeNAS_iSCSI_1" src="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_1.png?w=1024" alt="FreeNAS_iSCSI_1" width="614" height="384" /></a></p>
<p>This Microsoft web page will show you step by step how to connect to iSCSI storage.  The window to the right is the configuration that shows Windows where to find the network storage.  I took all the defaults.</p>
<p style="text-align:center;"><a href="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_2.png" target="_blank"><img class="aligncenter size-large wp-image-4339" title="FreeNAS_iSCSI_2" src="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_2.png?w=1024" alt="FreeNAS_iSCSI_2" width="614" height="384" /></a></p>
<p>Here is the configuration in FreeNAS.  The 1,000 MB (1GB) volume is just a blob of bits as a file under /mnt/NAS40GB/mySCSI.</p>
<p style="text-align:center;"><a href="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_3.png" target="_blank"><img class="aligncenter size-large wp-image-4340" title="FreeNAS_iSCSI_3" src="http://frrl.wordpress.com/files/2009/08/freenas_iscsi_3.png?w=1024" alt="FreeNAS_iSCSI_3" width="614" height="384" /></a></p>
<h2>Conclusion</h2>
<p>Go do.</p>
<h2>Resources</h2>
<p><a href="http://en.wikipedia.org/wiki/IP_SAN" target="_blank">http://en.wikipedia.org/wiki/IP_SAN</a></p>
<p><a href="http://www.freenas.org/index.php?option=com_openwiki&#38;Itemid=30&#38;id=sug:en" target="_blank">http://www.freenas.org/index.php?option=com_openwiki&#38;Itemid=30&#38;id=sug:en</a></p>
<div id="_mcePaste" style="left:-10000px;overflow:hidden;width:1px;position:absolute;top:0;height:1px;">iSCSI uses TCP/IP (typically <a title="TCP and UDP port" href="http://en.wikipedia.org/wiki/TCP_and_UDP_port">TCP ports</a> 860 and 3260). In essence, iSCSI simply allows two hosts to negotiate and then exchange <a title="SCSI" href="http://en.wikipedia.org/wiki/SCSI">SCSI</a> commands using IP networks. By doing this iSCSI takes a popular high-performance local storage bus and emulates it over wide-area networks, creating a <a title="Storage area network" href="http://en.wikipedia.org/wiki/Storage_area_network">storage area network</a> (SAN). Unlike some SAN protocols, iSCSI requires no dedicated cabling; it can be run over existing switching and IP infrastructure. As a result, iSCSI is often seen as a low-cost alternative to <a title="Fibre Channel" href="http://en.wikipedia.org/wiki/Fibre_Channel">Fibre Channel</a>, which requires dedicated infrastructure.</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Product Spotlight – Western Digital ShareSpace Network]]></title>
<link>http://komplettie.wordpress.com/2009/08/06/product-spotlight-%e2%80%93-western-digital-sharespace-network/</link>
<pubDate>Thu, 06 Aug 2009 12:51:52 +0000</pubDate>
<dc:creator>komplettie</dc:creator>
<guid>http://komplettie.wordpress.com/2009/08/06/product-spotlight-%e2%80%93-western-digital-sharespace-network/</guid>
<description><![CDATA[For anyone who hasn’t seen one before, every Thursday we do a nice and quick article on a single pie]]></description>
<content:encoded><![CDATA[For anyone who hasn’t seen one before, every Thursday we do a nice and quick article on a single pie]]></content:encoded>
</item>
<item>
<title><![CDATA[Tutorial: cvs server on FreeNAS]]></title>
<link>http://ejesconsulting.wordpress.com/2009/08/04/cvs-server-on-freenas/</link>
<pubDate>Tue, 04 Aug 2009 21:44:04 +0000</pubDate>
<dc:creator>ejes</dc:creator>
<guid>http://ejesconsulting.wordpress.com/2009/08/04/cvs-server-on-freenas/</guid>
<description><![CDATA[First, when I started to research if &#8220;cvs&#8221; would work on my FreeNAS I found a whole lot ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>First, when I started to research if &#8220;cvs&#8221; would work on my FreeNAS I found a whole lot of links to cvsd&#8230; but I recall using cvs over ssh for many many projects.  Couldn&#8217;t I run just cvs over ssh?</p>
<p>Yes You Can!!!  And this makes cvs on FreeNAS easier than ever.  Not much modification is required, and I am very happy to report that I&#8217;ve got mine working very well.</p>
<p>So let&#8217;s get into it shall we?</p>
<p>In order to get cvs working, we need the cvs binary.  FreeNAS is a FreeBSD core underneath the covers.  There are many many releases of FreeBSD so we should find out what release we have.  We can do this by running uname on the command prompt of your FreeNAS.</p>
<p>Mine says:</p>
<pre>nas:/mnt/default# uname -a

FreeBSD nas.ejes.gotdns.org 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #0: Sat Apr 18 22:17:59 UTC 2009     root@vmbsd64i386:/usr/obj/freenas/usr/src/sys/FREENAS-i386  i386
nas:/mnt/default#</pre>
<p>Now that I have the release number, I can simply browse the FreeBSD repository at ftp://ftp.freebsd.org (the 6.4 release is <a href="ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.4-RELEASE/6.4-RELEASE/packages/All/">ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.4-RELEASE/6.4-RELEASE/packages/All/</a>), and following the directory tree you can find most any other release.</p>
<p>Simply download the &#8220;cvs&#8221; binary cvs+ipv6-1.11.17_1.tbz (ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.4-RELEASE/6.4-RELEASE/packages/All/cvs+ipv6-1.11.17_1.tbz)</p>
<p>I used fetch on my system:</p>
<pre>nas:/mnt/default# fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.4-RELEASE/6.4-RELEASE/packages/All/cvs+ipv6-1.11.17_1.tbz cvs+ipv6-1.11.17_1.tbz
                        100% of  442 kB  266 kBps</pre>
<p>Then, in the GUI, I added a group called &#8220;cvs&#8221;, I gave it the group id 2401 because port 2401 was the cvs server port (and I may want to use pserver one day).</p>
<div id="attachment_209" class="wp-caption aligncenter" style="width: 710px"><img class="size-full wp-image-209" title="cvs group" src="http://ejesconsulting.wordpress.com/files/2009/08/cvs-group.png" alt="The Group I used for my cvs" width="700" height="411" /><p class="wp-caption-text">The Group I used for my cvs</p></div>
<div><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, 0;"><span style="line-height:19px;white-space:normal;"> </span></span></div>
<div><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;line-height:19px;white-space:normal;font-size:13px;">I added a new user _cvs with the userid of 2401 (for the same reason my group is 2401), his home directory will be my cvs root directory.  add user _cvs (id 2401), his <span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;">home directory is where my cvs root will be as well i put mine in /mnt/default/cvs.</span></span></div>
<div><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;font-size:small;"><span style="line-height:19px;white-space:normal;"><br />
</span></span></div>
<div><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, 0;"><span style="line-height:19px;white-space:normal;font-size:small;"></p>
<div id="attachment_210" class="wp-caption aligncenter" style="width: 710px"><img class="size-full wp-image-210" title="_cvs user" src="http://ejesconsulting.wordpress.com/files/2009/08/cvs-user.png" alt="the user _cvs for myself" width="700" height="411" /><p class="wp-caption-text">the user _cvs for myself</p></div>
<p></span></span></div>
<p>Thankfully a tbz file means a tar bzipped file.  So we can use tar to extract the package from freeBSD i want all my cvs stuff in one place so i&#8217;m going to extract it to my /mnt/default/cvs/tmp directory.</p>
<pre>nas:/mnt/default/cvs/tmp# tar -vxzf cvs+ipv6-1.11.17_1.tbz
x +CONTENTS
x +COMMENT
x +DESC
x +MTREE_DIRS
x man/man1/cvs.1.gz
x man/man5/cvs.5.gz
x man/man8/cvsbug.8.gz
x bin/cvs
x bin/cvsbug
x bin/rcs2log
x share/cvs/contrib/README
x share/cvs/contrib/check_cvs
x share/cvs/contrib/clmerge
x share/cvs/contrib/cln_hist
x share/cvs/contrib/commit_prep
x share/cvs/contrib/cvs2vendor
x share/cvs/contrib/cvs_acls
x share/cvs/contrib/cvscheck
x share/cvs/contrib/cvscheck.man
x share/cvs/contrib/debug_check_log
x share/cvs/contrib/intro.doc
x share/cvs/contrib/log
x share/cvs/contrib/log_accum
x share/cvs/contrib/mfpipe
x share/cvs/contrib/pvcs2rcs
x share/cvs/contrib/rcs-to-cvs
x share/cvs/contrib/rcs2log
x share/cvs/contrib/rcslock
x share/cvs/contrib/sccs2rcs
x info/cvs.info
x info/cvs.info-1
x info/cvs.info-10
x info/cvs.info-2
x info/cvs.info-3
x info/cvs.info-4
x info/cvs.info-5
x info/cvs.info-6
x info/cvs.info-7
x info/cvs.info-8
x info/cvs.info-9
x info/cvsclient.info
x info/cvsclient.info-1
x info/cvsclient.info-2
x info/cvsclient.info-3
nas:/mnt/default/cvs/tmp#</pre>
<div>The only binary we really need in that entire mess is the actual &#8220;cvs&#8221; binary.  Let&#8217;s copy it to /mnt/default/cvs/bin.</div>
<div>Once I&#8217;ve done that, I can symbolically link the cvs binary to a better place in your path, i put it in /bin.  /bin/ln -sf /mnt/default/cvs/bin/cvs /bin/cvs</div>
<div>Since I want this to happen each time after boot, I put it in the System&#124;Advanced&#124;Command scripts section of the FreeNAS GUI.</div>
<div><img class="aligncenter size-full wp-image-212" title="symlink cvs to /bin" src="http://ejesconsulting.wordpress.com/files/2009/08/symlink.png" alt="symlink cvs to /bin" width="700" height="411" /></div>
<div>While I&#8217;m there I should fix the permissions of /tmp so that everyone can write in it.  chmod a+rwx /tmp works nicely.</div>
<div><img class="aligncenter size-full wp-image-213" title="repermission /tmp" src="http://ejesconsulting.wordpress.com/files/2009/08/tmp.png" alt="repermission /tmp" width="700" height="411" /></div>
<div>Don&#8217;t forget to run them post-init (and run it too).</div>
<p>Go back and &#8220;Give full shell access to user.&#8221; to the _cvs user and log-in or &#8220;su _cvs&#8221; to become him.</p>
<p>Now we have to initialize the cvs root directory; mine is /mnt/default/cvs/root.  Run cvs init, and we&#8217;re off.</p>
<pre>nas:/mnt/default/cvs/tmp# su _cvs
%cvs -d ~/root init
%exit
nas:/mnt/default# chown -R _cvs:cvs cvs
nas:/mnt/default#</pre>
<p>Everything should be functional, all we need to do now is add anyone we want to be able to access cvs, to the &#8220;cvs&#8221; group.  I added &#8220;user&#8221; as a test.</p>
<p>On my OpenBSD terminal I setup a simple cvs system</p>
<pre>$ CVS_RSH=ssh cvs -d:ext:_cvs@nas:/mnt/default/cvs/root checkout .</pre>
<p>works! GREAT!!  Add my user to the &#8220;cvs&#8221; group, remove &#8220;shell&#8221; access from _cvs done!</p>
<p>My Remote users have to set these settings:</p>
<p>CVS_RSH=ssh</p>
<p>CVSROOT=:ext:user@host:/mnt/default/cvs/root</p>
<p>CVSEDITOR=nano</p>
<p>Now I can import directories using: cvs import -m &#8220;comment&#8221; module_name committer start</p>
<p>Check them out on another machine using: cvs checkout module_name</p>
<p>Add files or directories: cvs add &#8220;file/directory&#8221;</p>
<p>And Commit my changes once they&#8217;re made: cvs commit</p>
<p>For example:</p>
<pre>nas:/mnt/default# ssh user@192.168.0.2
user@192.168.0.2's password:
Last login: Tue Aug  4 16:46:50 2009 from 192.168.0.3
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
$ CVS_RSH=ssh; export CVS_RSH
$ CVSROOT=:ext:user@192.168.0.3:/mnt/default/cvs/root; export CVSROOT
$ CVSEDITOR=nano;export CVSEDITOR=nano
$ mkdir src
$ cd src
$ mkdir testing
$ cd testing
$ touch a file
$ ls
a    file
$ cvs import -m "testing" test ejes start
user@192.168.0.3's password:
N test/a
N test/file
No conflicts created by this import
$ mkdir new
$ cvs add n
$ touch new/more
$ cd ..
$ ls
testing
$ rm -rf testing/
$ cvs checkout test
user@192.168.0.3's password:
cvs checkout: Updating test
U test/a
U test/file
$ cd test
$ mkdir new
$ touch new/more
$ cvs add new
user@192.168.0.3's password:
? new/more
Directory /mnt/default/cvs/root/test/new added to the repository
$ cvs add new/more
user@192.168.0.3's password:
cvs add: scheduling file `new/more' for addition
cvs add: use 'cvs commit' to add this file permanently
$ cvs commit
cvs commit: Examining .
cvs commit: Examining new
user@192.168.0.3's password:
RCS file: /mnt/default/cvs/root/test/new/more,v
done
Checking in new/more;
/mnt/default/cvs/root/test/new/more,v  &#60;--  more
initial revision: 1.1
done
$</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[OpenFiler frustrations]]></title>
<link>http://denyscrowthersmith.wordpress.com/2009/08/04/openfiler-frustrations/</link>
<pubDate>Tue, 04 Aug 2009 17:56:39 +0000</pubDate>
<dc:creator>denyscrowthersmith</dc:creator>
<guid>http://denyscrowthersmith.wordpress.com/2009/08/04/openfiler-frustrations/</guid>
<description><![CDATA[So for the last 3 days I&#8217;ve been installing OpenFiler an opensource NAS solution. I for some r]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So for the last 3 days I&#8217;ve been installing OpenFiler an opensource NAS solution.</p>
<p>I for some reson volunteered to build a NAS box because our main servers are running out of room and I&#8217;ve had a few sata Hard drives unused. After installing FreeNAS I was quite impressed how easy it was until i discovered the horrible Active directory support and LDAP integration that didn&#8217;t work yet. </p>
<p>So I went with OpenFiler, decided it would be a good idea to try and run it from USB, beacuse its an old desktop machine (yes saving money by cutting corners, I&#8217;d like to see a nice rack mount too but not going to happen). The Machine has 4 Sata and one IDE port so a USB install seemed best idea as running a CD-ROM and HDD on the same cable / channel isn&#8217;t a very good idea. </p>
<p>The install went well I managed to figure out how to set up the partitions to run RAID 5 easily and even installed the linux based OS on the pen drive, which took hours. </p>
<p>When it came to Booting into OpenFiler I knew there would be difficulties from what I had read and that I  needed to play with the initrd image that is loaded from GRUB, as when it is installed from Cd it isn&#8217;t set up to with the correct USB modules, so After waiting hours for the install to finish you then boot into rescue mode from the CD type a few commands in and get immediate browny points for looking clever! </p>
<p>or not.. </p>
<p>I followed the instructions here: http://noppatech.wordpress.com/2008/01/08/openfiler-on-usb-stick/</p>
<p>and here:<br />
http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/</p>
<p>rebooted with fingers crossed and nothing just a blinking cursor, now ive had USB issues before but nothing in the bios would make a difference, i am still non the wiser, as it seems to be aqn issue with only larger Flash drives, I was Using a 4GB sony drive with 3 partitions on (root /boot and /swap) as were the smaller drives that i tried, only the 1GB Samsung drive would boot and the grubs and related files are exacly the same. </p>
<p>I wanted to use a 2GB ideally as this is the recommended size. </p>
<p>Anyway I took so long at work messing with this I took the NAS box home where I managed to get it working in a couple of hours, will be taking it back to work tomorrow for my brownie points <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Gadgets and Computers]]></title>
<link>http://burriseng.wordpress.com/2009/07/23/gadgets-and-computers/</link>
<pubDate>Thu, 23 Jul 2009 09:08:41 +0000</pubDate>
<dc:creator>burriseng</dc:creator>
<guid>http://burriseng.wordpress.com/2009/07/23/gadgets-and-computers/</guid>
<description><![CDATA[I am often asked about the computers I have and gadgets I use, so I will just list them: Main PC ]]></description>
<content:encoded><![CDATA[I am often asked about the computers I have and gadgets I use, so I will just list them: Main PC ]]></content:encoded>
</item>
<item>
<title><![CDATA[FreeNAS ile ücretsiz bir Ağa Bağlı Sunucu kurun]]></title>
<link>http://tmhack.wordpress.com/2009/07/23/freenas-ile-ucretsiz-bir-aga-bagli-sunucu-kurun/</link>
<pubDate>Thu, 23 Jul 2009 08:46:54 +0000</pubDate>
<dc:creator>tmhack</dc:creator>
<guid>http://tmhack.wordpress.com/2009/07/23/freenas-ile-ucretsiz-bir-aga-bagli-sunucu-kurun/</guid>
<description><![CDATA[http://www.pclabs.com.tr/2009/07/20/freenas-ile-ucretsiz-bir-aga-bagli-sunucu-kurun/]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>http://www.pclabs.com.tr/2009/07/20/freenas-ile-ucretsiz-bir-aga-bagli-sunucu-kurun/</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Testuj z nami: Serwerownia; Odcinek 1.]]></title>
<link>http://xeen.wordpress.com/2009/07/22/testuj-z-nami-serwerownia-odcinek-1/</link>
<pubDate>Wed, 22 Jul 2009 19:18:34 +0000</pubDate>
<dc:creator>nox5</dc:creator>
<guid>http://xeen.wordpress.com/2009/07/22/testuj-z-nami-serwerownia-odcinek-1/</guid>
<description><![CDATA[Genialność pewnych zachowań ludzkich jest nie do ogarnięcia. W ramach testów i serwerowni, zainstalo]]></description>
<content:encoded><![CDATA[Genialność pewnych zachowań ludzkich jest nie do ogarnięcia. W ramach testów i serwerowni, zainstalo]]></content:encoded>
</item>
<item>
<title><![CDATA[Build Your Own File Server]]></title>
<link>http://komplettie.wordpress.com/2009/07/22/build-your-own-file-server/</link>
<pubDate>Wed, 22 Jul 2009 13:29:01 +0000</pubDate>
<dc:creator>komplettie</dc:creator>
<guid>http://komplettie.wordpress.com/2009/07/22/build-your-own-file-server/</guid>
<description><![CDATA[When we ran our article on setting up your own file server, we ran with the assumption that most peo]]></description>
<content:encoded><![CDATA[When we ran our article on setting up your own file server, we ran with the assumption that most peo]]></content:encoded>
</item>
<item>
<title><![CDATA[Tutorial: Bittorrents in FreeNAS]]></title>
<link>http://ejesconsulting.wordpress.com/2009/07/20/bittorrents-in-freenas/</link>
<pubDate>Mon, 20 Jul 2009 14:00:23 +0000</pubDate>
<dc:creator>ejes</dc:creator>
<guid>http://ejesconsulting.wordpress.com/2009/07/20/bittorrents-in-freenas/</guid>
<description><![CDATA[As you might notice, I have been playing around with FreeNAS a lot lately. Among the many features t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>As you might notice, I have been playing around with FreeNAS a lot lately.</p>
<p>Among the many features that I enjoy in the FreeNAS project, one of my very favorite ones is the Bittorrent Server that it has built in.</p>
<p>Really it&#8217;s just a verion of Transmission bittorrent web client which I remember from Mac OS.  <a href="http://www.transmissionbt.com/">(http://www.transmissionbt.com/</a>) but running in WebGUI mode (by default on your freeNAS server on port 9091 <a href="http://freenas:9091">http://freenas:9091</a> or similar)</p>
<p>The features that I want specifically is the blocklist feature, which allows you to download a list of blocked ips from known malware locations or otherwise malicious sites, and the ability to encrypt my traffic so that my ISP cannot detect my bittorrent traffic.</p>
<p>So let&#8217;s get started:</p>
<p>Step 1:  Let&#8217;s open our firewall to let incomming bittorrent connections through.  This will help the speed of my bittorrent client dramatically.  In order to trick my ISP from throttling my connections, I&#8217;ll be trying to get bittorrent to look like a VPN.  This is accomplished by allowing only encrypted peers and setting the bittorrent traffic to well known VPN TCP port 1723.  On the firewall I only need to forward the VPN traffic port TCP/1723 on all WAN connections to my FreeNAS server on the same port.</p>
<p>Step 2: Under System&#124; Advanced &#124; rc.conf tab in the FreeNAS webGUI;  add two variables: transmission_blocklist=YES, and transmission_noblocklist=NO.</p>
<p>Step 3: Under Services &#124; Bittorret; set the incomming port the 1723 (the VPN port I set earlier on my firewall), Disable UPNP, and enable Encryption.  Then Save and Restart the service.</p>
<p>Step 4: Download the blocklistdl script from my script repo (<span><a href="http://ejesconsulting.wordpress.com/blocklistdl/">http://ejesconsulting.wordpress.com/<span title="Click to edit this part of the permalink">blocklistdl/</span></a>).  Its actually the same as the script from (<a href="http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=60&#38;t=519&#38;start=40">http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=60&#38;t=519&#38;start=40</a>).  Place the script in a conveniant directory.  I put mine in my transmission home directory in a subdirectory called &#8220;bin&#8221;.  I changed the attributes to executable, and owned by &#8220;transmission:staff&#8221;; the user and group that bittorrent runs as.</span></p>
<p><span><span title="Click to edit this part of the permalink">Step 5: Add a cron job to the System &#124; Advanced &#124; Cron tab of the FreeNAS Web Gui to run the script at a predetermined time.  I set min to run every Sunday night at midnight.</span></span></p>
<p><span><span title="Click to edit this part of the permalink">Step 6: While in the cron tab, I added a few timed download limits so that while I&#8217;m asleep or not home the bittorrent client can take 100% of the network bandwith, but while I&#8217;m expected to be at home it would reduce it&#8217;s available downloads to a fraction of my maximum bandwitdth. </span></span></p>
<p><span><span title="Click to edit this part of the permalink">The command is &#8220;/usr/local/bin/transmission-remote &#8211;no-uplimit &#8211;no-downlimit &#8211;auth admin:xxxxxxxx&#8221; to unlimit and </span></span><span><span title="Click to edit this part of the permalink">&#8220;/usr/local/bin/transmission-remote &#8211;uplimit 20 &#8211;downlimit 20 &#8211;auth admin:xxxxxxxx&#8221; to limit to 20Kbps and 20Kbps upload and download while I&#8217;m home &#8211; please modify these parameters as you see fit.</span></span></p>
<p><span><span title="Click to edit this part of the permalink"></p>
<p></span></span></p>
<p><span><span title="Click to edit this part of the permalink"> </span></span> As always, if you find this useful or need more info I&#8217;d be happy to help.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[FreeNAS vs Openfiler]]></title>
<link>http://invaleed.wordpress.com/2009/07/18/freenas-vs-openfiler/</link>
<pubDate>Sat, 18 Jul 2009 17:32:56 +0000</pubDate>
<dc:creator>invaleed</dc:creator>
<guid>http://invaleed.wordpress.com/2009/07/18/freenas-vs-openfiler/</guid>
<description><![CDATA[Hari ini saya punya kesempatan untuk nyobain dua free server NAS (Network-Attached Storage), FreeNAS]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone" src="http://www.openfiler.com/products/openfiler_protocols.png" alt="" width="420" height="244" /></p>
<p>Hari ini saya punya kesempatan untuk nyobain dua free server NAS (<a href="http://en.wikipedia.org/wiki/Network-attached_storage">Network-Attached Storage)</a>, <a title="FreeNAS" href="http://www.freenas.org" target="_blank">FreeNAS</a> &#38; <a title="Openfiler" href="http://www.openfiler.com/" target="_blank">Openfiler, </a><a title="FreeNAS" href="http://www.freenas.org/" target="_blank">FreeNAS</a> berbasis FreeBSD dan <a title="Openfiler" href="http://www.openfiler.com/" target="_blank">Openfiler</a> berbasis Linux CentOS.</p>
<p>Hasil sementara<strong> &#8220;saya lebih memilih <a title="FreeNAS" href="http://www.freenas.org/" target="_blank">FreeNAS</a> daripada <a title="Openfiler" href="http://www.openfiler.com/" target="_blank">Openfiler</a></strong><strong>&#8220;</strong>, kenapa? secara umum fitur dari keduanya hampir sama, tapi ada beberapa alasan khusus yang membuat saya menjatuhkan pilihan ke <a title="FreeNAS" href="http://www.freenas.org/" target="_blank">FreeNAS</a>.</p>
<ul>
<li>Administrasinya lebih simple dan mudah.</li>
<li>Filesystem UFS (filesystem default di <a title="FreeNAS" href="http://www.freenas.org/" target="_blank">FreeNAS</a>) lebih tidak mudah corrupt dibanding ext3 (file system default di <a title="Openfiler" href="http://www.openfiler.com/" target="_blank">Openfiler</a>), apalagi sekarang <a title="FreeNAS" href="http://www.freenas.org/" target="_blank">FreeNAS</a> sudah include ZFS support (FreeNAS 0.7RC1 (Sardaukar)).</li>
<li>Ukuran installer FreeNAS lebih kecil dibanding Openfiler.</li>
</ul>
<p>Untuk info lengkapnya silahkan berkunjung ke masing-masing website officialnya, atau bisa juga membaca tulisan yang sangat menarik yang membahas tentang keduanya <a title="FreeNAS vs Openfiler" href="http://meta.wacana.net/archives/51-Gudang-Data-Opensource-FreeNAS-atau-Openfiler.html" target="_blank">disini</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Adult swim]]></title>
<link>http://mikestermike.wordpress.com/2009/07/14/adult-swim/</link>
<pubDate>Tue, 14 Jul 2009 18:19:13 +0000</pubDate>
<dc:creator>mikestermike</dc:creator>
<guid>http://mikestermike.wordpress.com/2009/07/14/adult-swim/</guid>
<description><![CDATA[  Fun and games. But I don’t get to play.   Before I begin my disjointed wandering rant, I thought I]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p> </p>
<p>Fun and games. But I don’t get to play.</p>
<p> </p>
<p><!--more--></p>
<p>Before I begin my disjointed wandering rant, I thought I’d say hello to those who are reading the RSS feed on Facebook. This is a blog I keep to vent, inform, and entertain.</p>
<p>I blog in stereo from:</p>
<p><a href="http://mikestermike.livejournal.com/">http://mikestermike.livejournal.com</a> and <a href="http://mikestermike.wordpress.com/">http://mikestermike.wordpress.com</a></p>
<p> </p>
<p> </p>
<p>I swam 200m this morning again. Unfortunately I felt completely ill afterwards. I think I am probably over exerting myself. I also am probably not drinking enough water. I am trying to rectify both of those issues. I swim horribly with mainly doing sidestroke. I mix in some breaststroke, but crawl is so difficult for me because of the breathing timing. I find I need to take a bigger breath than my pace will allow. I believe I am still trying to swim at swim team speeds.</p>
<p> </p>
<p>I forgot to bring my clothes, so I had to return to the house after the swim to get dressed for work. Oh well. I was going to be early, which would have allowed me to leave early.</p>
<p> </p>
<p>I have my headphones on listening to Frank Sinatra. The children pretending to be engineers around here make such a ruckus in my hallway. Of course, they do not even have offices here. But, plant decorum prohibits me from telling them to shut the hell up and slamming my door. I really wanted to slam my door today.</p>
<p> </p>
<p>Slamming. What a release. The rush of air that pushes past you as the door swings by, like standing next to a highway feeling the cars dash by. The satisfying *slam* as the door makes contact with the jamb. The reverberations from the impact making the wall decorations and knick-knacks dance an angry, short ballet. So irate are they, that one or two items are driven to suicidal mania, leaping from the wall to crash, tinkle or crunch against the hard tile.</p>
<p> </p>
<p>I so needed that this morning.</p>
<p> </p>
<p>I forgot my drugs this morning, so I was shaking when I was confronting an irrational safety tech and deaf boss. I kept my tone in check, and never used my trump of “This is horseshit!” verbal fragmentation grenade. What is even more frustrating is that people come up to me after I am blown off, and say “you were right” or “yeah, that’s the truth” or “you’ll never win.” No one has told me I was in error yet. I am not always right, but I try to use logic and reason to prove a point. They just didn’t even want to address what I was saying. They just wanted me to nod my head and shut up.</p>
<p> </p>
<p>I can’t do that. I just can’t. And it will always get me into trouble unless I am careful how I word things. So, I went home and got my drugs at lunch.</p>
<p> </p>
<p>I did stop by my old plant to give tem a hand on a problem. They would have figured it out eventually. I just helped it along and provided a little training. I do miss having my micro-kingdom. It was still frustrating that no one listened to me above, but I did have some good working relationships with my peers.</p>
<p> </p>
<p>The job sucked, but it had its perks.</p>
<p> </p>
<p>I refinanced my student loan. Actually, I consolidated it. Locked it at 2.25%, baybee!. Will lower my payments substantially (increased the term, but I needed the relief now). The amount of interest paid will be about the same, unless I pay off early (50%+ drop in rate).</p>
<p> </p>
<p>I got to online chat with her, the ex-girlfriend that has been on my mind. It was refreshing. We talked about family and her vacation plans. I miss her friendship as much as I miss her I think. Maybe more. It would just be too awkward now, I think.</p>
<p> </p>
<p>I did a test run on the file server I built for our house. I am running FreeNAS. It worked like a champ. Large transfers fromPC to NAS was about the same as PC to PC. I shut it down, but will restart it soon. I am using an old Dell Dimension 2400 and a 250 GB drive to test it. I will eventually move it to the new case and motherboard I ordered (very cheaply as it is an old P4 board. I have tons of P4 procs laying around). I have to move it because the Dell has no SATA or room for more than 2 drives. The new enclosure will have 5 HD bays. I plan to run 4 drives in RAID 5, unless I can get some really large drives cheap, then I might go with 3. The Dell will then become a Unix test machine. Now, the new mobo didn’t have SATA, either (even the P4 ones that did only have 2). The large drives need SATA. I do have a 4 port SATA PCI card, so we’ll see if it works. If it doesn’t, no sweat. I am only paying around 20 bucks shipped for the mobo.</p>
<p> </p>
<p>I have started a few conversations with new folks online. There is one in Friendswood I hope works out well. She seems to be pretty cool.</p>
<p> </p>
<p>Well, that’s enough for now.</p>
<p> </p>
<p>L8rs-</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Updated Screenshots for MediaWiki Tutorial]]></title>
<link>http://ejesconsulting.wordpress.com/2009/07/13/updated-screenshots-for-mediawiki-tutorial/</link>
<pubDate>Mon, 13 Jul 2009 12:51:16 +0000</pubDate>
<dc:creator>ejes</dc:creator>
<guid>http://ejesconsulting.wordpress.com/2009/07/13/updated-screenshots-for-mediawiki-tutorial/</guid>
<description><![CDATA[Sorry for the delay, but I deleted the original ones that I&#8217;d done.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div class="mceTemp">Sorry for the delay, but I deleted the original ones that I&#8217;d done.</div>
<div class="mceTemp">
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Set Up Your Own File Server]]></title>
<link>http://komplettie.wordpress.com/2009/07/09/set-up-your-own-file-server/</link>
<pubDate>Thu, 09 Jul 2009 11:27:51 +0000</pubDate>
<dc:creator>komplettie</dc:creator>
<guid>http://komplettie.wordpress.com/2009/07/09/set-up-your-own-file-server/</guid>
<description><![CDATA[One of the products we find sees a lot of traffic is small NAS (Network Attached Storage) setups. Ad]]></description>
<content:encoded><![CDATA[One of the products we find sees a lot of traffic is small NAS (Network Attached Storage) setups. Ad]]></content:encoded>
</item>
<item>
<title><![CDATA[FreeNAS.org]]></title>
<link>http://ubuntu88.wordpress.com/2009/06/20/freenas-org/</link>
<pubDate>Sat, 20 Jun 2009 06:16:03 +0000</pubDate>
<dc:creator>ubuntu88</dc:creator>
<guid>http://ubuntu88.wordpress.com/2009/06/20/freenas-org/</guid>
<description><![CDATA[I have Cyrix 800 MHz with 256 MB + 128 MB SDRam. With 150GB HDD. Since I work with several computers]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have Cyrix 800 MHz with 256 MB + 128 MB SDRam. With 150GB HDD. Since I work with several computers, NAS (Network Attached Storage) is the best options rather than using the USB IDE External Case.</p>
<p>FreeNAS.org so is quite interesting.</p>
<p>Download the FreeNAS ISO 0.6.92 or 0.6.91 from www.freenas.org<br />
Burn it on the CD with Ubuntu &#8211; Brasero, give warning after closing session. ( I forgot exactly what it is).<br />
Boot from CD, install embedded, and voila.</p>
<p>The NAS are ready to use.</p>
<p>Since my 150GB HDD are ntfs, I got unresolved problem; so move files to another computer, and put back the HDD on the FreeNAS. Format with UFS (File System).</p>
<p>There are some way to access the FreeNas from working computers. Some of it are Samba (Windows Share), NFS (Unix Network File System) SSH and FTP.<br />
NFS is preferable on Ubuntu workstation accessing the FreeNAS, which NFS give the ability to use the symlink.</p>
<p>Great Job FreeNas.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Jaunty Local Repository sources.list]]></title>
<link>http://ubuntu88.wordpress.com/2009/06/20/jaunty-local-repository-sources-list/</link>
<pubDate>Sat, 20 Jun 2009 05:14:44 +0000</pubDate>
<dc:creator>ubuntu88</dc:creator>
<guid>http://ubuntu88.wordpress.com/2009/06/20/jaunty-local-repository-sources-list/</guid>
<description><![CDATA[Here is my /etc/apt/sources.list accessing local repository on my FreeNas (using NFS) #cat /etc/apt/]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here is my /etc/apt/sources.list accessing local repository on my FreeNas (using NFS)</p>
<p>#cat /etc/apt/sources.list</p>
<p>deb file:/media/nfs/repo-jaunty/dvd1 jaunty main restricted<br />
deb file:/media/nfs/repo-jaunty/dvd2 jaunty main restricted multiverse<br />
deb file:/media/nfs/repo-jaunty/dvd3 jaunty universe<br />
deb file:/media/nfs/repo-jaunty/dvd4 jaunty universe<br />
deb file:/media/nfs/repo-jaunty/dvd5 jaunty universe<br />
deb file:/media/nfs/repo-jaunty/dvd6 jaunty universe</p>
<p>Next step :</p>
<p>#sudo apt-get update</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
