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

No notes for slide


  1. 1. Introduction to FreeNAS 8.3.0Dru LavigneDirector of Community Development, iXsystemsFSOSS, October 26, 2012
  2. 2. OutlineFeatures and ZFS OverviewWhats New in 8.3.0Configuration 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. Introduction8.2-RELEASE-p1 introduced the pluginarchitecture (July, 2012)8.3.0 is due for release October 26, 2012;introduces ZFSv28 support which addsdeduplication, RAIDZ3, and removable log device7.x series has been EOLd and rebranded asNAS4Free
  5. 5. Core NAS Features IncludeAbility to create AFP, CIFS, NFS sharesSupport for iSCSI, SSH, FTP/SFTP, TFTPActive Directory and OpenLDAP integrationAutomated, secure replication via rsync/sshAutomated ZFS snapshots and scrubsLink aggregation and failover
  6. 6. Other FeaturesUpgrades keep a backup of the old OS, allowingfor rollbackAdministrative GUI accessed through a webbrowser; 8.2 added a web shell for easycommand line accessUsers Guide published with each version andavailable in wiki, HTML, PDF, epub, and Kindleformats
  7. 7. ZFS128-bit filesystem designed to be “self-healing”and to address hardware RAID issues with dataintegrity (scrubs, checksums)Snapshots (point in time) only store what haschanged since the last snapshot (copy on write)Snapshots (ro) can be cloned (rw) and sharedProvides great flexibility using datasets andproperties (e.g. compression, deduplication,quotas)
  8. 8. ZFSRAIDZ1: equivalent to RAID5RAIDZ2: double-parity solution similar to RAID6RAIDZ3: triple-parity solutionCaveats: resilvering takes time and can stressdisks
  9. 9. ZFSVersions:15: FreeNAS 8.0.x and 8.228: FreeNAS 8.3.x30: Oracle has not open sourced (will they?)- adds encryption- FreeNAS 8.3.1 will add encryption using GELI
  10. 10. Whats New in 8.3Deduplication, RAIDZ3, removable log deviceFront-end to /etc/hostsNavigable reporting graphsImproved hardware driver supportAnd more:http://doc.freenas.org/index.php/What%27s_New_in_8.3.0
  11. 11. Configuration Workflow1. Set the administrative username and password2. Create volumes/datasets3. Create users/groups or integrate with LDAP/AD4. Configure shares5. Start applicable service(s)6. Test the configuration7. Backup the configuration
  12. 12. 1. Set Administrative Creds
  13. 13. 2. Create VolumeSupports the following:Import existing UFS RAID or ZFS poolImport existing disk or partition(s) formatted withUFS, FAT, NTFS, or EXT2/3Create UFS or ZFS volumeZFS pools can be divided into datasets (with ownproperties) or zvols (to use as “raw” disks foriSCSI)
  14. 14. Create Volume
  15. 15. Create ZFS Dataset
  16. 16. 3. Users/GroupsChoices:1. Manually create2. Import existing Active Directory users3. Import existing LDAP users
  17. 17. 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
  18. 18. 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
  19. 19. 5. Start Service
  20. 20. 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
  21. 21. 7. Backup Configuration
  22. 22. Plugin ArchitectureA “Plugins Jail” allows you to install additionalsoftware packaged in the PBI formatPBIs currently exist for Firefly, MiniDLNA, andTransmission—others are being created andtestedThe associated service for each installed PBI canbe started/stopped in Control ServicesUses a FreeBSD jail, vimage, and PBIs
  23. 23. What is a Jail?A FreeBSD feature for providing light-weight,operating system-level virtualizationA jail has its own hostname, IP address, usersand is separated from the host operating systemFreeNAS implementation includes vimage whichgives the jail its own networking stack and IPbroadcasting
  24. 24. What is a PBI/Plugin?Originally created by the PC-BSD project (adesktop version of FreeBSD)Provides a graphical installation wrapper forsoftware ported to FreeBSDFreeNAS implementation extends thisfunctionality by incorporating the applicationsconfiguration file into the FreeNAS graphicaladministrative interface—the result is known as aPlugin
  25. 25. Plugin Architecture
  26. 26. Plugin Architecture
  27. 27. Plugin Architecture
  28. 28. Plugin ArchitectureIf a PBI is not available, software can still beinstalled within the Plugins Jail using FreeBSDpackages or portsCurrently, over 24,000 ports are availableInstalled packages/ports can be configured andtheir services started using the command linewithin the Plugins Jail
  29. 29. ResourcesWebsite: http://www.freenas.orgForums: http://forums.freenas.orgBug tracker: http://support.freenas.orgLocalization: http://pootle.freenas.org
  30. 30. ResourcesDocumentation: http://doc.freenas.orgIRC: #freenas on FreenodeLinks to forums, mailing lists, instructional videos,trac database, and professional support:http://doc.freenas.org/index.php/FreeNAS_Support_Resources
  31. 31. Questions? Contact: dru@freebsd.org URL to Slides:http://slideshare.net/dlavigne/fsoss12