/r/truenas

Photograph via snooOG

All things related to TrueNAS, the world's #1 most deployed Storage OS!

/r/truenas

52,440 Subscribers

3

Offsite backup strategy options

Question for folks who are using offsite storage

I've got a local truenas instance set up. It's a simple 2 drive mirror + a separate nvme. The nvme is used as a datastore for proxmox backup. Once all the nightly backups are done, truenas replicates it to the 2 drive mirror. The spinners are also used for other storage purposes.

Once a week this instance replicates all snapshots to a secondary local nas.

For the purposes of offsite backups, I've been thinking of using one of those vps's that give you X TB of storage (at the moment 2 TB would be more than enough).

For now, the most sound strategy seems to set up the remote vps with either straight forward debian + zfs or install a truenas instance there as well. Either way, the remote pool would not be encrypted. Instead, i'd redo the local pool with encryption. No encryption would be used when replicating. Effectively, the replicated data would be housed at the vps in an encrypted state. Does this make sense or should I be exploring other options.

Any kind of encrpytion of the remote end itself would mean keys have to be housed locally (to it) to decrypt and make the pool usable. This does not sound like a good idea.

Thoughts?

6 Comments
2025/02/02
22:09 UTC

1

Proper app configuration backup and restore

Hey folks,

I've recently been looking into ways to properly back up the apps I have installed through the TrueNAS Scale UI. I already have backups in place for all the data that my apps need and consume. Now I'd like to properly back up their configurations. I read somewhere that all app configurations are stored in the /mnt/.ix-apps/app_configs folder. Backing this up is trivial. However, it is the restoration process that scares me.

To put it simply:

  • Assume I have a backup of /mnt/.ix-apps/app_configs.
  • Now, let's say my system dies.
  • What is the proper way to restore everything I backed up from /mnt/.ix-apps/app_configs?

ChatGPT seems to think I can just stop the middlewared service, copy all the backed up files to their original locations, and then restart middlewared. Would that work? Or would I have to reinstall each app from the UI manually and hand pick all the values saved in the backed up configurations?

Now, I do know that there exists Dockge which lets me have more control over the docker composeness of my system. But, for theory's sake, let's assume I am stuck with installing/configuring apps through the TrueNAS Scale UI.

0 Comments
2025/02/02
19:39 UTC

3

Migrate from linux server to TrueNas

Hi at all, i've a nas server that consist in a pc with linux, i need some advise to migrate all my data and container to TrueNas. The hardware configuration is this:

CPU -> Intel(R) Xeon(R) CPU E3-1225 v6

GPU -> Nvidia GT710

Ram -> 16GB DDR4

Disks :

  1. 1 Seagate Ironwolf 8TB (SATA)
  2. 1 Seagate Barracuda 8TB (SATA)
  3. 1 Old WD red 6TB (SATA)
  4. 1 Old Seagate 1TB (SATA)
  5. 1 Crucial SSD 500gb (SATA)

At the moment i use the Ironwolf as main storage and the Barracuda as replication disk (i use a cron job with rclone to copy all data from a disk to another every night). Others two disk are used as utility like torrenting or keeping a vm.

I've also 5-6 docker container that i would keep without losing data or configuration.

There is a way to migrate my actual server on truenas, maybe without reformatting the disks ? It would be too risky because it would be a moment when all my data are only on a disk.

2 Comments
2025/02/02
19:04 UTC

1

Nexcloud app install fail

Hi,

For the last week i was trying to install the app Nexcloud from the internal apps section on Truenas (ElectricEel-24.10.2) but I'm getting an error. The details are in /var/log/app_lifecycle.log

postgres_upgrade Warning pull access denied for ix-postgres, repository does not exist or may require 'docker login': denied: requested a

ccess to the resource is denied

nextcloud Warning pull access denied for ix-nextcloud, repository does not exist or may require 'docker login': denied: requested access

to the resource is denied

It seems that the script is trying to download images ix-nextcloud and ix-postgress but not finding them, then the app install fails.

When I go to https://hub.docker.com/ I cant find any of those containers.

Is the Truenas app using a custom docker registry I should check?

1 Comment
2025/02/02
18:36 UTC

0

GPU raccomandation

