SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
FreeBSD, ZFS, and
             FreeNAS

Dru Lavigne
Director of Community Development, iXsystems
Sweden, October 11, 2011
Agenda

Presentation:
 Quick bio
 Overview of FreeBSD (and PC-BSD)
 Overview of ZFS versions and their features
 Overview of FreeNAS & TrueNAS features

Demo:
 FreeNAS/TrueNAS

Q&A
Quick Bio
Trainer and curriculum developer for network and
system administration since 1998

Author of BSD Hacks, Best of FreeBSD Basics,
and Definitive Guide to PC-BSD

Lead documentation writer and editor of the PC-
BSD Handbook and the FreeNAS Users Guide

Founder and chair of BSD Certification Group

Director at FreeBSD Foundation
FreeBSD

Overview:

Complete operating system based on Berkeley
Unix

Available for i386, amd64, ia64, pc98, powerpc,
and sparc64 architectures

Includes Linux binary compatibility for applications
that are only available in binary format
FreeBSD
Advantages:

Licensed under 2-clause BSD license

Clear separation of BSD and non-BSD licensed
code

All code and commit messages since Day 1 of the
project are online (e.g. cvsweb.allbsd.org)

Clear separation between the operating system
binaries/libs/config files and those that are
installed by third-party applications
FreeBSD
Advantages:

Security Officer, security team, Security
Advisories, and published EOL cycles

New code is committed to and tested on HEAD so
that OS is production quality by the time it is
RELEASEd: unified build system

Processes are documented in Developer's
Handbook and it is possible to work with devs to
have code committed (rather than maintaining
own forked code)
FreeBSD


Advantages:

Large and active development community

Mature project (18 years) with an associated
Foundation (11 years)

Well documented (FreeBSD Handbook and built-
in man pages)
FreeBSD
Features:

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, compression

Support for FAT16/32, NTFS, XFS, EXT2/3
filesystems
FreeBSD
Features:

MAC, including some pre-defined modules

OpenBSM for fine-grained security event auditing

HAST for highly available storage

Jails for operating system-level virtualization

CARP for high availability, ALTQ for QOS, and
lagg for link aggregation and failover
FreeBSD
Features:

FreeBSD Update provides binary snapshots for
upgrading to new releases as well as an easy way
to apply system patches

VuXML allows you to keep up with security
vulnerabilities on installed software

Dtrace for locating performance bottlenecks in
production and pre-production systems

BHYvE for para-virtualization
PC-BSD

FreeBSD under the hood, but customized for
desktop usage

Provides graphical installer and graphical front-
ends to common configuration tasks and software
management (both have scriptable back-end)

Video, sound, networking are pre-configured so
should “just work” out of the box
PC-BSD
9.0 Features:

Selection of fully integrated desktops

Control Panel

New back-end for AppCafe

Improved graphical networking management

Update Manager can now upgrade OS as well as
apply security updates and upgrade software
PC-BSD
Plans for 9.1:

Advanced disk management front-end: for
scheduling snapshots, scrubs, import/export,
clone management, 4k sectors, file system tuning

Warden will be integrated into control panel and
will provide an inmate browser

GUIs for managing sound devices, removable
devices, and bluetooth devices
ZFS

128-bit filesystem designed to be a “self-healing”
and to address hardware RAID issues with data
integrity

Snapshots only store what has changed since last
snapshot

Snapshots (which are ro) can be cloned (which
are rw)

Can rollback system to a snapshot
ZFS
Uses 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 may
accelerate read operations, especially when some
data is read repeatedly, and cannot fit in the
system memory ARC cache. Loss of device will
only slow down reads (no data loss).

http://www.solarisinternals.com/wiki/index.php/
ZFS_Best_Practices_Guide
ZFS


RAIDZ1: equivalent to RAID5 without the write-
hole

RAIDZ2: double-parity solution similar to RAID6

RAIDZ3: triple-parity solution

Caveats: resilvering takes time and can stress
disks
ZFS

Versions:

15: FreeNAS 8.0.1

28: FreeBSD 9.0, TrueNAS
adds RAIDZ3, deduplication

30: Oracle has not open sourced (yet?)
adds encryption
FreeBSD zfsd (ZFS fault monitoring and
management daemon) may address this
FreeNAS
8.x Series

Rewritten from a monolithic to a modular design

8.0 was released 5/11 with a focus on NAS core
functionality

