Making a software RAID1 under FreeNAS (video)

These two videos show how to set up a software RAID1 under FreeNAS.

If you’re wondering what RAID1 means, RAID1 uses mirroring to write data to for instance two drives. This means that when you write a file or save a video, the file is written to two disks. If one of the disks fails, you simply replace it and rebuild the mirror, i.e. one disk is an exact copy of they other. The tradeoff with this setup is cost. With RAID1, you purchase double the amount of storage space that your data requires.

Video 1


Video 2


Available: FreeNAS 8.0 RC2

iXsystems has announced FreeNAS RC2. Josh Paetzel writes:

I uploaded RC2 to Sourceforge Friday and am just getting around to an announcement now, some health issues prevented me from gettin as much computer time as I would’ve liked this weekend.

That being said, RC2 is now available! Please check out the release notes when you download, we introduced an upgrade via the GUI feature in RC1, so with this release that can be taken advantage of.

This version contains fixes for issues that were encountered in RC1. It does not contain the list of new functionality that was scheduled for RC2, but it contains enough fixes that it was a significant improvement over RC1.

FreeNAS 8 should be installed to a USB stick or Compact Flash device. It requires a device of at least 1 GB in size. In a departure from FreeNAS 0.7 releases, the OS drive can not be used as a component for a volume, nor can it be partitioned for sharing.

New in this RC:

GUI Firmware upgrades are supported, but do to a bug in the interaction between FreeBSD, lighttpd, and python they work intermittantly. There is a work-around which wasn’t implemented in time for RC2. The procedure involves running commands from the CLI shell. etc etc

Links:

Multi-Core, Multi-OS Scaling Performance (pc-bsd incl)

Phoronix has completed another test that involved PC-BSD. This time multi-core performance was compared between PC-BSD, OpenIndiana, CentOS and Fedora:

"In this article we are looking at how Linux, OpenSolaris, and FreeBSD scale across multiple cores. Benchmarked are CentOS 5.5, Fedora 14, PC-BSD/FreeBSD 8.1, and OpenIndiana b148 as we see how the performance differs when running on one, two, three, four, and six cores, plus when Intel Hyper Threading is enabled.

To do this comparison the Intel Core i7 970 "Gulftown" processor was used, which boasts six physical cores plus Hyper Threading. With the ASRock X58 SuperComputer motherboard, from the BIOS the number of enabled cores can be adjusted as well as toggling Hyper Threading. CentOS, Fedora, PC-BSD, and OpenIndiana were tested in their stock OS configurations, aside from building GCC 4.5.1 on each of these operating systems to have a similar compiler across platforms."

There are a couple of interesting graphs, but as usual, keep in mind that PC-BSD is not Linux. Then again, PC-BSD’s performance is a lot better than in other, previous tests.

Full review: Multi-Core, Multi-OS Scaling Performance (Phoronix.com 21/02/2011)

FreeBSD 8.2 expands ZFS support (without Oracle)

FreeBSD has expanded support for ZFS in FreeBSD 8.2 and supports ZFS version 15.

Matt Olander (CTO at iXsystems) and Josh Paetzel (IT director at iXsystems) were interviewed by datamation.com.

"FreeBSD 8 is autotuning in a lot of areas, and the autotuning for ZFS has been improved. People who are using ZFS heavily generally were already running 8-STABLE because it was superior to 8.1. 8.2 rolls up those changes into a release."

said Josh Paetzel.

Since being acquired by Oracle, OpenSolaris is now longer alive, but that isn’t going to stop FreeBSD from furthering ZFS development.

"Having seen the writing on the wall some time ago, we started a coalition of several interested companies before OpenSolaris went EOL. This coalition is invested in maintaining FreeBSD and ZFS technology. We are actively working together to make sure that ZFS has a very secure future on FreeBSD."