Can someone give me some tips on a GPU for my NAS? It's basically an old Lenovo thinkcentre E73 if I'm not wrong with an intel core i7 4770 and 16Gb of ram ddr3. Also the PSU is the one included with the PC which is only 180W, so I need a GPU than takes power only trough the PCI slot. I only need a GPU for video encoding at 1080p with handbrake and immich. I have TrueNAS scale. Thanks for help

8 Comments
2025/02/02
18:34 UTC

1

Troubleshooting GPU passthrough to PLEX APP/Container

Hello everyone,

I am hoping people can assist with this, I have 2 AMD Vega Frontier Editions attached to my Truenas Scale 24.10 w/ official plex app, and I can't seem to get passthrough to function correctly. I have tried isolating the GPU's, isolating one GPU, isolation no GPU's, and nothing seems to work. Transcoding just does not work

Where do I begin troubleshooting?

2 Comments
2025/02/02
17:36 UTC

0

Интересни apps в TrueNas Scale - Deluge и FileBrowser

2 Comments
2025/02/02
16:58 UTC

0

Noob Needs help Updating his NAS

Hey everyone, I've been using TrueNAS SCALE for a while now and love how well it works—I've never had any major issues. I noticed that a new update train, Electric Eel, is available, but I'm currently still on Cobia.

My question is: Can I upgrade directly to Electric Eel without having to reconfigure anything, such as my Plex server or the existing storage pools? Will all my settings and applications remain intact after the upgrade, or are there any steps I should take to ensure a smooth transition?

Thanks in advance for any insights!

3 Comments
2025/02/02
16:42 UTC

1

Auto copy from TrueNAS Scale to Windows SMB

Hi new friends. I've been working on learning TrueNAS as fast as I can in the last 2 months after having an experience with my windows install and having to lean on Backblaze to get my files back.

So I now have Scale set up, and a pool with a dataset and child data sets for various protection rules. Some stuff I have, like the royalty free media I use for video creation doesnt need any snapshots, or backup. If I lose it, I can get it back as needed, just "painfully."

But one of my child data sets, lets call it "photos," is for my media archive I create. Family photos, videos for my youtube channel, and for work. This one has multiple snapshots with various time frames to keep the snapshots enabled. I also want to set this up to go back to my windows box where Backblaze will handle offsite for me. I've used free file sync donation for years doing on demand syncs and know it has a watched folder app. I think I would set this on my windows box to watch the photos smb share for changes where it would then copy files to windows, which then would get a backup to back blaze. See https://freefilesync.org/manual.php?topic=realtimesync

My question here is, this seems like a simple solution, but are there flaws people see, or are there "better ways" to do this. Remember, linux and truenas n00b here but willing to learn. Tinkering is fun, but in this one case, I need it to work without care and feeding.

Thanks!

1 Comment
2025/02/02
16:42 UTC

4

Ollama upgrade

I have Truenas running on a Xeon E5-2678. I am looking at adding a video card for Ollama, and probably just Ollama (Jellyfin has its own box). I have a 1050 kicking around in the bin, but I was considering purchasing something with more VRAM. I am mixing bang for my buck and something that might already be tested and running on someone’s system with Ollama. Right now I am looking at an RTX 3060 with 12GB of RAM. I wanted to go with Arc B580 but they are only being scalped and the support for Ollama on Truenas does not seem to be there.

Any thoughts? Anyone running this?

3 Comments
2025/02/02
16:03 UTC

1

Qnap to TrueNas Scale

Hi
I currently have a QNAP TS-431P, but it freezes during backups, and virus checks. It runs:

  • Docker
  • Home Assistant
  • MQTT Mosquitto
  • ClamAV
  • File sharing via NFS and WebDAV

I want to build a TrueNAS SCALE system using hardware I already have:

  • Intel Pentium G4500T (LGA 1151, 6th gen Skylake)
  • 8GB DDR4 RAM (2x4GB)
  • Four HDDs (for storage) in qnap

I plan to run:

  • Pi-hole (DNS filtering)
  • Docker
  • Home Assistant
  • MQTT Mosquitto
  • ClamAV
  • File sharing via NFS and WebDAV
  • WireGuard (VPN server)
  • Pi-hole and a few more services

I'm looking for a Mini-ITX motherboard that supports this CPU, has at least 4 SATA ports for my HDDs, and an M.2, mSATA, or NVMe slot for the OS drive.