8.0.1 was released 10/11 and incorporates most
features and many bug fixes

8.1, due out 12/11, will introduce plug-in
architecture for addons
FreeNAS
Provides:

UFS and ZFS, with a focus on ZFS

Appletalk, NFS, and SMB protocols

FTP/SFTP, SSH, iSCSI, DDNS, SNMP

Replication via rsync, cron jobs, UPS

OpenLDAP, AD

Reporting, S.M.A.R.T, alerts
TrueNAS
Complete hardware solution (2U/4U) designed for
enterprise use, includes one year support
services

Supports Fusion-io high-IOPS ioDrive, Duo, and
Octal cards, 10GbE expansion cards, and
expansion JBODs

ZFSv28 (RAIDZ3, deduplication)

Active/Passive Failover using CARP
Resources

FreeBSD Handbook:

http://www.freebsd.org/handbook

PC-BSD Handbook:

http://wiki.pcbsd.org

FreeNAS Guide:

http://doc.freenas.org
Demo
Q&A



               Contact:

           dru@freebsd.org

            URL to Slides:

http://slideshare.net/dlavigne/sweden11

Más contenido relacionado

La actualidad más candente

Introduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsonIntroduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsoniXsystems
 
SELF 2010: BSD For Linux Users
SELF 2010: BSD For Linux UsersSELF 2010: BSD For Linux Users
SELF 2010: BSD For Linux UsersDru Lavigne
 
Lavigne bsdmag-jan2012
Lavigne bsdmag-jan2012Lavigne bsdmag-jan2012
Lavigne bsdmag-jan2012Dru Lavigne
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux UsersDru Lavigne
 
Lavigne bsdmag-jan13
Lavigne bsdmag-jan13Lavigne bsdmag-jan13
Lavigne bsdmag-jan13Dru Lavigne
 
Lavigne aug11 bsdmag
Lavigne aug11 bsdmagLavigne aug11 bsdmag
Lavigne aug11 bsdmagDru Lavigne
 
SELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasySELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasyKen Moore
 
Lavigne bsdmag may13
Lavigne bsdmag may13Lavigne bsdmag may13
Lavigne bsdmag may13Dru Lavigne
 
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...iXsystems
 

La actualidad más candente (20)

Introduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsonIntroduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John Hixson
 
Fsoss12
Fsoss12Fsoss12
Fsoss12
 
Olf2012
Olf2012Olf2012
Olf2012
 
Nelf2012
Nelf2012Nelf2012
Nelf2012
 
Flourish11
Flourish11Flourish11
Flourish11
 
SELF 2010: BSD For Linux Users
SELF 2010: BSD For Linux UsersSELF 2010: BSD For Linux Users
SELF 2010: BSD For Linux Users
 
Lavigne bsdmag-jan2012
Lavigne bsdmag-jan2012Lavigne bsdmag-jan2012
Lavigne bsdmag-jan2012
 
Nelf2013
Nelf2013Nelf2013
Nelf2013
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux Users
 
Nycbsdcon14
Nycbsdcon14Nycbsdcon14
Nycbsdcon14
 
olf10
olf10olf10
olf10
 
Lavigne bsdmag-jan13
Lavigne bsdmag-jan13Lavigne bsdmag-jan13
Lavigne bsdmag-jan13
 
Fosscon2013
Fosscon2013Fosscon2013
Fosscon2013
 
Lavigne aug11 bsdmag
Lavigne aug11 bsdmagLavigne aug11 bsdmag
Lavigne aug11 bsdmag
 
Scale13
Scale13Scale13
Scale13
 
Asiabsdcon15
Asiabsdcon15Asiabsdcon15
Asiabsdcon15
 
SELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasySELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made Easy
 
Lavigne bsdmag may13
Lavigne bsdmag may13Lavigne bsdmag may13
Lavigne bsdmag may13
 
Ilf2012
Ilf2012Ilf2012
Ilf2012
 
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...
Jenkins, Bhyve, and Webdriver: Continuous Integration testing on FreeNAS by C...
 

Similar a FreeBSD, ZFS, and FreeNAS: An Introduction

Similar a FreeBSD, ZFS, and FreeNAS: An Introduction (20)

Self2013
Self2013Self2013
Self2013
 
Ilf2013
Ilf2013Ilf2013
Ilf2013
 