Olander noted that besides iXsystems he was not at liberty to name the other companies, though he hinted that some of them are fairly large and successful. He added that he is also aware of other efforts to maintain OpenSolaris specifically for ZFS.

"It’s my belief that in time, FreeBSD will become the de facto platform for ZFS as we already have all the pieces and don’t have to maintain an operating system just to keep working on a filesystem,"

Olander said.

Read the whole article: FreeBSD 8.2 expands ZFS support (without Oracle) (datamation.com 25/02/2011)

ZFS v28 in FreeBSD 9-CURRENT

Pawel Jakub Dawidek has added the latest open-source ZFS file system version (28) to FreeBSD Current.

Few new things available now are:

  • Data deduplication (info)
  • Triple parity RAIDZ (RAIDZ3).
  • zfs diff (info)
  • zpool split (info)
  • Snapshot holds (info)
  • zpool import -F. Allows to rewind corrupted pool to earlier transaction group
  • Possibility to import pool in read-only mode

PJD has done a great job adding these features to FreeBSD. Is FreeBSD going to be the future of FreeBSD? Some think so: FreeBSD wordt the toekomst van ZFS (Dutch) – (translate)

Released: FreeBSD 8.2-RELEASE and 7.4-RELEASE

After some delays FreeBSD 8.2-RELEASE and FreeBSD 7.4-RELEASE are now available. Originally scheduled for January 24 the releases were put back to allow for a third release candidate. Be sure to check the Release Notes (8.2 | 7.4) and Release Errata (8.2 | 7.4) before installation for any late-breaking news and/or issues. More information about FreeBSD releases can be found on the Release Information page. Some of the highlights:

  • Xen HVM support in FreeBSD/amd64 and Xen PV support in FreeBSD/i386 improved
  • ZFS on-disk format updated to version 15
  • aesni(4) driver for Intel AESNI crypto instruction set
  • BIND and OpenSSL updates
  • Gnome updated to 2.32.1
  • KDE updated to 4.5.5
  • Many misc. improvements and bugfixes

You can upgrade your system with the freebsd-update command:

# freebsd-update upgrade -r 8.2-RELEASE
# freebsd-update install
# shutdown -r now
# freebsd-update install

Many thanks to the Release Engineering Team, the many developers, companies and users’ feedback that have made these release possible. @Vasilache Anton Ciprian, thanks for emailing a few days ago about the 8.2 ISO’s being available on some of the servers and bittorrent. I didn’t announce this in case of any show stoppers.

Released: PC-BSD 8.2 (Hubble Edition)

Following the release of FreeBSD 8.2, iXsystems has now released PC-BSD 8.2.

As you will know, PC-BSD closely follows FreeBSD’s release cycle (on which it is based) but makes it easier for use on the desktop. As a sidenote, Dru Lavigne, PC-BSD’s Community Manager, is doing a presentation this weekend at Scale 2011 on how PC-BSD compares to Linux and FreeBSD. This is her presentation outline:


With regards to the release of PC-BSD 8.2 (Hubble Edition), this version contains a number of enhancements and improvements. For a full list of changes, have a look at the changelog.

Some of the notable changes are:

  • FreeBSD 8.2-Release
  • KDE 4.5.5
  • Added ability to select file-system type and encryption during auto-partitioning
  • Able to toggle between MBR/GPT partitioning
  • Various bug fixes to the wireless / network managers

Version 8.2 of PC-BSD is available for download from the mirrors, as well as via torrent from gotbsd.net.

Build your own FreeBSD update server (howto)

This article describes building an internal FreeBSD Update Server.

Experienced users or administrators are often responsible for several machines or environments. They understand the difficult demands and challenges of maintaining such an infrastructure.

Running a FreeBSD Update Server makes it easier to deploy security and software patches to selected test machines before rolling them out to production. It also means a number of systems can be updated from the local network rather than a much slower Internet connection.

This article outlines the steps involved in creating an internal FreeBSD Update Server.

Full article (via, originally published on experts exchange)