So far, I found the ASRock H170M-ITX/DL, which has:

  • 4x SATA ports
  • 1x mSATA slot (for the OS SSD)
  • Mini-PCIe expansion
  • Dual LAN (Intel I219V + Realtek RTL8111H)

I see very few new or second-hand options on eBay, but I found some used ASRock H170M-ITX/DL listings on AliExpress for ~€68.

Other possible motherboards I found that fit my needs:

  • ASRock H110M-ITX/ac – Has M.2 SATA/NVMe and 4 SATA ports
  • GIGABYTE GA-H110N – Has M.2 NVMe on the back and 4 SATA ports

Questions:

  1. Is ASRock H170M-ITX/DL a good choice for TrueNAS SCALE? Any known issues?
  2. Are there better alternatives that support 4 SATA drives + mSATA/NVMe for the OS?
  3. Where’s the best place to find LGA 1151 Mini-ITX motherboards second-hand?

Would appreciate any advice or recommendations!

Thanks

3 Comments
2025/02/02
11:45 UTC

21

TrueNAS CORE 13.3-U1.1 now available

January 31, 2025

iXsystems is pleased to release TrueNAS 13.3-U1.1!

This is a maintenance release with important updates for the rsync service.

  • Updates to the rsync daemon mode to address recent CVEs (NAS-133561). See the TrueNAS Security Advisories for more details about the CVEs, including the iXsystems response.
  • Port additional upstream fix for the rsync daemon (NAS-133755).

https://www.truenas.com/docs/core/13.3/gettingstarted/corereleasenotes/#133-u11-changelog

4 Comments
2025/02/02
10:08 UTC

11

Is there any point for Linux Virtual Machines if we have now regular Docker containers?

Hello! I'm wondering what would be the benefit of using a Virtual Machine inside of Truenas vs deploying your application, gaming servers, etc. inside of a Docker container.

Are there any cases where it would be best to use a Virtual Machine instead of Docker container?

45 Comments
2025/02/02
09:54 UTC

25

First nas build slow transfer speed? Help.

Ok so this is my first nas build with truenas scale. Below are the details.

10400 16GB ram 2 nvme mirror for apps (mirrored)- none installed yet 1 boot drive ssd 4 wd red plus 4 tb HD configured in raidz1

I have the nas wire connected to a gigabit Ethernet switch and connected to my mobo auros b460 gigabit port. I use a Linksys below mesh router(unsure if that matters).

Forgive me I’m new to all of this but ran iperf to check on speeds and seems ok? (See photo)Unsure again.

When I try and transfer from my pc to the NAs on same network say a 4gb file iso image sped is 10mb/s goes up to maybe 15. Or if I try to transfer a folder is 140gb of photos says it’ll take 5 hrs.

Again I’m new to all of this.

One thing to note I did run a windows complete backup and saved directly to the NaS it was like 500gb file and took maybe 1hr I think was going super fast it seemed for the size.

Anyways any suggestions or guidance appreciated. If this is normal then ok.

24 Comments
2025/02/02
00:29 UTC

0

Add files to server for plex?

This seems like it should be very easy, but for some reason I can't find anything about this. How do I add movies and TV files to my server for plex? I'm very, very new at this, so ELI5?

25 Comments
2025/02/01
22:54 UTC

0

Minecraft Bedrock - Cant access install location nor server properties

Hi all - I recently been trying to host a bedrock server for Minecraft and installed it via - tzg/docker-minecraft-bedrock-server. I have tried to delete it multiple times and re-install via a different path type. But each time it keeps installing it on the

|| || |volume|/mnt/.ix-apps/docker/volumes/|

I want to install the save files and all the configs to a different location so I can actually access them and change attributes.

My storage configuration is set to

Mount Path: /mnt/HDDs/Applications/Minecraft

Host Path Enable ECL - Off

Host Path :/mnt/HDDs/Applications/Minecraft/AdditionalData

And it doesnt seem to store the server properties in the minecraft application folder i created. There is nothing in there. Any help is appreciated.

12 Comments
2025/02/01
22:52 UTC

3

New Disk Not Showing After Failure

