Freenas® 11.2-U4 User Guide
Total Page:16
File Type:pdf, Size:1020Kb
FreeNAS® 11.2-U4 User Guide FreeNAS® is © 2011-2019 iXsystems FreeNAS® and the FreeNAS® logo are registered trademarks of iXsystems FreeBSD® is a registered trademark of the FreeBSD Foundation Written by users of the FreeNAS® network-attached storage operating system. Version 11.2 Copyright © 2011-2019 iXsystems (https://www.ixsystems.com/) CONTENTS Welcome ......................................................... 8 Typographic Conventions ................................................ 10 1 Introduction 11 1.1 New Features in 11.2 ............................................... 11 1.1.1 RELEASE-U1 ................................................ 14 1.1.2 U2 ..................................................... 14 1.1.3 U3 ..................................................... 15 1.1.4 U4 ..................................................... 16 1.2 Path and Name Lengths ............................................. 16 1.3 Hardware Recommendations .......................................... 18 1.3.1 RAM .................................................... 18 1.3.2 The Operating System Device ...................................... 19 1.3.3 Storage Disks and Controllers ...................................... 19 1.3.4 Network Interfaces ............................................ 20 1.4 Getting Started with ZFS ............................................. 21 2 Installing and Upgrading 22 2.1 Getting FreeNAS® ................................................. 22 2.2 Preparing the Media ............................................... 22 2.2.1 On FreeBSD or Linux ........................................... 23 2.2.2 On Windows ............................................... 23 2.2.3 On macOS ................................................. 23 2.3 Performing the Installation ............................................ 24 2.4 Installation Troubleshooting ........................................... 31 2.5 Upgrading ..................................................... 32 2.5.1 Caveats .................................................. 32 2.5.2 Initial Preparation ............................................ 32 2.5.3 Upgrading Using the ISO ......................................... 33 2.5.4 Upgrading From the Web Interface ................................... 35 2.5.5 If Something Goes Wrong ........................................ 35 2.5.6 Upgrading a ZFS Pool .......................................... 37 2.6 Virtualization .................................................... 38 2.6.1 VirtualBox ................................................. 39 2.6.2 VMware ESXi ............................................... 49 3 Booting 56 3.1 Obtaining an IP Address ............................................. 57 3.2 Logging In ..................................................... 58 4 Settings 60 4.1 Edit root Account ................................................. 60 4.2 Change Password ................................................. 60 4.3 Preferences .................................................... 60 3 4.3.1 Web Interface Preferences ....................................... 60 4.3.2 Themes .................................................. 61 4.3.2.1 Theme Selector ......................................... 61 4.3.2.2 Create New Themes ....................................... 62 4.4 About ........................................................ 64 4.5 Legacy Web Interface ............................................... 64 5 Accounts 65 5.1 Groups ....................................................... 65 5.2 Users ........................................................ 68 6 System 73 6.1 General ....................................................... 73 6.2 NTP Servers .................................................... 76 6.3 Boot Environments ................................................ 77 6.3.1 Mirroring the Operating System Device ................................ 80 6.4 Advanced ...................................................... 82 6.4.1 Autotune ................................................. 84 6.4.2 Self-Encrypting Drives .......................................... 84 6.4.2.1 Deploying SEDs ......................................... 85 6.4.2.2 Check SED Functionality .................................... 86 6.5 Email ........................................................ 87 6.6 System Dataset .................................................. 89 6.7 Alert Services ................................................... 90 6.8 Alert Settings .................................................... 92 6.9 Cloud Credentials ................................................. 93 6.10 Tunables ...................................................... 97 6.11 Update ....................................................... 100 6.11.1 Preparing for Updates .......................................... 100 6.11.2 Updates and Trains ........................................... 100 6.11.3 Checking for Updates .......................................... 100 6.11.4 Saving the Configuration File ...................................... 102 6.11.5 Applying Updates ............................................. 102 6.11.6 Manual Updates ............................................. 103 6.12 CAs ......................................................... 103 6.13 Certificates ..................................................... 107 6.14 Support ....................................................... 111 7 Tasks 113 7.1 Cron Jobs ...................................................... 113 7.2 Init/Shutdown Scripts ............................................... 115 7.3 Rsync Tasks .................................................... 116 7.3.1 Rsync Module Mode ........................................... 118 7.3.2 Rsync over SSH Mode .......................................... 119 7.4 S.M.A.R.T. Tests .................................................. 122 7.5 Periodic Snapshot Tasks ............................................. 123 7.6 Replication Tasks ................................................. 125 7.6.1 Examples: Common Configuration ................................... 125 7.6.1.1 Alpha (Source) .......................................... 125 7.6.1.2 Beta (Destination) ........................................ 126 7.6.2 Example: FreeNAS® to FreeNAS® Semi-Automatic Setup ...................... 126 7.6.3 Example: FreeNAS® to FreeNAS® Dedicated User Replication ................... 129 7.6.4 Example: FreeNAS® to FreeNAS® or Other Systems, Manual Setup ................ 130 7.6.4.1 Encryption Keys ......................................... 131 7.6.5 Replication Options ........................................... 133 7.6.6 Replication Encryption .......................................... 135 7.6.7 Limiting Replication Times ........................................ 135 7.6.8 Troubleshooting Replication ...................................... 136 7.6.8.1 SSH ................................................ 136 7.6.8.2 Compression ........................................... 136 7.6.8.3 Manual Testing .......................................... 136 7.7 Resilver Priority .................................................. 137 7.8 Scrub Tasks .................................................... 138 7.9 Cloud Sync Tasks ................................................. 139 7.9.1 Cloud Sync Example ........................................... 142 8 Network 145 8.1 Global Configuration ............................................... 145 8.2 Interfaces ..................................................... 147 8.3 IPMI ......................................................... 149 8.4 Link Aggregations ................................................. 151 8.4.1 LACP, MPIO, NFS, and ESXi ....................................... 151 8.4.2 Creating a Link Aggregation ....................................... 152 8.4.3 Link Aggregation Options ........................................ 155 8.5 Network Summary ................................................ 156 8.6 Static Routes .................................................... 156 8.7 VLANs ........................................................ 157 9 Storage 159 9.1 Swap Space .................................................... 159 9.2 Pools ........................................................ 159 9.2.1 Creating Pools .............................................. 159 9.2.2 Managing Encrypted Pools ....................................... 162 9.2.3 Adding Cache or Log Devices ...................................... 166 9.2.4 Removing Cache or Log Devices .................................... 166 9.2.5 Adding Spare Devices .......................................... 166 9.2.6 Extending a Pool ............................................. 166 9.2.7 Export/Disconnect a Pool ........................................ 167 9.2.8 Importing a Pool ............................................. 168 9.2.9 Viewing Pool Scrub Status ........................................ 171 9.2.10 Adding Datasets ............................................. 172 9.2.10.1 Deduplication .......................................... 174 9.2.10.2 Compression ........................................... 175 9.2.11 Adding Zvols ............................................... 175 9.2.12 Setting Permissions ........................................... 176 9.3 Snapshots ..................................................... 178 9.3.1 Browsing a Snapshot Collection .................................... 180 9.4 VMware-Snapshots ...............................................