From c7190e8240cfda8b88cd391d6c6ea0921f980cf8 Mon Sep 17 00:00:00 2001 From: <> Date: Sun, 19 Feb 2023 18:06:01 +0000 Subject: [PATCH] Deployed 156585bc with MkDocs version: 1.4.2 --- 404.html | 14 + Bazarr/After-install-configuration/index.html | 5 + Bazarr/Setup-Guide/index.html | 5 + .../Tips/Bazarr-suggested-scoring/index.html | 5 + Bazarr/index.html | 5 + Bazarr/scripts/index.html | 5 + .../Deluge/Deluge-Basic-Setup/index.html | 5 + .../Deluge-how-to-add-labels/index.html | 5 + Downloaders/Deluge/index.html | 5 + Downloaders/NZBGet/Basic-Setup/index.html | 5 + .../NZBGet/Paths-and-Categories/index.html | 5 + Downloaders/NZBGet/index.html | 5 + Downloaders/NZBGet/scripts/index.html | 5 + Downloaders/SABnzbd/Basic-Setup/index.html | 5 + .../SABnzbd/Paths-and-Categories/index.html | 5 + Downloaders/SABnzbd/index.html | 5 + Downloaders/SABnzbd/scripts/index.html | 5 + Downloaders/index.html | 5 + .../qBittorrent/3rd-party-tools/index.html | 5 + .../qBittorrent/Basic-Setup/index.html | 5 + .../How-to-add-categories/index.html | 5 + Downloaders/qBittorrent/Paths/index.html | 5 + .../qBittorrent/Port-forwarding/index.html | 5 + .../index.html | 5 + Downloaders/qBittorrent/index.html | 5 + Downloaders/ruTorrent/index.html | 5 + .../ruTorrent-Basic-Setup/index.html | 5 + .../Check-if-hardlinks-are-working/index.html | 5 + Hardlinks/Examples/index.html | 5 + .../Hardlinks-and-Instant-Moves/index.html | 5 + Hardlinks/How-to-setup-for/Docker/index.html | 5 + .../How-to-setup-for/Dockstarter/index.html | 5 + Hardlinks/How-to-setup-for/Native/index.html | 5 + .../How-to-setup-for/Synology/index.html | 7 +- .../How-to-setup-for/TrueNAS-Core/index.html | 1176 +++++++++++++++++ Hardlinks/How-to-setup-for/Unraid/index.html | 7 +- .../images/truenas-create-dataset.png | Bin 0 -> 46443 bytes .../images/truenas-dataset-options.png | Bin 0 -> 54646 bytes .../images/truenas-dataset-permissions.png | Bin 0 -> 27726 bytes .../images/truenas-group-options.png | Bin 0 -> 12091 bytes .../images/truenas-nfs-service-options.png | Bin 0 -> 34590 bytes .../images/truenas-nfs-share-options.png | Bin 0 -> 51675 bytes .../images/truenas-user-options.png | Bin 0 -> 48416 bytes Hardlinks/How-to-setup-for/index.html | 8 +- .../Replace-copies-with-hardlinks/index.html | 5 + .../index.html | 5 + .../index.html | 5 + Misc/index.html | 5 + Misc/trash-sync/index.html | 5 + Misc/x265-4k/index.html | 5 + Plex/Tips/4k-transcoding/index.html | 5 + .../Optimal-plex-client-settings/index.html | 5 + Plex/Tips/Plex-media-server/index.html | 5 + Plex/index.html | 5 + Plex/profiles/index.html | 5 + Prowlarr/index.html | 5 + .../prowlarr-setup-flaresolverr/index.html | 5 + Prowlarr/prowlarr-setup-proxy/index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../Radarr-import-custom-formats/index.html | 5 + .../index.html | 5 + Radarr/Radarr-remote-path-mapping/index.html | 5 + .../index.html | 5 + Radarr/Tips/Merge-quality/index.html | 5 + .../Radarr-rename-your-folders/index.html | 5 + .../index.html | 5 + Radarr/Tips/Sync-2-radarr-sonarr/index.html | 5 + Radarr/index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../radarr-setup-quality-profiles/index.html | 5 + SQP/1/index.html | 5 + SQP/2/index.html | 5 + SQP/3/index.html | 5 + SQP/4/index.html | 5 + SQP/5/index.html | 5 + SQP/index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../Sonarr-Release-Profile-RegEx/index.html | 5 + .../index.html | 5 + Sonarr/Sonarr-remote-path-mapping/index.html | 5 + .../index.html | 5 + Sonarr/Tips/Merge-quality/index.html | 5 + Sonarr/Tips/Sync-2-radarr-sonarr/index.html | 5 + Sonarr/index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../sonarr-import-custom-formats/index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../index.html | 5 + .../sonarr-setup-quality-profiles/index.html | 5 + index.html | 5 + search/search_index.json | 2 +- sitemap.xml | 5 + sitemap.xml.gz | Bin 1051 -> 1063 bytes thnx/index.html | 5 + 101 files changed, 1645 insertions(+), 4 deletions(-) create mode 100644 Hardlinks/How-to-setup-for/TrueNAS-Core/index.html create mode 100644 Hardlinks/How-to-setup-for/images/truenas-create-dataset.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-dataset-options.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-dataset-permissions.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-group-options.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-nfs-service-options.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-nfs-share-options.png create mode 100644 Hardlinks/How-to-setup-for/images/truenas-user-options.png diff --git a/404.html b/404.html index 7c66a655a..54a2d7915 100644 --- a/404.html +++ b/404.html @@ -2101,6 +2101,20 @@ +
  • + + TrueNAS Core + +
  • + + + + + + + + +
  • Unraid diff --git a/Bazarr/After-install-configuration/index.html b/Bazarr/After-install-configuration/index.html index e851e024e..8264bc36c 100644 --- a/Bazarr/After-install-configuration/index.html +++ b/Bazarr/After-install-configuration/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Bazarr/Setup-Guide/index.html b/Bazarr/Setup-Guide/index.html index 085eb2c28..2b09e73d0 100644 --- a/Bazarr/Setup-Guide/index.html +++ b/Bazarr/Setup-Guide/index.html @@ -987,6 +987,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Bazarr/Tips/Bazarr-suggested-scoring/index.html b/Bazarr/Tips/Bazarr-suggested-scoring/index.html index bf0d58511..558298db4 100644 --- a/Bazarr/Tips/Bazarr-suggested-scoring/index.html +++ b/Bazarr/Tips/Bazarr-suggested-scoring/index.html @@ -891,6 +891,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Bazarr/index.html b/Bazarr/index.html index 88c52f7f0..3e4ebaff9 100644 --- a/Bazarr/index.html +++ b/Bazarr/index.html @@ -886,6 +886,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Bazarr/scripts/index.html b/Bazarr/scripts/index.html index 53af55c8d..a6d6faa68 100644 --- a/Bazarr/scripts/index.html +++ b/Bazarr/scripts/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/Deluge/Deluge-Basic-Setup/index.html b/Downloaders/Deluge/Deluge-Basic-Setup/index.html index 174ba11fa..8c67db53c 100644 --- a/Downloaders/Deluge/Deluge-Basic-Setup/index.html +++ b/Downloaders/Deluge/Deluge-Basic-Setup/index.html @@ -881,6 +881,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/Deluge/Deluge-how-to-add-labels/index.html b/Downloaders/Deluge/Deluge-how-to-add-labels/index.html index 0381ab03b..d579d5908 100644 --- a/Downloaders/Deluge/Deluge-how-to-add-labels/index.html +++ b/Downloaders/Deluge/Deluge-how-to-add-labels/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/Deluge/index.html b/Downloaders/Deluge/index.html index 128316cc2..02e8de2c4 100644 --- a/Downloaders/Deluge/index.html +++ b/Downloaders/Deluge/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/NZBGet/Basic-Setup/index.html b/Downloaders/NZBGet/Basic-Setup/index.html index c10f8768f..d6ec7861d 100644 --- a/Downloaders/NZBGet/Basic-Setup/index.html +++ b/Downloaders/NZBGet/Basic-Setup/index.html @@ -945,6 +945,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/NZBGet/Paths-and-Categories/index.html b/Downloaders/NZBGet/Paths-and-Categories/index.html index ed1852af1..4178ab87c 100644 --- a/Downloaders/NZBGet/Paths-and-Categories/index.html +++ b/Downloaders/NZBGet/Paths-and-Categories/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/NZBGet/index.html b/Downloaders/NZBGet/index.html index 006826e9e..7f6a8a0e2 100644 --- a/Downloaders/NZBGet/index.html +++ b/Downloaders/NZBGet/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/NZBGet/scripts/index.html b/Downloaders/NZBGet/scripts/index.html index f4d8dcb51..47e3fa7aa 100644 --- a/Downloaders/NZBGet/scripts/index.html +++ b/Downloaders/NZBGet/scripts/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/SABnzbd/Basic-Setup/index.html b/Downloaders/SABnzbd/Basic-Setup/index.html index 5526c1832..ec116cc14 100644 --- a/Downloaders/SABnzbd/Basic-Setup/index.html +++ b/Downloaders/SABnzbd/Basic-Setup/index.html @@ -962,6 +962,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/SABnzbd/Paths-and-Categories/index.html b/Downloaders/SABnzbd/Paths-and-Categories/index.html index cc5fdf0d8..9192a612d 100644 --- a/Downloaders/SABnzbd/Paths-and-Categories/index.html +++ b/Downloaders/SABnzbd/Paths-and-Categories/index.html @@ -881,6 +881,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/SABnzbd/index.html b/Downloaders/SABnzbd/index.html index 8c7719352..fc3bdb19a 100644 --- a/Downloaders/SABnzbd/index.html +++ b/Downloaders/SABnzbd/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/SABnzbd/scripts/index.html b/Downloaders/SABnzbd/scripts/index.html index 439827a4a..58d8ca653 100644 --- a/Downloaders/SABnzbd/scripts/index.html +++ b/Downloaders/SABnzbd/scripts/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/index.html b/Downloaders/index.html index 860a68a6d..e655543bf 100644 --- a/Downloaders/index.html +++ b/Downloaders/index.html @@ -886,6 +886,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/3rd-party-tools/index.html b/Downloaders/qBittorrent/3rd-party-tools/index.html index 92c4f1355..39cd99bc7 100644 --- a/Downloaders/qBittorrent/3rd-party-tools/index.html +++ b/Downloaders/qBittorrent/3rd-party-tools/index.html @@ -901,6 +901,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/Basic-Setup/index.html b/Downloaders/qBittorrent/Basic-Setup/index.html index ebe229955..07e153846 100644 --- a/Downloaders/qBittorrent/Basic-Setup/index.html +++ b/Downloaders/qBittorrent/Basic-Setup/index.html @@ -1000,6 +1000,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/How-to-add-categories/index.html b/Downloaders/qBittorrent/How-to-add-categories/index.html index 749de0412..26b2c2311 100644 --- a/Downloaders/qBittorrent/How-to-add-categories/index.html +++ b/Downloaders/qBittorrent/How-to-add-categories/index.html @@ -886,6 +886,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/Paths/index.html b/Downloaders/qBittorrent/Paths/index.html index 96a37ae3e..400dbe064 100644 --- a/Downloaders/qBittorrent/Paths/index.html +++ b/Downloaders/qBittorrent/Paths/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/Port-forwarding/index.html b/Downloaders/qBittorrent/Port-forwarding/index.html index 4ef395fa4..a36ec077d 100644 --- a/Downloaders/qBittorrent/Port-forwarding/index.html +++ b/Downloaders/qBittorrent/Port-forwarding/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/Tips/How-to-run-the-unRaid-mover-for-qBittorrent/index.html b/Downloaders/qBittorrent/Tips/How-to-run-the-unRaid-mover-for-qBittorrent/index.html index d344a291f..c98214f36 100644 --- a/Downloaders/qBittorrent/Tips/How-to-run-the-unRaid-mover-for-qBittorrent/index.html +++ b/Downloaders/qBittorrent/Tips/How-to-run-the-unRaid-mover-for-qBittorrent/index.html @@ -947,6 +947,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/qBittorrent/index.html b/Downloaders/qBittorrent/index.html index ab2efa3d7..6f71e6784 100644 --- a/Downloaders/qBittorrent/index.html +++ b/Downloaders/qBittorrent/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/ruTorrent/index.html b/Downloaders/ruTorrent/index.html index d53ebc492..72190fa23 100644 --- a/Downloaders/ruTorrent/index.html +++ b/Downloaders/ruTorrent/index.html @@ -864,6 +864,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Downloaders/ruTorrent/ruTorrent-Basic-Setup/index.html b/Downloaders/ruTorrent/ruTorrent-Basic-Setup/index.html index 1fc52b423..ae1773a25 100644 --- a/Downloaders/ruTorrent/ruTorrent-Basic-Setup/index.html +++ b/Downloaders/ruTorrent/ruTorrent-Basic-Setup/index.html @@ -881,6 +881,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/Check-if-hardlinks-are-working/index.html b/Hardlinks/Check-if-hardlinks-are-working/index.html index 60c5a675a..8c3722a57 100644 --- a/Hardlinks/Check-if-hardlinks-are-working/index.html +++ b/Hardlinks/Check-if-hardlinks-are-working/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/Examples/index.html b/Hardlinks/Examples/index.html index 3ba02b2ee..de066603f 100644 --- a/Hardlinks/Examples/index.html +++ b/Hardlinks/Examples/index.html @@ -863,6 +863,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/Hardlinks-and-Instant-Moves/index.html b/Hardlinks/Hardlinks-and-Instant-Moves/index.html index be284c2a5..1316db09d 100644 --- a/Hardlinks/Hardlinks-and-Instant-Moves/index.html +++ b/Hardlinks/Hardlinks-and-Instant-Moves/index.html @@ -905,6 +905,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/How-to-setup-for/Docker/index.html b/Hardlinks/How-to-setup-for/Docker/index.html index 95b53f463..16519d6d6 100644 --- a/Hardlinks/How-to-setup-for/Docker/index.html +++ b/Hardlinks/How-to-setup-for/Docker/index.html @@ -933,6 +933,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/How-to-setup-for/Dockstarter/index.html b/Hardlinks/How-to-setup-for/Dockstarter/index.html index 7e4fc4d77..b0185daae 100644 --- a/Hardlinks/How-to-setup-for/Dockstarter/index.html +++ b/Hardlinks/How-to-setup-for/Dockstarter/index.html @@ -939,6 +939,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/How-to-setup-for/Native/index.html b/Hardlinks/How-to-setup-for/Native/index.html index 349fe9283..2e266a91e 100644 --- a/Hardlinks/How-to-setup-for/Native/index.html +++ b/Hardlinks/How-to-setup-for/Native/index.html @@ -919,6 +919,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/How-to-setup-for/Synology/index.html b/Hardlinks/How-to-setup-for/Synology/index.html index 13680e5e0..d884da947 100644 --- a/Hardlinks/How-to-setup-for/Synology/index.html +++ b/Hardlinks/How-to-setup-for/Synology/index.html @@ -9,7 +9,7 @@ - + Synology - TRaSH Guides @@ -1042,6 +1042,11 @@
  • + + TrueNAS Core + +
  • +
  • Unraid diff --git a/Hardlinks/How-to-setup-for/TrueNAS-Core/index.html b/Hardlinks/How-to-setup-for/TrueNAS-Core/index.html new file mode 100644 index 000000000..9e75bf3a8 --- /dev/null +++ b/Hardlinks/How-to-setup-for/TrueNAS-Core/index.html @@ -0,0 +1,1176 @@ + + + + + + + + + + + + + + +TrueNAS Core - TRaSH Guides + + + + + + + + + + + + + + + + +
    + + Skip to content + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + + + +

    TrueNAS Core

    +
    +

    Note

    +

    This guide is based on TrueNAS Core 13, a storage solution based on ZFS. While there are more similarities than differences between Core and Scale in terms of creating datasets, this guide explicitly covers dataset, share, and basic permission setup in order to provide a place for creating and accessing the recommended folder structure. This does not cover jails or other virtualization means on the TrueNAS Core platform.

    +

    This guide assumes that you've already created a pool, which by default will contain a top-level dataset that was configured during the time of pool configuration. For the examples below, we'll be using a pool name of tank. Encryption is recommended on the pool (TrueNAS uses ZFS Encryption with AES-256-GCM in TrueNAS Core 13), but not required. TrueNAS Core allows for granularity in encrypting individual datasets if you don't want to encrypt at the top-level dataset and have it be inherited down to the other datasets.

    +

    TrueNAS Core defaults to lz4 encryption as the compression level when creating a pool. This is fine for most workloads, and can be safely inherited down to other datasets under the top-level dataset. ztsd is currently the default in FreeBSD, however TrueNAS Core still defaults to lz4. Given that media files are not very compressible by nature, the only benefit that compression provides in this case is to supplementary files such as .srt, .nfo, etc.

    +

    Additionally, since SMB does not support hardlinks we will only be covering the creation and use of NFS shares.

    +
    +
    +

    Create the main dataset

    +
    +

    Warning

    +

    To get hardlinks and atomic moves working with ZFS you will need to make use of ONE dataset with subfolders. Note that this does not mean multiple datasets under the example top-level dataset tank from this example.

    +
    +

    For this example I'm using the dataset from my existing setup, Media. The naming isn't important as host machine mappings can be manipulated as desired.

    +

    Go to Storage -> Pools and click on â‹® on the right side of your root dataset, then select Add Dataset.

    +

    truenas-dataset

    +

    On the next screen you'll fill out your basic dataset info, such as name and comments. I have a few things grayed out here as the dataset has already been configured, but in this example you would use Media in the Name field and keep everything else at its default (Inherit) with the exception of Enable Atime and Record Size. Set Enable Atime to off and Record Size to 1M. This provides a performance increase on a dataset that will primarily be handling media files. Optionally, you can configure Quota for this dataset if you want to limit what the dataset displays and will accept in terms of capacity when it's mounted (i.e. setting this to 10 TiB will show 10T as the capacity when mounted).

    +

    During share creation, there will be an option at the bottom for Share Type. Generic is the default, with SMB as a selectable option. Since we'll be using NFS, select Generic.

    +

    Click Submit (mine shows Save since this is an existing dataset) once complete.

    +

    truenas-dataset

    +
    +

    Create a shared group

    +

    We'll need to create a shared group so that we can ensure proper access when mounting, and to avoid ending up with nobody as the group name when mounting over NFS. This group should contain any of your user accounts that will be accessing the share (Starr apps, download clients, etc). It should also match the group and GID on the host you plan to mount the share to, and run your apps on.

    +

    Navigate to Accounts -> Groups, and click Add at the top right.

    +

    You'll arrive at a simple configuration screen like the one shown below. Set your GID that you plan to use, and name the group. In this example I'm using a GID of 1215 and a group name of dockermedia. Since this group won't be used for anything other than share permissions, leave Permit Sudo and Samba Authentication unchecked. Click Submit once complete.

    +

    truenas-group

    +
    +

    Create your user(s)

    +

    We'll need to create a user (or users if you're using individual user accounts per service) on TrueNAS that matches the user and UID of the user you'll be mounting your share with. It's important that these match since we're not using the Mapall function that exist under the NFS Share options.

    +

    Navigate to Accounts -> Users, and click Add at the top right.

    +

    You'll arrive at a configuration screen like the one shown below. Fill out Full Name and Username with the desired username, and set your User ID that you plan to use.

    +

    You'll need to uncheck New Primary Group so you can manually populate Primary Group with the shared group you created in the previous step. In this example I'm using a GID of 1215 and a Primary Group name of dockermedia. Leave Home Directory as /nonexistent, and set Disable Password to Yes. Uncheck Samba Authentication and click Submit once complete. Home Directory Permissions aren't important as it's set to /nonexistent, and we won't ever be accessing it.

    +

    truenas-user

    +
    +

    Note

    +

    If you're using a single, shared user and group setup (1000:1000 is the common one) you can leave New Primary Group checked. Assuming there's not a group that already exists with GID 1000 it will create that group automatically with the same name as the user.

    +
    +
    +

    Dataset permissions

    +

    Now that we have a user and a group, we can set the permissions on the dataset.

    +

    Navigate to Storage -> Pools, and click â‹® on the right side of your target dataset (Media if you're following my example), then select Edit Permissions.

    +

    You'll arrive at a configuration screen like the one shown below. Under Owner, fill out your User and Group information with your desired user and the shared group you plan to use for your apps. User isn't super important here if you're using a NFS share and have Group configured properly, but it would matter if you're doing a single-user share (i.e. if you wanted a single person to have their own dataset -> share to map).

    +

    Check the boxes for Apply User, Apply Group, and Apply Permissions Recursively (check Confirm and click Continue if you get a popup). Check the Access Mode boxes as indicated in the image example and click Save once complete.

    +

    truenas-dataset-permissions

    +
    +

    Create your NFS share(s)

    +

    Navigate to Sharing -> Unix Shares (NFS), and click Add at the top right.

    +

    Under Paths you can either use the interactive browser by clicking /mnt, or just enter the correct Path. Following along with the previous examples, mine is /mnt/tank/Media.

    +

    Set a Description if desired (recommended for tracking), and check All dirs and Enabled.

    +

    Click Advanced Options to show the rest of the options we need.

    +

    Leave Security alone as the defaults are fine.

    +

    At the bottom, you have a couple of options. You can either specify Authorized Networks for more broad access, or authorize specific hosts (my preferred method). Either way, make sure you use one of these options to ensure that whichever host is mounting the NFS share has access.

    +

    Click Submit once complete.

    +

    truenas-nfs-share-options

    +
    +

    Configure and enable NFS service

    +

    Navigate to Services and click the edit icon under Actions on the NFS row.

    +

    Enabling NFSv4 is optional, but I generally prefer it since NFSv4 has some improvements over NFSv3. Make sure to check Allow non-root mount under Other Options.

    +

    One of the most important options here is the Number of servers setting. If you click on the help icon you'll see the help text for this setting, which indicates that you should keep this less than or equal to the number of CPUs reported by sysctl -n kern.smp.cpus to limit CPU context switching.

    +

    Any other options are mostly up to your environment and you should consult standard TrueNAS support paths for assistance.

    +

    Click Save once complete.

    +

    Make sure to check Start Automatically and click the slider under Running to make sure the service is running correctly and starts at boot.

    +

    truenas-nfs-service-options

    +
    +

    Mount your shares

    +

    Follow standard mounting procedures for your operating system/device. In Ubuntu mounting a NFS share is as simple as adding it to /etc/fstab with <host>:/mnt/tank/Media /mnt/data nfs defaults,_netdev,rw 0 0, and issuing mount -a (or rebooting).

    +

    Regardless of method, make sure that the device ends up with a data mount point. The mount point is important since it will allow us to follow the usual guide for folder structure. If you've followed the guide, from a NFS share standpoint the owner and group of the /mnt/data directory will be the user and group that were previously configured in the Dataset Permissions section. If this is improperly configured you can end up with nobody as the owner or group, or have permission errors.

    +
    +

    Folder Structure

    +

    Now that you have a data folder, you can follow the normal folder structure recommendations, such as the one below.

    + +
    data
    +├── torrents
    +│   ├── books
    +│   ├── movies
    +│   ├── music
    +│   └── tv
    +├── usenet
    +│   ├── books
    +│   ├── movies
    +│   ├── music
    +│   └── tv
    +└── media
    +     ├── books
    +     ├── movies
    +     ├── music
    +     └── tv
    +
    + +

    These subfolders you need to create yourself using your preferred method. Set your permissions accordingly as well. If you use ACLs on the datasets you can replicate the usual 775/664 (UMASK 002) or 755/644 (UMASK 022) recommendation, but this guide only covers the use of basic permissions for mounting and expects the end user to fine-tune permissions via chmod, chown, and uid/gid/umask settings on the applications that will be utilizing the share.

    +
    + +
    +
    +

    Questions or Suggestions?

    +

    If you have questions or suggestions click the chat badge to join the Discord Support Channel where you can ask your questions directly and get live support.

    +

    Discord chat

    +
    + + +
    +
    + + + Last update: + February 19, 2023 17:58:33 + +
    +
    +
    +Buy me a coffee + +
    +
    +
    +
    +
    + +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/Hardlinks/How-to-setup-for/Unraid/index.html b/Hardlinks/How-to-setup-for/Unraid/index.html index 59fffe354..74a726176 100644 --- a/Hardlinks/How-to-setup-for/Unraid/index.html +++ b/Hardlinks/How-to-setup-for/Unraid/index.html @@ -8,7 +8,7 @@ - + @@ -862,6 +862,11 @@ Synology
  • +
  • + + TrueNAS Core + +
  • + + TrueNAS Core + +
  • +
  • Unraid @@ -925,13 +930,14 @@ This is all done in a way to achieve Native
  • Synology
  • Unraid
  • +
  • TrueNAS Core

  • Last update: - October 18, 2022 18:45:01 + January 30, 2023 02:18:30