I'm newer to TrueNas but a long time reader, first time caller. I have two appliances that I'm growing fond of but lost a drive in one of them. I'm trying to swap the bad disk but ZFS isn't seeing the new drive like lsblk is.

Replacement drive is the same breed and species of the dead one BUT I'm pretty sure (given lsblk output) there's data on the drive from its previous life.

The Linux part of my brain wants to gpart destroy the disk but I'm quickly learning that TrueNas doesn't play well with other packages. Any ideas on how I can purge the disk? This is a backup of a backup (lab testing) so I'm not concerned with losing the whole thing.

1 Comment
2025/02/01
20:58 UTC

1

Weird error with windows SMB shares

Hiya,

So i can see the windows share in the file explorer. However i cant access it until i log into the truenas dashboard in a browser. Then after i can access the share like normal.

I have basic credentials in the ACL and the username and password works. It just wont let me access the share until i log into truenas.

any ideas on how i can fix this?

2 Comments
2025/02/01
17:35 UTC

3

Upgrading from Core on FreeBSD to Scale and jail freeBSD version issues.

Hey all,

I've been running TrueNAS since way back when it was freeNAS and having a freeBSD based server wasn't as stupid as it feels now. My system basically runs a local storage pool using SMB, a windows 10 VM and a jail running nginx as a webserver. I've also been planning migrating my pfSENSE system to a VM within this system and setting up Blue Iris when i get round to sorting out my camera setup.

As I understand it, freeBSD will no longer be supported with TrueNAS and I don't really want to keep it if I don't need to. My questions are: what happens if I just update to SCALE? Will my Windows VM just die along with my webserver jail?

Also, there is a weird bug where I can't make new jails because it only allows me to create freeBSD versions 13.3 and 13.4 despite the fact my system runs 13.1 - and the jail already have runs 13.1 despite claiming to run 13.2. Said webserver has also tanked itself in a glorious fashion, hence I am exploring migrating to Debian before wasting a lot of time trying to fix it.

Recommendations?

Thanks for the help.

7 Comments
2025/02/01
16:43 UTC

1

Having trouble isolating iGPU for VM passthrough

Hi all,

I built a new NAS recently using the ASUS WS PRO W680-ACE SE motherboard and an Intel i5-12600K CPU. This specific motherboard has an onboard BMC (ASPEED 2600) with VGA output. I am trying to assign TrueNAS to use the BMC video controller so that I can isolate the Intel iGPU for passthrough to a VM. However, there are no GPUs available for isolation in the System > Advanced settings menu.

Things I have checked:

  • The iGPU is in its own IOMMU group by itself.
  • The onboard BMC VGA controller is detected by TrueNAS.

Was anybody else able to figure out how to do this, or do I need to take a look at Proxmox and virtualizing TrueNAS?

5 Comments
2025/02/01
16:13 UTC

2

TrueNAS Scale | arch-qbittorrentvpn - External IP/DNS Connectivity Issue with WireGuard Configuration / "Downloading Metadata"

system: TrueNAS Scale using a custom ix-app version: ElectricEel-24.10.1 (Dragonfish previously, same problem.) arch-qbittorrentvpn version: 4.6.7 (latest gives the same issues) Reason for 4.6.7 is because that is the latest version qBitrr works with.

I've been using arch-qbittorrentvpn for quite a while now. About 2/3 weeks ago I noticed that qBittorrent wasn't downloading anything anymore and kept saying "downloading metadata". Tests failed because there's no connection to the outside. I've restarted the custom-app on my TrueNAS Scale system, upgraded from DragonFish to ElectricEel and changed my DNS servers. Normally I am using my own Pi-hole server but I've made sure it uses others for testing purposes as well.

As far as I can tell the container "Cannot determine external IP address" due to DNS problems. But I do not know how to fix it. I hope someone has an awnser or can point me in the right direction.

Here's my current configuration: Since Wireguard requires the config below I've added that to TrueNAS's Sysctl since I did not know how to add it to the app specifically.

--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--privileged=true \

Sysctl setting

Custom app config: Image1 Image2 Image3 Image4 Image5 Image6

Below is the log: log

I've also opened an issue on github but have not received any response. Figured you guys could possibly have an idea or two. link

2 Comments
2025/02/01
14:52 UTC

0

Apps like Tailscale on HDD pool?

