Adding and Managing Datasets

A TrueNAS dataset is a file system within a data storage pool. Datasets can contain files, directories, and child datasets, and have individual permissions or flags.

Datasets can also be encrypted. In TrueNAS 22.12.3 or later, the TrueNAS UI requires encryption for child datasets created in encrypted parent datasets, but you can change the encryption type from key to passphrase. You can create an encrypted dataset if the parent is not encrypted and set the type as either key or passphrase.

Read full post gdoc_arrow_right_alt

Creating Snapshots

Snapshots are one of the most powerful features of ZFS. A snapshot provides a read only point-in-time copy of a file system or volume. This copy does not consume extra space in the ZFS pool. The snapshot only records the differences between storage block references whenever the data is modified.

Why do I want to keep snapshots? Snapshots keep a history of files and provide a way to recover an older or even deleted files. For this reason, many administrators take regular snapshots, store them for some time, and copy them to a different system. This strategy allows an administrator to roll the system data back to a specific point in time. In the event of catastrophic system or disk failure, off-site snapshots can restore data up to the most recent snapshot.

Taking snapshots requires the system have all pools, datasets, and zvols already configured.

Read full post gdoc_arrow_right_alt

Bits or Bytes?

Which is it, bit or byte? And what is the difference between a bit or a byte?

Both bit and byte are basic measurements for computerized data but they represent different measurements.

A bit is the smallest unit of measure for computerized storage, and when combined with a time measurement such as seconds, becomes the common basis for determining how fast raw data bits transfer across a network, as in bits per second (bps). It is the basic unit of measurement for network bandwidth. A bit is the raw data unit, and is either a zero (0) or one (1). A bit is represented in measurements as the lower case b as it kilobits (kbs), megabits (Mbs), gigabits (Gbs), etc. When discussing the rate of speed as in bits per second (b/s or bps) you see measurements as Kbps for kilobits/second, Mbps for megabits/second, Gbps for gigabits/second, etc.

Read full post gdoc_arrow_right_alt

Adding and Managing Zvols

A ZFS Volume (zvol) is a dataset that represents a block device or virtual disk drive. TrueNAS requires a zvol when configuring iSCSI Shares. Adding a virtual machine also creates a zvol to use for storage.

Storage space you allocate to a zvol is only used by that volume, it does not get reallocated back to the total storage capacity of the pool or dataset where you create the zvol if it goes unused. Plan your anticipated storage need before you create the zvol to avoid creating a zvol that exceeds your storage needs for this volume. Do not assign capacity that exceeds what is required for TrueNAS to operate properly. For more information, see TrueNAS Hardware Guide for CPU, memory and storage capacity information.

Adding a Zvol

To create a zvol, go to Datasets. Select the root or non-root parent dataset where you want to add the zvol, and then click Add Zvol.

Read full post gdoc_arrow_right_alt

Creating Pools

TrueNAS uses ZFS data storage pools to efficiently store and protect data.

What is a pool?

Storage pools attach drives organized into virtual devices called VDEVs. Drives arranged inside VDEVs provide varying amounts of redundancy and performance. ZFS and VDEVs combined create high-performance pools that maximize data lifetime.

ZFS and TrueNAS periodically review and heal when discovering a bad block in a pool.

Read full post gdoc_arrow_right_alt

Managing Snapshots

Viewing the List of Snapshots

File Explorer limits the number of snapshots Windows presents to users. If TrueNAS responds with more than the File Explorer limit, File Explorer shows no available snapshots. TrueNAS displays a dialog stating the dataset snapshot count has more snapshots than recommended and states performance or functionality might degrade.

There are two ways to view the list of snapshots:

Read full post gdoc_arrow_right_alt

Managing User or Group Quotas

TrueNAS allows setting data or object quotas for user accounts and groups cached on, or connected to the system. You can use the quota settings on the Add Dataset or Edit Dataset configuration screens in the Advanced Options settings to set up alarms and set aside more space in a dataset. See Adding and Managing Datasets for more information.

To manage the dataset overall capacity, use Edit on the Dataset Space Management widget to open the Capacity Settings screen.

Read full post gdoc_arrow_right_alt

Pools

TrueNAS pools are ZFS storage containers that combine physical disks to provide storage capacity and data protection.

Contents

  • Import Pool: Provides information on ZFS importing for storage pools in TrueNAS. It also addresses GELI-encrypted pools.

    • Creating Pools: Provides background considerations and a simple tutorial on creating storage pools in TrueNAS.

      • Creating Fusion Pools: Provides information on setting up and using fusion pools.

        • Managing Pools: Provides instructions on managing storage pools, VDEVs, and disks in TrueNAS.

          • Pool Creation Wizard Screen: Descriptions for settings and functions found in the Pool Creation Wizard.

            • VDEV Screens: Provides information on settings and functions found on the VDEVs screens and widget.

              TrueNAS Hardware Guide

              TrueNAS Enterprise systems use components that are qualified and tested by the TrueNAS team to offer the best storage and performance with TrueNAS Enterprise Edition.

              This guide will go over the minimum hardware requirements and offer suggestions for TrueNAS Community Edition users.

              Minimum Hardware Requirements

              ProcessorMemoryBoot DeviceStorage
              Any x86_64 compatible (Intel or AMD) processor8 GB memory20 GB SSD boot deviceTwo identically-sized devices for a single storage pool

              Storage Considerations

              The heart of any storage system is the symbiotic pairing of the file system and physical storage devices. The ZFS file system in TrueNAS provides the best available data protection of any file system at any cost and makes effective use of spinning-disk storage, all-flash storage, or a mix of both. ZFS is prepared for the eventual failure of storage devices and is highly configurable to achieve the perfect balance of redundancy and performance to meet any storage goal. A properly configured TrueNAS system can tolerate multiple storage device failures and recreate its boot media with a copy of the configuration file.

              Read full post gdoc_arrow_right_alt

              Creating Fusion Pools

              Fusion Pools are also known as ZFS allocation classes, ZFS special vdevs, and metadata vdevs (Metadata vdev type on the Pool Manager screen).

              What is a special VDEV? A special VDEV can store metadata such as file locations and allocation tables. The allocations in the special class are dedicated to specific block types. By default, this includes all metadata, the indirect blocks of user data, and any deduplication tables. The class can also be provisioned to accept small file blocks. This is a great use case for high-performance but smaller-sized solid-state storage. Using a special vdev drastically speeds up random I/O and cuts the average spinning-disk I/Os needed to find and access a file by up to half.

              Creating a Fusion Pool

              On the Storage Dashboard, click Create Pool, or click Add To Pool, then select New Pool.

              Read full post gdoc_arrow_right_alt