Published on

Presentation for Texas LinuxFest 2012.

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

No notes for slide


  1. 1. Introduction to FreeNAS 8.3Dru LavigneDirector of Community Development, iXsystemsTLF, August 4, 2012
  2. 2. OutlineIntroduction to FreeNAS 8.3Features and ZFS OverviewWhats New in 8.3Configuration WorkflowExtending Functionality with PluginsAdditional Resources
  3. 3. IntroductionOpen source NAS (network attached storage)based on an embedded version of FreeBSD(nanoBSD) and released under 2-clause BSDlicenseModular design: core NAS features can beextended using a plugin architectureDesigned to be installed on flash device andadministered from a web browser
  4. 4. Administrative GUI
  5. 5. Introduction8.2-RELEASE-p1 is the current release version; itintroduced the plugin architecture8.3, currently in beta, is due for release in August,2012; includes ZFSv28 support which addsdeduplication, RAIDZ3, and removable log device7.x series has been EOLd and rebranded asNAS4Free
  6. 6. FeaturesCreate UFS or ZFS volumes (ZFS recommended)Import existing UFS/ZFS RAID/z volumesImport existing UFS, DOS, NTFS, EXT2/3volumesCreate data shares using Appletalk, NFS, andSMB protocolsCan also configure data access throughFTP/SFTP, SSH, and iSCSI
  7. 7. FeaturesIntegration with OpenLDAP, Active DirectoryAutomated, secure replication via rsync/sshAutomated ZFS snapshots and scrubsFront-ends to cron, sysctls, loader.confReporting graphs, scheduled S.M.A.R.T. tests,automated alerts, UPS
  8. 8. FeaturesLink aggregation and failoverIEEE 802.1q VLAN supportDDNS, SNMP, and TFTP supportControl panel to stop/start and view the status ofservicesSupports OSX Time MachineSupports Windows Shadow Copies
  9. 9. FeaturesUpgrades keep a backup of the old OS, allowingfor rollbackAdministrative GUI accessed through a webbrowser; 8.2 added a web shell for command lineoperationsUsers Guide published with each version andavailable in wiki, HTML, PDF, epub, and Kindleformats
  10. 10. ZFS128-bit filesystem designed to be “self-healing”and to address hardware RAID issues with dataintegritySnapshots (point in time) only store what haschanged since the last snapshotSnapshots (ro) can be cloned (rw)Can rollback to any snapshot
  11. 11. ZFSRAIDZ1: equivalent to RAID5RAIDZ2: double-parity solution similar to RAID6RAIDZ3: triple-parity solutionCaveats: resilvering takes time and can stressdisks
  12. 12. ZFSVersions:15: FreeNAS 8.0.x and 8.228: FreeNAS 8.330: Oracle has not open sourced (will they?)- adds encryption
  13. 13. Whats New in 8.2Plug-in architecture for non-core functionality,uses the PBI formatInstalled plugins can be configured from the GUIDocumented API so users can create andcontribute their own plugins (currently WIP)Web shellAutomatic configuration of multi-path hardware
  14. 14. Whats New in 8.3Deduplication, RAIDZ3, removable log deviceFront-end to /etc/hostsNavigable reporting graphsImproved hardware driver support
  15. 15. Configuration Workflow1. Set the administrative username and password2. Create volumes/datasets3. Create users/groups or integrate with LDAP/AD4. Configure share5. Start applicable service(s)6. Test the configuration
  16. 16. 1. Set Administrative Creds
  17. 17. 2. Create Volume1. Import existing UFS RAID or ZFS pool●2. Import existing disk or partition(s) formatted●with UFS, FAT, NTFS, or EXT2/3●3. Create UFS or ZFS volume●●● Once a ZFS volume (pool) is created, it can bedivided into datasets (with own options) or zvols(to use as a “raw” disk for iSCSI)
  18. 18. Create Volume
  19. 19. Create ZFS Dataset
  20. 20. 3. Users/GroupsChoices:1. Manually create2. Import existing Active Directory users3. Import existing LDAP users
  21. 21. 4. Configure ShareAFP: for Mac OS XCIFS: for Windows, also supports any other OSNFS: faster than CIFS, supports any OSSSH: CLI and GUI clients available for any OSFTP: CLI and GUI clients available for any OSiSCSI target: for access to “raw” disks
  22. 22. Configure ShareWhen configuring:Recommended to only have one type of share toprevent filesystem/client conflictsUsers needing access to that share must havepermission to the volume being shared, or theshare access must be set to anon/guestPermissions can be set on a per volume or perdataset basis
  23. 23. 5. Start Service
  24. 24. 6. Test ConfigurationFrom a client, confirm that access is permitted toallowed usersCan enable console logging at bottom of browserto troubleshoot a service that wont startCan use web shell to read logs whentroubleshooting
  25. 25. Plugin ArchitectureOnce the Plugins Jail is installed and the Pluginsservice started, you can install additional softwarepackaged in the PBI formatThe associated service for each installed PBI canbe started/stopped in Control ServicesPlugins Jail itself and installed PBIs can beupdated from the GUI as new versions becomeavailable
  26. 26. Plugin ArchitectureUses FreeBSD jail, vimage, and PBIsPBI format extended to add a config file whichdefines the configuration values displayed in theFreeNAS GUIPBIs currently exist for Firefly, MiniDLNA, andTransmission
  27. 27. Plugin Architecture
  28. 28. Plugin Architecture
  29. 29. Plugin Architecture
  30. 30. Plugin ArchitectureIf a PBI is not available, software can still beinstalled within the Plugins Jail using FreeBSDpackages or portsCurrently, over 23,750 ports are availableInstalled packages/ports can be configured andtheir services started using the command linewithin the Plugins Jail
  31. 31. ResourcesWebsite: http://www.freenas.orgForums: http://forums.freenas.orgBug tracker: http://support.freenas.orgLocalization:
  32. 32. ResourcesDocumentation: http://doc.freenas.orgIRC: #freenas on FreenodeLinks to forums, mailing lists, instructional videos,trac database, and professional support:
  33. 33. Questions? Contact: URL to Slides: