Archive

Archive for the ‘Tips’ Category

How to build a FreeNAS box the bit-tech.net way!

July 23rd, 2010 Comments off

Bit-tech have posted an excellent tutorial on “How to build a NAS box” which includes both the hardware aspects and the software, which in this case is FreeNAS.

“A NAS – or Network Attached Storage box is the easy and increasingly popular answer because you can simply drag and drop files to/from any PC… NAS boxes are a very low power way to store masses of data, while also giving everyone on the network access to that data.”

As they go on to say there is a certain satisfaction from doing stuff yourself.

The tutorial covers:

  • How to build a NAS box
  • The Best NAS Hardware: Hard Drives and RAID Cards
  • The Best NAS Hardware: CPU and Motherboard
  • The Best NAS Hardware: Memory, Case and PSU
  • BIOS Setup – Underclocking and Undervolting to Save Power
  • FreeNAS setup
  • Using FreeNAS for Bit Torrent

You can read more here: http://www.bit-tech.net/hardware/storage/2010/07/23/how-to-build-a-nas-box/

Categories: Tips Tags:

How to Secure Your FreeNAS Server

February 24th, 2010 2 comments

Via the FreeNAS forum, Phan Vinh Thinh has posted some details on how to secure your FreeNAS server.

  1. Change the WebGUI admin/root password (the default is: freenas)
    Use a very strong password if you intend to access FreeNAS over the Internet.
    Please note – admin/root accounts use the same password.
    Please note – Users that are members of the wheel group can su to root if they know the root password.
  2. Change WebGUI admin user name (the default is admin), to protect your system against dictionary attacks.
  3. DO NOT give shell access to everybody.
  4. DO NOT use FTP over the Internet, use SSH or SFTP instead.
  5. DO NOT enable Password Authentication with SSH, set-up and use SSH key based authentication.
  6. Always use https protocol to access WebGUI interface.
  7. DO NOT open your WebGUI server to internet, rather open a tunnel via SSH from client to server.

See the rest of his blog entry for a brief tutorial on implementing these steps Phan’s blog: How to secure your FreeNAS server

Categories: Tips Tags:

Growing Mirrored and Encrypted Partitions in FreeNAS

November 6th, 2009 Comments off

Alexander Kojevnikov has set up a FreeNAS server using RAID 1 (AKA mirroring) and encryption. But is asking himself the question what if, in the future, I 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. In practice however it’s not,

Alex has found a post by Mike Oliver called FreeNAS 0.7.3953, RAID 1, growfs… oh my! explaining how to do this under FreeNAS.

However if you add encryption it is a little more complicated… Thankfully Alex’s post as the procedure needed!

Related links: Growing mirrored and encrypted partitions in FreeNAS

Categories: Tips Tags:

Making a File Server with FreeNAS

November 6th, 2009 Comments off

The Windows7holic blog has posted a tutorial about setting up FreeNAS.

The tutorial is quite advanced and not only covers booting, installation and initial configuration but also covers RAID.

Related links:

Windows 7: Assembling File Server with the Red Devils

Categories: Tips Tags:

FreeNAS 0.7 – Samba tuning

October 22nd, 2009 Comments off

harryd has written a short post with some pointers to tutorials about Samba tuning with FreeNAS 0.7:

Here is a nice blogpost from learnedbyerror about tuning samba (and other…). Especially the samba/cifs tweaks should give you a performance boost.”

Harryd doesn’t recommend you use the old zfs tuning settings as the latest FreeNAS versions are based on FreeBSD 7.2 (see http://wiki.freebsd.org/ZFSTuningGuide).

Related links:

harryd: FreeNAS 0.7 – Samba tuning

Categories: Tips Tags:

Howto Connect A Dvico Tvix to FreeNAS with NFS

October 13th, 2009 Comments off

Here is a short blog entry about how to connect a Dvico Tvix to FreeNAS with NFS.

Related links:

My Howto`s: Dvico Tvix to Freenas with NFS

Categories: Tips Tags:

How You Can Build a Media NAS For Next to Nothing Using FreeNAS

October 9th, 2009 Comments off

Marton Pipe of Home Cinema Choice has written a guide about using FreeNAS for media storage.

“If you have an old PC sitting around it’s surprisingly easy to create a NAS (Network Attached Storage) repository for your media.”

“For the purposes of this project, I spent a mere £20 on a six year-old Evesham 2.8GHz Pentium 4 (i.e. single-core) with 512MB of RAM (pictured above).”

“FreeNAS provides many useful features. As with commercial NAS boxes, a built-in webserver allows you to remotely administer it from a PC on your network – just enter the IP address that it can automatically derive via DHCP.”

Related links:

How you can build a media NAS for next to nothing…or even less | Home Cinema Choice

Categories: Tips Tags:

How to Connect SLES 10 to a Free NAS iSCSI Server

October 8th, 2009 Comments off

Simon Day has published a guide on how to connect a Suse Linux Enterprise Server 10 SP1 (SLES) to a FreeNAS Server using iSCSI.

The guide assumes that you have built and configured a FreeNAS Server with working iSCSI Targets.

The guide covers:


  • Install the iSCSI Initiator Package in SLES
  • Configure the iSCSI Initiator to connect to your Free NAS server
  • Set the iSCSI Initiator Service to start when booting
  • Add the iSCSI target
  • Establish Target Connection
  • Change Startup
  • Adding the iSCSI Target to the Linux File system
  • Creating the Linux Partition and assigning a mount point
  • Check the new Mount-point

Related links:

How to Connect SLES 10 to a Free NAS iSCSI Server

Categories: Tips Tags:

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: