Deploying, Administering, and Mastering the Open-Source NAS Platform Born from TrueNAS CORE
Introduction
- What This Book Covers
- How to Use This Book
- Prerequisites
- Version Notes
Chapter 1: The Story of FreeCORE, From TrueNAS CORE to Open-Source Continuation
- The TrueNAS Legacy: How an Open-Source NAS Became Industry Standard
- The Fork That Changed Everything: iXsystems Ends Free TrueNAS CORE Support
- Enter FreeCORE: Community, Philosophy, and Project Goals
- What’s the Same, What’s Different: Comparing FreeCORE to TrueNAS CORE
- Choosing Your Path: FreeCORE vs. TrueNAS SCALE vs. Alternatives
Chapter 2: Architecture Deep Dive, Understanding How FreeCORE Works
- FreeBSD at the Core: Why This Matters for Stability and Performance
- OpenZFS Integration: The Storage Engine That Makes It All Work
- The Middleware Layer: How Services Talk to the Operating System
- The Web UI and CLI: Two Interfaces, One System
- Boot Environments and Updates: Atomic Upgrades Explained
Chapter 3: Planning Your Deployment, Requirements, Topologies, and Design Decisions
- Hardware Requirements: Minimum, Recommended, and Production-Class
- CPU, Memory, and Motherboard: What Matters for ZFS Performance
- Storage Planning: Disk Selection, Controllers, and Topology Choices
- Network Design: Speed, Redundancy, and Protocol Considerations
- Deployment Scenarios: Home Lab, Small Business, Enterprise Edge
Chapter 4: Installation, Getting FreeCORE Running on Your Hardware
- Preparing Your Installation Media: USB Creation and Verification
- The Installer Walkthrough: Every Screen Explained
- Advanced Installation Options: Disk Selection and Boot Configuration
- Verifying the Installation: Health Checks and First Boot Procedures
- Troubleshooting Installation Problems: Common Failure Modes
Chapter 5: Initial Configuration, From Fresh Install to Functional NAS
- Network Configuration: IP Addressing, DNS, and Gateway Setup
- System Settings: Hostname, Time Synchronization, and Console Access
- Creating Your First Storage Pool: Step-by-Step with Verification
- Initial User and Group Setup: Local Accounts and Privileges
- Enabling Essential Services: SSH, NTP, and Logging
Chapter 6: ZFS Fundamentals, Understanding the Filesystem That Powers Everything
- Why ZFS: Copy-on-Write, Checksumming, and Self-Healing Explained
- Pool Architecture: How vdevs, Mirrors, and RAID-Z Work Together
- Datasets and Volume Types: Organizing Your Storage Logically
- RAID Configurations Compared: Mirror vs. RAIDZ1 vs. RAIDZ2 vs. RAIDZ3
- The ZFS Intent Log and Write Cache: Performance and Safety Trade-offs
Chapter 7: Storage Administration, Managing Pools, Datasets, and Disks
- Creating and Expanding Pools: Procedures and Best Practices
- Dataset Management: Properties, Quotas, and Reservations
- Disk Replacement Procedures: From Failure Detection to Rebuild Completion
- Scrubs: Scheduling, Running, and Interpreting Results
- SMART Monitoring and Predictive Failure Analysis
Chapter 8: Snapshots, Replication, and Data Protection
- Snapshot Fundamentals: Creating, Managing, and Restoring Point-in-Time Copies
- Automated Snapshot Policies: Schedules, Retention, and Naming Conventions
- Replication Basics: Push vs. Pull, Deduplication, and Bandwidth Limits
- Building a Backup Strategy with Snapshots and Replication
- Disaster Recovery Scenarios: What to Do When Things Go Wrong
Chapter 9: Networking, Interfaces, VLANs, Routing, and Firewalling
- Network Interface Configuration: Single NIC, LAGG, and Bonding Modes
- VLAN Configuration: Tagging, Trunking, and Isolated Services
- Advanced Networking: Bridges, Routing, and Multi-Homed Setups
- DNS and DHCP: Integration with Existing Infrastructure
- Firewall Rules: Protecting Your NAS from Unauthorized Access
Chapter 10: File Sharing Services, SMB, NFS, iSCSI, and More
- SMB/CIFS Configuration: Shares, Permissions, and Windows Integration
- NFS Exporting: Versions, Security Models, and Unix Clients
- iSCSI Targets: Block Storage for Virtual Machines and Servers
- FTP and SFTP: Legacy File Transfer with Modern Security
- WebDAV and Other Protocols: Specialized Use Cases
Chapter 11: Users, Groups, Permissions, and Access Control
- Local User and Group Management: Creating Accounts and Assigning Roles
- Active Directory Integration: Joining the Domain and Mapping Users
- LDAP and Other Directory Services: Alternative Authentication Backends
- Filesystem Permissions: Unix Modes, SMB ACLs, and POSIX Compliance
- NFSv4 ACLs: Unified Access Control for Mixed Environments
Chapter 12: Security Hardening, Monitoring, and Maintenance
- Security Baseline: Disabling Unused Services and Closing Attack Vectors
- SSL/TLS Certificates: Self-Signed vs. CA-Signed for Web UI and Services
- Authentication Hardening: SSH Keys, Two-Factor Auth, and Password Policies
- Logging and Monitoring: System Logs, Alerts, and Integration with External Tools
- Routine Maintenance: Updates, Scrubs, Health Checks, and Documentation
Chapter 13: Advanced Topics, Automation, Migration, Performance Tuning, and Troubleshooting
- Migrating from TrueNAS CORE to FreeCORE: Strategies and Data Preservation
- Command-Line Administration: Essential zfs, zpool, and FreeCORE Commands
- Automation with Scripts and APIs: Configuring via CLI and REST API
- Performance Tuning: ARC, L2ARC, SLOG, and Kernel Parameters
- Systematic Troubleshooting: Diagnostics, Logs, and Recovery Procedures