I use my NAS exclusively as a NAS. Any services I want to run outside of file storage are run elsewhere. With that said, I'm thinking to add Tailscale to my NAS to place it directly on my tailnet.

I know conventional wisdom is to run apps on an SSD pool (my NAS is all spinning rust). I can't see why running something like Tailscale would run worse on HDDs (once spun up), but want to see if someone knows otherwise and if it would make a difference in day-to-day usage.

3 Comments
2025/02/01
13:18 UTC

4

Network speeds

Does anyone do any optimising of their network card with Truenas? Recently I've been transferring lots of data on to my server and was wondering if the was anything I'm not doing. I know it's probably my old hds but thought I would ask. Currently transferring 20gb from an external drive to a mapped drive in windows and it's going at around 8mb per sec. Should I expect more?

7 Comments
2025/02/01
13:03 UTC

3

Best way to move to a new pool?

Howdy everyone,

I’ve been doing some reading planning in advance before I make any purchases or changes with my NAS, finally got ALMOST everything I want working pretty smoothly and everything seems pretty stable. My only issues lately are largely financially related lol.

My current drive setup is I have a media pool for my movies and tv shows, media in general. It is made up of two 4tb hdds. Shortly after I got that setup when I started the project I added two 8tb hdds after I realized the price difference between the 4 and 8tb drives. My box has 8 bays which I had assumed would be more than enough but less than a year later an im already starting to push it. My mirrored 4tb drives are starting to fill up and my end goal was always raid-z so I plan on getting two new 8tb drives when it won’t break my bank.

My question is if I want to add two more drives to my 8tb pair and move the data from the 4tb pair over to the 8tb pair as well, would I be able to wipe the 8tb drives, move data, and then add in the other two to reach raid-z? Or would I have to fully establish my raid-z pool first and then move my data?

With 8 bays I’m sure it doesn’t seem like an issue but at the moment I have a USB NVME adapter for my boot pool (not ideal but I’m working on a better looking and functioning solution for that as well), two mirrored SSDs for my apps pool, and one cache ssd for my mirrored media pool and then as mentioned before the mirrored 8tb pair for a total of 7 in use drive bays of 8. I’m assuming I could easily remove the cache drive for media when making my changes as to free up another slot on the NAS and then just add it back onto the raid z pool when I’m finished.

My 8tb pair currently has nothing but disposable data on it which has been intentional to make my migration to the raid pool easier. So with that I believe it covers my current build unless I’m forgetting something. So would it be as simple as migrate to the current 2x 8tb drives and then just add the other two on? Or do I have to make the full raid pool before transferring anything over?

Another question that is hopefully more simple, since my drives are not all physically grouped in an ideal order for my end project, would I be able to rearrange the order of the disks without interfering with the system itself? Say if two 8tb drives are in bays 7 and 8 and two are in bays 3 and 4, would I be able to theoretically move 3 and 4 to slots 5 and 6 just to keep the drives in order without interfering with boot process or how the data is organized or anything?

Apologies if these are all stupid questions, I’ve spent some time searching and haven’t been able to find the answers I’m looking for yet and typically tend to learn more from Reddit than I do watching a lot of the highly use case specific YouTube videos about truenas. (I have also read the docs, the docs blow both Reddit and YouTube out of the water in terms of helpfulness for sure but sometimes can be hard to find little specific odd pieces of info)

TLDR; I want to create a 4x 8tb hdd raid z pool for my media which is currently on a mirrored 4tb pool. I have 2 8tb drives already and am not sure if I should migrate data to the bigger pool and add the two new 8tb drives afterwards or if I need to clean the whole 8tb pool and start from scratch once properly configured.

4 Comments
2025/02/01
12:32 UTC

1

Setting up Scrub and SMART test results to be sent over email

Hey guys, I am new to the whole home NAS scene. I am trying to setup email reports to for my automated scrub and smart test with all details irrelevant of the results. And I am having trouble finding any support for it which works. I am not receiving anything and tbh ChatGPT is now going around in circles suggesting the same things. I just wanted to know if anyone has a setup like this and if so how did they manage to get it to work. I am on TrueNAS Scale. Thanks for the help.

3 Comments
2025/02/01
11:32 UTC

3

Deduplication and RAM