Introduction to OpenSolaris 2008.11
Introduction to OpenSolaris 2008.11Introduction to OpenSolaris 2008.11
Introduction to OpenSolaris 2008.11
 
FreeBSD - LinuxExpo
FreeBSD - LinuxExpoFreeBSD - LinuxExpo
FreeBSD - LinuxExpo
 
Tlf2012
Tlf2012Tlf2012
Tlf2012
 
Scale9x sun
Scale9x sunScale9x sun
Scale9x sun
 
Zettabyte File Storage System
Zettabyte File Storage SystemZettabyte File Storage System
Zettabyte File Storage System
 
Zettabyte File Storage System
Zettabyte File Storage SystemZettabyte File Storage System
Zettabyte File Storage System
 
Ilf2011
Ilf2011Ilf2011
Ilf2011
 
Unix Administration 1
Unix Administration 1Unix Administration 1
Unix Administration 1
 
Fossetcon14
Fossetcon14Fossetcon14
Fossetcon14
 
Article may11 bsdmag
Article may11 bsdmagArticle may11 bsdmag
Article may11 bsdmag
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Asiabsdcon14
Asiabsdcon14Asiabsdcon14
Asiabsdcon14
 
RAC - Test
RAC - TestRAC - Test
RAC - Test
 
Flourish16
Flourish16Flourish16
Flourish16
 
Mak3
Mak3Mak3
Mak3
 
Scale2014
Scale2014Scale2014
Scale2014
 
OSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdfOSC-Fall-Tokyo-2012-v9.pdf
OSC-Fall-Tokyo-2012-v9.pdf
 
Tlf2014
Tlf2014Tlf2014
Tlf2014
 

Más de Dru Lavigne (19)

Olf2018
Olf2018Olf2018
Olf2018
 
Olf2017
Olf2017Olf2017
Olf2017
 
FreeBSD System Administration Using SysAdm
FreeBSD System Administration Using SysAdmFreeBSD System Administration Using SysAdm
FreeBSD System Administration Using SysAdm
 
Asiabsdcon2017
Asiabsdcon2017Asiabsdcon2017
Asiabsdcon2017
 
Olf2016
Olf2016Olf2016
Olf2016
 
Tlf2016
Tlf2016Tlf2016
Tlf2016
 
Knoxbug2016
Knoxbug2016Knoxbug2016
Knoxbug2016
 
Lfnw2016
Lfnw2016Lfnw2016
Lfnw2016
 
Scale2016
Scale2016Scale2016
Scale2016
 
Fossetcon15
Fossetcon15Fossetcon15
Fossetcon15
 
Lfnw15
Lfnw15Lfnw15
Lfnw15
 
Scale2015
Scale2015Scale2015
Scale2015
 
Olf2014
Olf2014Olf2014
Olf2014
 
Ghc14
Ghc14Ghc14
Ghc14
 
Asiabsdcon14 lavigne
Asiabsdcon14 lavigneAsiabsdcon14 lavigne
Asiabsdcon14 lavigne
 
Dru lavigne oss-sysadmin
Dru lavigne oss-sysadminDru lavigne oss-sysadmin
Dru lavigne oss-sysadmin
 
Dru lavigne oss-desktop_apps
Dru lavigne oss-desktop_appsDru lavigne oss-desktop_apps
Dru lavigne oss-desktop_apps
 
Bsd ss
Bsd ssBsd ss
Bsd ss
 
Olf2013
Olf2013Olf2013
Olf2013
 

Último

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

