Your SlideShare is downloading. ×
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply



Published on

Published in: Technology

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. FreeBSD, ZFS, and FreeNASDru LavigneDirector of Community Development, iXsystemsSweden, October 11, 2011
  • 2. AgendaPresentation: Quick bio Overview of FreeBSD (and PC-BSD) Overview of ZFS versions and their features Overview of FreeNAS & TrueNAS featuresDemo: FreeNAS/TrueNASQ&A
  • 3. Quick BioTrainer and curriculum developer for network andsystem administration since 1998Author of BSD Hacks, Best of FreeBSD Basics,and Definitive Guide to PC-BSDLead documentation writer and editor of the PC-BSD Handbook and the FreeNAS Users GuideFounder and chair of BSD Certification GroupDirector at FreeBSD Foundation
  • 4. FreeBSDOverview:Complete operating system based on BerkeleyUnixAvailable for i386, amd64, ia64, pc98, powerpc,and sparc64 architecturesIncludes Linux binary compatibility for applicationsthat are only available in binary format
  • 5. FreeBSDAdvantages:Licensed under 2-clause BSD licenseClear separation of BSD and non-BSD licensedcodeAll code and commit messages since Day 1 of theproject are online (e.g. separation between the operating systembinaries/libs/config files and those that areinstalled by third-party applications
  • 6. FreeBSDAdvantages:Security Officer, security team, SecurityAdvisories, and published EOL cyclesNew code is committed to and tested on HEAD sothat OS is production quality by the time it isRELEASEd: unified build systemProcesses are documented in DevelopersHandbook and it is possible to work with devs tohave code committed (rather than maintainingown forked code)
  • 7. FreeBSDAdvantages:Large and active development communityMature project (18 years) with an associatedFoundation (11 years)Well documented (FreeBSD Handbook and built-in man pages)
  • 8. FreeBSDFeatures:UFS2 supports soft-updates, journaling,encryption (GBDE or GELI), software RAID 0, 1,3, 5, filesystem snapshots, quotas,ZFS supports RAID 0, 1, 3, RAIDZ1, RAIDZ2,snapshots and clones, quotas, compressionSupport for FAT16/32, NTFS, XFS, EXT2/3filesystems
  • 9. FreeBSDFeatures:MAC, including some pre-defined modulesOpenBSM for fine-grained security event auditingHAST for highly available storageJails for operating system-level virtualizationCARP for high availability, ALTQ for QOS, andlagg for link aggregation and failover
  • 10. FreeBSDFeatures:FreeBSD Update provides binary snapshots forupgrading to new releases as well as an easy wayto apply system patchesVuXML allows you to keep up with securityvulnerabilities on installed softwareDtrace for locating performance bottlenecks inproduction and pre-production systemsBHYvE for para-virtualization
  • 11. PC-BSDFreeBSD under the hood, but customized fordesktop usageProvides graphical installer and graphical front-ends to common configuration tasks and softwaremanagement (both have scriptable back-end)Video, sound, networking are pre-configured soshould “just work” out of the box
  • 12. PC-BSD9.0 Features:Selection of fully integrated desktopsControl PanelNew back-end for AppCafeImproved graphical networking managementUpdate Manager can now upgrade OS as well asapply security updates and upgrade software
  • 13. PC-BSDPlans for 9.1:Advanced disk management front-end: forscheduling snapshots, scrubs, import/export,clone management, 4k sectors, file system tuningWarden will be integrated into control panel andwill provide an inmate browserGUIs for managing sound devices, removabledevices, and bluetooth devices
  • 14. ZFS128-bit filesystem designed to be a “self-healing”and to address hardware RAID issues with dataintegritySnapshots only store what has changed since lastsnapshotSnapshots (which are ro) can be cloned (whichare rw)Can rollback system to a snapshot
  • 15. ZFSUses ZIL (ZFS Intent Log) to manage writes. SSD½ size of RAM can increase performance.Mirrored ZIL provides protection from data loss.Uses L2ARC on-disk cache. Dedicated SSD mayaccelerate read operations, especially when somedata is read repeatedly, and cannot fit in thesystem memory ARC cache. Loss of device willonly slow down reads (no data loss).
  • 16. ZFSRAIDZ1: equivalent to RAID5 without the write-holeRAIDZ2: double-parity solution similar to RAID6RAIDZ3: triple-parity solutionCaveats: resilvering takes time and can stressdisks
  • 17. ZFSVersions:15: FreeNAS 8.0.128: FreeBSD 9.0, TrueNASadds RAIDZ3, deduplication30: Oracle has not open sourced (yet?)adds encryptionFreeBSD zfsd (ZFS fault monitoring andmanagement daemon) may address this
  • 18. FreeNAS8.x SeriesRewritten from a monolithic to a modular design8.0 was released 5/11 with a focus on NAS corefunctionality8.0.1 was released 10/11 and incorporates mostfeatures and many bug fixes8.1, due out 12/11, will introduce plug-inarchitecture for addons
  • 19. FreeNASProvides:UFS and ZFS, with a focus on ZFSAppletalk, NFS, and SMB protocolsFTP/SFTP, SSH, iSCSI, DDNS, SNMPReplication via rsync, cron jobs, UPSOpenLDAP, ADReporting, S.M.A.R.T, alerts
  • 20. TrueNASComplete hardware solution (2U/4U) designed forenterprise use, includes one year supportservicesSupports Fusion-io high-IOPS ioDrive, Duo, andOctal cards, 10GbE expansion cards, andexpansion JBODsZFSv28 (RAIDZ3, deduplication)Active/Passive Failover using CARP
  • 21. ResourcesFreeBSD Handbook: Handbook:http://wiki.pcbsd.orgFreeNAS Guide:
  • 22. Demo
  • 23. Q&A Contact: URL to Slides: