FreeNAS Switching From FreeBSD To Debian Linux
dnaumov writes "FreeNAS, a popular, free NAS solution, is moving away from using FreeBSD as its underlying core OS and switching to Debian Linux. Version 0.8 of FreeNAS as well as all further releases are going to be based on Linux, while the FreeBSD-based 0.7 branch of FreeNAS is going into maintenance-only mode, according to main developer Volker Theile. A discussion about the switch, including comments from the developers, can be found on the FreeNAS SourceForge discussion forum. Some users applaud the change, which promises improved hardware compatibility, while others voice concerns regarding the future of their existing setups and lack of ZFS support in Linux."
I don't want to be inflammatory, but having "concerns regarding the future of their existing setups" when using a piece of free software in version 0.7 for something as important as data storage?
I'd say that if your setup is so important you care so much for its future and you're facing this scenario, you have bigger concerns to take care than a move from FreeBSD to Linux.
-- SouNerd.com
Well, what's stopping people using NexentaStor (non-free) or NexentaOS (free as in beer/speech)? Better yet, Nexenta is OpenSolaris w/ ZFS, etc, but is an Ubuntu LTS 8.04-based distribution. Its always been the best of both worlds. If you have something using ZFS today, you can export the pool, install Nexenta, and reimport, being back up in minutes.
"Not only that, but FreeBSD is a far more reliable and higher-quality core than even Debian could ever hope to be."
[citation needed]
Linux is definitely faster and more feature-rich than FreeBSD. About the only advantage of FreeBSD is ZFS, and that's being fixed by btrfs.
Sounds like a perfect opportunity for Debian kFreeBSD.
Well, Linux does have problems dropping or corrupting bits, and can't detect corrupted bits like ZFS can, which means that silent data corruption is possible.
It's not necessary that Linux causes the corruption. The problem is corruption occurs that Linux can't fix / deal with reasonably, or the way Linux filesystems work is high-risk, and ext3 fsck is horrible, in that data loss or inconsistency of I/Os results and cannot be corrected, despite the fact the filesystem is "journaled": in fact, ext3 journaling is not true journaling, by default, ext3 operates in the less-reliable journal_data_ordered, and not journal_ordered; thus, only metadata is journaled, and data corruption is likely if power or access to storage is disrupted.
The ext3 / ext4 filesystems do not live up to the "journalling" promise.
It's happened too many times to count, that I have lost important data, database, or even entire systems due to Ext3 shenanigans, on Debian Etch, Ubuntu, Redhat Enterprise Linux 4, and Redhat Enterprise Linux 5.
Usually how it happens is a kernel panic, power outage, reset (due to system lock-up), or something of that nature occured, and upon boot, the journal is aborted -- however, there is still data corruption after abort of the journal, or even, the abort of the journal fails, and it becomes necessary to manually run fsck, which "tinkers around with the filesystem" trying to make the metadata consistent again.
I have yet to ever have any issues with ZFS-based or NTFS-based systems; they handle it seamlessly. Windows 2003 or 2008 may show a blue screen once every 2 or 3 years, but the system doesn't require an expert to travel out and manually run chkdsk (Windows equivalent of fsck). And ZFS handles this quite elegantly....
By the way, even NTFS is ahead of ext3 in some ways, in this regard, as far as self-healing is concerned.
Just because it runs Linux doesn't mean the physical disks are magically immune to common issues that effect all storage.
Linux isn't the worst choice for a NAS. (In fact, I would be really scared of the idea of using NTFS for a NAS).
However, it's just as dishonest to suggest Linux Debian is rock-solid for a NAS as it is to suggest Windows 2000 is.
FreeBSD or Solaris is a really good choice for a NAS.
Systems that utilize certain versions of the Linux kernel can be a good choice, with the right configuration, and right supporting programs installed.
For example, a dedicated NAS appliance, can easily provision its ext3 filesystems using SAFE journalling options, instead of the defaults.
And can also pick just the right kernel version and library versions to be as stable as possible under the supported hardware list...
It's not necessarily good for a NAS to support as much hardware as possible: The Number 1 cause of system crashes is faulty hardware or faulty hardware drivers.
It's best to stick with old hardware and driver code that has been around for 5+ years, without major bugs detected.
And to have kernels with isolation features such as IOMMU and NX bit.
Conjecture! I mean, I don't have figures to back this up either, but I do know there is shirtloads of code in a Linux distro with an intact BSD/Apache/MIT license. I am not aware of wholesale re-licensing just for the sake of it.
But there is no point saying "if BSD code was restricted from GPL licensing it would be the other way around" because; 1) that is not the way things are and; 2) the whole point of BSD is it does not have these restrictions.
Where BSD code HAS been incorporated into GPL it has been done to comply with the BSD license, exactly as intended by the author. If they did not want their code to be used they would have selected a more restrictive license.
I don't get where the resentment comes from, but I would hazard a guess that it is BSD users (or fanboys if you will) rather then BSD developers who insist on these cyclical arguments.
Guys, I don't work for Sun (and I think they are in no position to hire people at the moment :-/ ) but you should really drop by to one of their demonstrations to see what they are doing in the storage arena.
Sun has beautiful (technically speaking) NAS devices that allow people to do detailed configuration and troubleshooting using web based point and click GUIs.
Those devices are based on 2 Solaris technologies: ZFS and dtrace.
You can do snapshots, create and share filesystems, find which machines are being pigs with disk usage and for what reason (data or metadata?) all at the click of a mouse.
The important thing is that it is all done with technologies anybody could use, in other words there is nothing stopping the FreeNAS guys, or anybody else, replicating what Sun is doing to offer a non commercial solution when contracted support is not affordable.
I am sure FreeBSD is a great OS (yeah, really) and I appreciate Debian very much, but if there ever was a case of using the wrong tools for the job this would be a sadly good example.
IANAL but write like a drunk one.