Hi Folks,
Long time datahoarder here, but new to truenas. I'm currently restructuring my entire homelab with several large storage arrays, and am looking at a path towards moving everything (except a powerful Proxmox server) to truenas. That'll be 4 machines in total.

3 of those are offline most of the time, only turning on to getting some data (backups, long storage, etc). Some of that data is highly duplicated. So I'm looking into deduplication.

Now TrueNAS offers this, but I also read a lot about the RAM requirement. Given that each storage array is at least 150 TB, the recommendation seems to be 600 GB RAM. I'd like to avoid that if possible.

So for a newcomer here: How important is this recommendation. Is it a case of "Much less and the system will break apart / become unworkable", or is it more "It will work with a lot less ram but expect performance to be down to 25%".

For me there's a big difference. I could deal with the performance loss, quite a bit, but obviously not with a completely unworkable system

6 Comments
2025/02/01
09:15 UTC

2

Hosting game servers on truenas machine?

Im almost ready to make my first nas out of my old desktop, the only thing is I really want to be able to host servers for games like Minecraft and Assetto corsa on the setup and I want to know is it even possible? Has anyone here tried it or done it successfully? Are there any good tutorials I can be pointed to? And which version of truenas should I use for my use case?

18 Comments
2025/02/01
04:56 UTC

2

n8n on Apps Truenas

Hello bro,

I'm a newbie here, and I need some help with the following setup:

  1. I want to run TrueNAS Scale (or any recommended OS for selfhost that support samba for sharing file) and have n8n running in the container Apps.
  2. I plan to forward the port of my modem to the IP of the TrueNAS server and use a dynamic domain to create a friendly URL for remote access via the internet, allowing me to work with my server and n8n.
  3. However, after multiple attempts at reinstalling n8n and modifying environment variables, it no longer starts properly. I really need a step-by-step tutorial on installing n8n in the TrueNAS Apps section (I couldn’t find one anywhere).
  4. Does anyone have a tutorial link on how to integrate Telegram or WhatsApp APIs with my self-hosted n8n running on a TrueNAS Docker setup?
  5. Also how to make a folder in NAS that could be access by n8n for using the file could be perfect.

Any help would be greatly appreciated!

0 Comments
2025/02/01
04:37 UTC

0

Has anyone actually had any issues running the OS on a partition?

Has anyone experienced any issues running TrueNAS Scale on a partition? It's a common ask for small-scale NASes, and there are guides out there for how to do this. Any such guides on the TrueNAS forums have this disclaimer at their tops:

This HOWTO will damage the ability of your TrueNAS appliance to properly maintain itself, will break the ability to replace failed drives, and may cause problems with upgrades and updates. TrueNAS is not designed to do this sort of partitioning, and the developers are not interested in supporting this. You may be on your own if you do this.

From what I understand, the second part ("will break the ability to replace failed drives") isn't a big deal, since you can still do that manually via CLI, which is clearly something you're already comfortable with if you managed to install TrueNAS to partitions. (Correct me if I'm wrong here!)

What I'm curious about, though, are the first and third parts: "will damage the ability of […] TrueNAS […] to […] maintain itself" and "may cause problems with […] updates".

Does anyone know specifics on what the disclaimer is referring to here? Or is it just a general, nonspecific sort of "you're on your own" warning?

Has anyone here who is running or has run with a partitioned setup had any issues with TrueNAS's self-maintenance or updates? How long have you been running / did you run with partitions for?

6 Comments
2025/02/01
03:51 UTC

1

First-time build of Truenas - question around storage configuration for iSCSI.

I'm building my first ever truenas box and I was interested in what the best storage layout would be. I will be installing it on a system with:

  • 1 X 2TB NVMe
  • 1 X 500GB SATA M2 Drive
  • 6 X 900GB SATA SSD Drives

The primary purpose of this box will be iSCSI target for esxi. I don't care much about redundancy at all as I'll be backing this up - and it's more of a homelab situation anyway. I'm not opposed to RAID1'ing the six SSD's - as long as it's not overly complicated. ZFS noob here - really just looking for great performance - for my VM's. Perhaps install to 500GB? Would love thoughts on how I do this. Also - this system will have tons of CPU cores (5950X) but only 32GB RAM - in case there are iscsi-related features that might benefit from it?

2 Comments
2025/02/01
03:48 UTC

Back To Top