FreeBSD, ZFS, and FreeNAS: An Introduction

  • 1. FreeBSD, ZFS, and FreeNAS Dru Lavigne Director of Community Development, iXsystems Sweden, October 11, 2011
  • 2. Agenda Presentation: Quick bio Overview of FreeBSD (and PC-BSD) Overview of ZFS versions and their features Overview of FreeNAS & TrueNAS features Demo: FreeNAS/TrueNAS Q&A
  • 3. Quick Bio Trainer and curriculum developer for network and system administration since 1998 Author of BSD Hacks, Best of FreeBSD Basics, and Definitive Guide to PC-BSD Lead documentation writer and editor of the PC- BSD Handbook and the FreeNAS Users Guide Founder and chair of BSD Certification Group Director at FreeBSD Foundation
  • 4. FreeBSD Overview: Complete operating system based on Berkeley Unix Available for i386, amd64, ia64, pc98, powerpc, and sparc64 architectures Includes Linux binary compatibility for applications that are only available in binary format
  • 5. FreeBSD Advantages: Licensed under 2-clause BSD license Clear separation of BSD and non-BSD licensed code All code and commit messages since Day 1 of the project are online (e.g. cvsweb.allbsd.org) Clear separation between the operating system binaries/libs/config files and those that are installed by third-party applications
  • 6. FreeBSD Advantages: Security Officer, security team, Security Advisories, and published EOL cycles New code is committed to and tested on HEAD so that OS is production quality by the time it is RELEASEd: unified build system Processes are documented in Developer's Handbook and it is possible to work with devs to have code committed (rather than maintaining own forked code)
  • 7. FreeBSD Advantages: Large and active development community Mature project (18 years) with an associated Foundation (11 years) Well documented (FreeBSD Handbook and built- in man pages)
  • 8.
  • 9. FreeBSD Features: 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, compression Support for FAT16/32, NTFS, XFS, EXT2/3 filesystems
  • 10. FreeBSD Features: MAC, including some pre-defined modules OpenBSM for fine-grained security event auditing HAST for highly available storage Jails for operating system-level virtualization CARP for high availability, ALTQ for QOS, and lagg for link aggregation and failover
  • 11. FreeBSD Features: FreeBSD Update provides binary snapshots for upgrading to new releases as well as an easy way to apply system patches VuXML allows you to keep up with security vulnerabilities on installed software Dtrace for locating performance bottlenecks in production and pre-production systems BHYvE for para-virtualization
  • 12. PC-BSD FreeBSD under the hood, but customized for desktop usage Provides graphical installer and graphical front- ends to common configuration tasks and software management (both have scriptable back-end) Video, sound, networking are pre-configured so should “just work” out of the box
  • 13. PC-BSD 9.0 Features: Selection of fully integrated desktops Control Panel New back-end for AppCafe Improved graphical networking management Update Manager can now upgrade OS as well as apply security updates and upgrade software
  • 14. PC-BSD Plans for 9.1: Advanced disk management front-end: for scheduling snapshots, scrubs, import/export, clone management, 4k sectors, file system tuning Warden will be integrated into control panel and will provide an inmate browser GUIs for managing sound devices, removable devices, and bluetooth devices
  • 15. ZFS 128-bit filesystem designed to be a “self-healing” and to address hardware RAID issues with data integrity Snapshots only store what has changed since last snapshot Snapshots (which are ro) can be cloned (which are rw) Can rollback system to a snapshot
  • 16. ZFS Uses 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 may accelerate read operations, especially when some data is read repeatedly, and cannot fit in the system memory ARC cache. Loss of device will only slow down reads (no data loss). http://www.solarisinternals.com/wiki/index.php/ ZFS_Best_Practices_Guide
  • 17. ZFS RAIDZ1: equivalent to RAID5 without the write- hole RAIDZ2: double-parity solution similar to RAID6 RAIDZ3: triple-parity solution Caveats: resilvering takes time and can stress disks
  • 18. ZFS Versions: 15: FreeNAS 8.0.1 28: FreeBSD 9.0, TrueNAS adds RAIDZ3, deduplication 30: Oracle has not open sourced (yet?) adds encryption FreeBSD zfsd (ZFS fault monitoring and management daemon) may address this
  • 19. FreeNAS 8.x Series Rewritten from a monolithic to a modular design 8.0 was released 5/11 with a focus on NAS core functionality 8.0.1 was released 10/11 and incorporates most features and many bug fixes 8.1, due out 12/11, will introduce plug-in architecture for addons
  • 20. FreeNAS Provides: UFS and ZFS, with a focus on ZFS Appletalk, NFS, and SMB protocols FTP/SFTP, SSH, iSCSI, DDNS, SNMP Replication via rsync, cron jobs, UPS OpenLDAP, AD Reporting, S.M.A.R.T, alerts
  • 21. TrueNAS Complete hardware solution (2U/4U) designed for enterprise use, includes one year support services Supports Fusion-io high-IOPS ioDrive, Duo, and Octal cards, 10GbE expansion cards, and expansion JBODs ZFSv28 (RAIDZ3, deduplication) Active/Passive Failover using CARP
  • 23. Demo
  • 24. Q&A Contact: dru@freebsd.org URL to Slides: http://slideshare.net/dlavigne/sweden11