I’m only starting out with TrueNAS Scale and there’s just so much information out there, plus everyone’s first response is RTFM, I thought I’d ask your friendly neighborhood AI what it would recommend for the drives I have.
The question:
I have four 12TB hard drives, two 1TB nvme drives, a 4tb nvme drive and a 280GB Optane drive. How should I set up storage in TrueNAS Scale so that large files are stored on the HDDs and apps and VMs use the 4TB drive?
The answer:
To set up your storage in TrueNAS Scale with the given drives, you can follow these steps to ensure large files are stored on the HDDs and your apps and VMs use the 4TB NVMe drive:
Step 1: Set Up Storage Pools
-
Create a Pool for HDDs:
- Pool Name:
HDD_Pool
- Disks: Use the four 12TB hard drives.
- RAID Configuration: Choose RAIDZ2 for better redundancy and performance (this allows for two disk failures).
- Pool Name:
-
Create a Pool for the 4TB NVMe Drive:
- Pool Name:
App_Pool
- Disks: Use the 4TB NVMe drive.
- RAID Configuration: Since it’s a single drive, it will be set up as a stripe (no redundancy).
- Pool Name:
-
Create a Pool for Smaller NVMe and Optane Drives:
- Pool Name:
Fast_Storage
- Disks: Use the two 1TB NVMe drives and the 280GB Optane drive.
- RAID Configuration: You can choose to mirror the 1TB NVMe drives for redundancy and use the Optane drive as a special vdev for metadata and SLOG (Separate Intent Log) to boost performance.
- Pool Name:
Step 2: Configure Datasets and Shares
-
Datasets for HDD Pool:
- Create datasets within the
HDD_Pool
for large files and other bulk storage needs. - Example Datasets:
Media
,Backups
,Archives
.
- Create datasets within the
-
Datasets for App Pool:
- Create datasets within the
App_Pool
specifically for apps and VMs. - Example Datasets:
VM_Storage
,App_Storage
.
- Create datasets within the
-
Datasets for Fast Storage:
- Create datasets for high-speed access needs within the
Fast_Storage
pool. - Example Datasets:
Temp_Data
,Cache
.
- Create datasets for high-speed access needs within the
Step 3: Configure App and VM Storage
-
For Apps:
- When setting up applications, configure their storage to use the
App_Storage
dataset from theApp_Pool
.
- When setting up applications, configure their storage to use the
-
For VMs:
- Configure VM storage to use the
VM_Storage
dataset from theApp_Pool
.
- Configure VM storage to use the
Step 4: Configure Network Shares
-
Create SMB or NFS shares for the datasets in the
HDD_Pool
for access to large files over the network.- Example Shares:
\\truenas\Media
,\\truenas\Backups
.
- Example Shares:
-
Configure access permissions according to your needs for different users or services.
Step 5: Optimize Performance
- Enable Caching: Make use of the
Fast_Storage
pool for caching to enhance performance for frequently accessed data. - Set Up SLOG: Use the 280GB Optane drive as an SLOG device to accelerate synchronous writes, improving performance for apps and VMs.
By organizing your storage in this manner, you ensure that your large files benefit from the high capacity of the HDDs, while your apps and VMs take advantage of the high speed of the 4TB NVMe drive. The additional NVMe and Optane drives will enhance overall system performance through caching and logging.
Then I tried to install Jellyfin app and it offered to set up its own storage. So apparently (some?) apps can do this for themselves, great, so then how much do I need to be involved with storage configuration?
I’m coming from an older Synology/DSM where I just created folders and accessed them. I mainly want to run Jellyfin or home theater and store backups from devices at home. Also run some lab stuff when I wanna try out something new, be it k8s, high-availability, VMs.