Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. FreeBSD, ZFS, and FreeNASDru LavigneDirector of Community Development, iXsystemsSweden, October 11, 2011
  2. 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. 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. 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. 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. cvsweb.allbsd.org)Clear separation between the operating systembinaries/libs/config files and those that areinstalled by third-party applications
  6. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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).http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide
  16. 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. 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. 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. 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. 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. 21. ResourcesFreeBSD Handbook:http://www.freebsd.org/handbookPC-BSD Handbook:http://wiki.pcbsd.orgFreeNAS Guide:http://doc.freenas.org
  22. 22. Demo
  23. 23. Q&A Contact: dru@freebsd.org URL to Slides:http://slideshare.net/dlavigne/sweden11