Archive

Archive for August, 2009

FreeNAS Bash Script to Start a ZFS Scrub on Each Pool

August 31st, 2009 Comments off

Hype-o-thetic.com has published a script which performs a scrub on each pool. ZFS automatically checks for errors when it reads/writes files, but you can force a check with the scrub command.

After uploading the script to your FreeNAS machine, hype-o-thetic.com suggest you make it run automatically, by going to System –> Advanced –> Cron and add it as Monthly cron job.

You can find the script here:
FreeNAS Bash script to start a ZFS scrub on each pool (scrub.sh) – hype-o-thetic?com

Categories: Tips Tags:

Jonathan Brown’s Six Part Adventure With FreeNAS

August 31st, 2009 Comments off

Jonathan Brown has been playing with FreeNAS and has written a six part guide to his adventures. By the end of this adventure he configured FreeNAS and has a nice 2.6TB storage device connected to his network.

You can read all about it here:

Categories: Tips Tags:

Setting Up FreeNAS for a Central File Server – Part 1

August 28th, 2009 Comments off

Sharing files using Windows is quick and simple at first, but it also has downsides. However, using network attached storage (NAS) drives has many advantages, such as centralized access, a network recycling bin, and multi-OS support. Eric Geier shows you how to set up a NAS or network drive for free by using the open source FreeNAS program.

Eric covers:


  • Benefits of Using NAS Devices

    • Recycle bin support
    • PCs don’t have to be on to access shares
    • Better and easier control over shares
    • Supports native file sharing protocols of Windows, Linux, and Mac OS X

  • FreeNAS Protocols and Features
  • Building Your FreeNAS Machine
  • Getting FreeNAS on the Network

Eric plans a part 2 in which he will show how to access the web GUI and perform some initial configuration. Then he look at how to set up the disks, so that you can start sharing with the popular protocols.

Stay tuned as I will update the blog when part 2 is published.

Related links:

InformIT: Setting Up FreeNAS for a Central File Server: Part 1 > Benefits of Using NAS Devices

Categories: Tips Tags:

Building a 3 TB Backup Server Using FreeNAS

August 26th, 2009 Comments off
Categories: Videos Tags:

FreeNAS and iSCSI – When a Local Disk is Not Local

August 26th, 2009 Comments off

‘frrl’ has written a tutorial about FreeNAS and iSCSI. In case you don’t know iSCSI (Internet SCSI) is an evolution of the SCSI protocol, which allows SCSI commands to be sent over a network. It allows two hosts to negotiate and then exchange SCSI commands using IP networks. The result is that a remote device with iSCSI capabilities can be seen to be a local disk drive but the commands and data for that device are being sent over the network rather than down a cable in the machine.

In iSCSI clients (called initiators) are able to send SCSI commands to SCSI storage devices (targets) on remote servers. FreeNAS can act as an iSCSI initiator or and iSCSI target.

The tutorial covers:

What can iSCSI do for you?
Why SAN?
FreeNAS and iSCSI

Related links:

Fun with FreeNAS – iSCSI – When a local disk is not local « http://frrl.wordpress.com

Categories: Tips Tags:

Installing MySQL And phpMyAdmin On FreeNAS

August 26th, 2009 Comments off

HowtoForge has a great tutorial on how to install MySQL and phpMyAdmin on FreeNAS 0.7RC1. The author wrote the tutorial when he needed to run some php based web applications and the only system around was FreeNAS.

For this tutorial the following software and configurations is used:


  • FreeNAS version 0.7RC1
  • Installed with option “install ‘full’ OS on HDD + data + swap partition” or “install ‘full’ OS on HDD + data partition”
  • Installaed with enough space on OS partition to install additional packages
  • A working Internet connection

Read the tutorial at: Installing MySQL And phpMyAdmin On FreeNAS | HowtoForge – Linux Howtos and Tutorials

Categories: Tips Tags:

Two Security Alerts for FreeNAS

August 24th, 2009 Comments off

The NVD (National Vulnerability Database) has issued two security alerts for FreeNAS.

1. Cross-site scripting (XSS) vulnerability in FreeNAS before 0.69.2 allows remote attackers to inject arbitrary web script or HTML via unknown vectors.

2. Cross-site request forgery (CSRF) vulnerability in the WebGUI in FreeNAS before 0.7RC1 allows remote attackers to hijack the authentication of users for unspecified requests via unknown vectors.

If your FreeNAS is in anyway connected to the Internet it is recommended that you upgrade. If your FreeNAS is on a secure LAN then these issues will probably not affect you.

Related links:

National Vulnerability Database (NVD) National Vulnerability Database (CVE-2009-2739)

National Vulnerability Database (NVD) National Vulnerability Database (CVE-2009-2738)

Categories: News Tags:

How to Turn That Old PC Into a High Tech Network Storage, Web Server, and Torrent Server

August 23rd, 2009 Comments off

‘frrl’ has written a tutorial about FreeNAS… The post includes


  • What do you need to set this up?
  • Doesn’t need keyboard, mouse, or monitor
  • My experience
  • Go Do
  • Resources
  • Gallery of my setup

Related links: NAS for Clunkers

Categories: Tips Tags:

CVS Server on FreeNAS

August 23rd, 2009 Comments off

Ejes consulting has written another FreeNAS post, this time about running a CVS server on FreeNAS. Concurrent Versioning System is a free software revision control system in the field of software development. Version control system software keeps track of all work and all changes in a set of files, and allows several developers (potentially widely separated in space and/or time) to collaborate.

The ejes consulting tutorial takes you through the steps to get the CVS server running on FreeNAS including package installation, users and groups and file permissions.

Read more here: cvs server on FreeNAS « ejes consulting

Categories: Tips Tags:

Learning FreeNAS: Book Review

August 8th, 2009 Comments off

Eric Kie of the network0.org blog has written a review of my book Learning FreeNAS and I glad to say that he likes it!

Here are a few excerpts from this review: I was given the chance to review Learning FreeNAS by Gary Sims. As any good geek, I like to know the nuts and bolts of the OS I’m running. Gary Sims has delievered on this expectation. I think this book would be excellent for an intermediate user who has built their own computer before and has spare hardware laying around or some capability to run FreeNAS in a virtual machine as it is an excellent way to learn about FreeNAS.


Learning FreeNAS is also full of good pointers such as capacity planning (you can never have too much disk space!) and backup strategies (such as building 2 FreeNAS servers to mirror each other) to consider when you are building your NAS. It also goes into helping you understand drive types such as IDE, SATA, and SCSI and the various RAID Levels (0,1,5,6,10) and when it is appropriate to use each. Gary also points out the networking options that exist within FreeNAS and which ones will yield the best results.

As a conclusion Eric writes:
I would definitely recommend buying this book if you are looking to build or test FreeNAS as it is a clear and conscise guide to learning and implementing FreeNAS. Gary has done a terrific job in detailing all the features included in FreeNAS.

You can read the full review here: Learning FreeNAS: A Review

Categories: News Tags: