Upcoming SlideShare
Loading in...5




Presentation for Texas LinuxFest 2012.

Presentation for Texas LinuxFest 2012.



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Tlf2012 Tlf2012 Presentation Transcript

  • Introduction to FreeNAS 8.3Dru LavigneDirector of Community Development, iXsystemsTLF, August 4, 2012
  • OutlineIntroduction to FreeNAS 8.3Features and ZFS OverviewWhats New in 8.3Configuration WorkflowExtending Functionality with PluginsAdditional Resources
  • 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
  • Administrative GUI
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • ZFSRAIDZ1: equivalent to RAID5RAIDZ2: double-parity solution similar to RAID6RAIDZ3: triple-parity solutionCaveats: resilvering takes time and can stressdisks
  • ZFSVersions:15: FreeNAS 8.0.x and 8.228: FreeNAS 8.330: Oracle has not open sourced (will they?)- adds encryption
  • 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
  • Whats New in 8.3Deduplication, RAIDZ3, removable log deviceFront-end to /etc/hostsNavigable reporting graphsImproved hardware driver support
  • 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
  • 1. Set Administrative Creds
  • 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)
  • Create Volume
  • Create ZFS Dataset
  • 3. Users/GroupsChoices:1. Manually create2. Import existing Active Directory users3. Import existing LDAP users
  • 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
  • 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
  • 5. Start Service
  • 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
  • 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
  • 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
  • Plugin Architecture
  • Plugin Architecture
  • Plugin Architecture
  • 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
  • ResourcesWebsite: http://www.freenas.orgForums: http://forums.freenas.orgBug tracker: http://support.freenas.orgLocalization:
  • ResourcesDocumentation: http://doc.freenas.orgIRC: #freenas on FreenodeLinks to forums, mailing lists, instructional videos,trac database, and professional support:
  • Questions? Contact: URL to Slides: