Тёмный

TrueNAS: Full Setup Guide for Setting Up Portainer, Containers and Tailscale  

Level1Techs
Подписаться 458 тыс.
Просмотров 161 тыс.
50% 1

Thank you to Fractal for sponsoring this video! Check out the Fractal Meshify 2 Lite here: www.fractal-de...
Wendell walks you through installing Portainer and Tailscale on TrueNAS for your home server!
Forum thread here: forum.level1te...
Check out the last video here: • Low Power/High Perform...
**********************************
Check us out online at the following places!
linktr.ee/leve...
IMPORTANT Any email lacking “level1techs.com” should be ignored and immediately reported to Queries@level1techs.com.
-------------------------------------------------------------------------------------------------------------
Intro and Outro Music By: Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons...

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 243   
@jeremyjedynak
@jeremyjedynak 2 года назад
Spoiler alert: Red Shirt Wendel survives the NAS software configuration.
@error4159
@error4159 2 года назад
I was wondering if he dead by the end, lol
@mikew642
@mikew642 2 года назад
Wendel... You are the only person on RU-vid, that I can truly trust your information. I have learned so much from you over the years. Getting my feet wet with TruNAS core and built my first NAS/Server about 3 months ago now on an Optiplex 990 (i7-2600). Creating a ZFS Pool was a 1st for me, and setting up an SMD Share... I'm sure I haven't made it the most efficient config, But I'm learning! Thank you for everything you share!!!
@futuregootecks
@futuregootecks Год назад
Amen! Long live Saint Wendell! 🎉
@sk8lucas
@sk8lucas Год назад
Thank God for written guides. It's a rare occurrence nowadays.
@hotforrobot
@hotforrobot 2 года назад
Wow I ran into the network share issue last year and thought I was crazy. Lazy solution, I setup a 2nd truenas system in the lab to act as a network share for VMs on the first. Glad to finally find a workaround. Leave it to Wendell to solve a problem I never asked about 😂
@wayland7150
@wayland7150 2 года назад
It seems like a cludge work around because it's tied to physical hardware with a 1gb/s limitation where as virtually it could be 10gb/s.
@SettlingAbyss96
@SettlingAbyss96 Месяц назад
over 2 years later the issue still exists, they will never fix it
@henrymethorst9108
@henrymethorst9108 2 года назад
Truenas Scale and Truecharts being "sort of clunky" is a ridiculous understatement. The documentation is horrendous as well. I am 2 seconds away from going back to proxmox and never looking back
@NatesRandomVideo
@NatesRandomVideo 2 года назад
Nice video Wendell. The wonkiness of the networking is a big turn off for new DIYers, whereas us old farts just sigh and fight thru it. Sadly this means when non techs ask what I recommend for home NAS storage and basic messing around, I just sigh and say Synology.
@manofwar9307
@manofwar9307 2 года назад
I've been using truecharts for some of my containers and, as you said early on, they're not very transparent and tend to force you to use their specific workflows. On top of that, I always run into issues with their containers whenever I try to do updates. It's definitely going to be a rough process but this video will definitely help me to transition away from truecharts apps. Also, Tailscale also opens up a lot of possibilities when it comes to remotely accessing my services securely and more simply. So thanks for that too!
@MRPtech
@MRPtech Год назад
I learned a lot from you in past 4 - 5 months! At this moment my home server setup: 12th Gen i7 Intel NUC with 64GB Ram, 240SSD hosting Proxmox and 2TB NVME for VMs. One VM is TrueNAS Scale which handles 16TB Mirror rust drives (Attached Drive BAY). Stores everything from Proxmox (Backups, ISOs, CT Templates, VM Additional drives, iSCSI 5TB drive for my work PC) Addition to TrueNAS, Proxmox spinning another 5 VMs and 10 CT Containers. Drive bay + NUC with all the stuff using on average 45 - 50w
@POPnRollApps
@POPnRollApps Год назад
How is it going with TrueNas Scale running on a VM? Did you pass-through all the drives? And does it properly use the allocated RAM?
@JoshuaSaundersAtLarge
@JoshuaSaundersAtLarge 2 года назад
Eek. Glad i watched this. Been wanting to consolidate a few systems into one more modern, and this has me rethinking my direction, which was basically this without knowing the landmines.
@charlescc1000
@charlescc1000 2 года назад
My thoughts exactly. Call me crazy but I think iX is massively over complicated things by not natively supporting plain vanilla Docker. I’m happy to use portainer as the webUI, but I’d like to run the Docker on the host itself, not in a VM. Maybe that is considered bad practice and that is why they are not doing it that way? But they are offering K3s on the host so I can’t imagine how Docker on host and K3s on host are very different in terms of ‘best practices’ Oh well. Stuck with 2 home servers
@BGraves
@BGraves Год назад
unRAID will do the trick
@frollard
@frollard 2 года назад
I pulled the trigger on unraid after trying and horribly failing at setting up truenas. Needed this video a year ago :P Awesome content as always!
@BGraves
@BGraves Год назад
unRAID is much better...
@evank8ng3ry
@evank8ng3ry 7 месяцев назад
I had this issue trying to set up twingate on my Truenas set up. I could not for the life of me figure out why I could connect to other virtual machines hosted in truenas, but could not connect to the truenas dashboard. I've been wracking my brain for a few weeks trying to figure out why it wasn't working. Can confirm the network bridge fixed it. Such an easy fix but easily overlooked. Thanks Wendell. :)
@CoryAlbrecht
@CoryAlbrecht 2 года назад
The best thing about this video was listening to Wendell's aggrieved tone of voice when discussing the broken network stack for TrueNAS Scale. I imagine that's what I sound like to other people when I'm complaining about it stuff myself.
@Jambax
@Jambax Год назад
One important thing to mention about the bridging. If you have a VM running or set to 'Autostart', make sure you have it off, or none of the bridge changes will work.
@TheFabie37
@TheFabie37 Год назад
^ This. Stopping any active VMs will allow it to work from the gui
@thenerviousman
@thenerviousman 2 года назад
Didn't know about Tailscale, was exactly what I always wanted to access my NAS over Internet. Thank you!
@the-patient-987
@the-patient-987 2 года назад
This channel is SO UNDERAPPRECIATED!! Great video! I'm waiting to have the budget to start tipping my toes.
@Adrayven
@Adrayven 2 года назад
Unfortunately, I've found the mods on TrueNAS forums being rude is their natural state. This isn't a bug, being rude and condescending is aTrueNAS mod feature. Thats why I always look elsewhere and only go there if I absolutely have too. Really like TrueNAS, really dislike how they treat others.. Might be different for enterprise customers; thats the path they've really taken as a company.
@marcusc3463
@marcusc3463 Год назад
Thanks Wendel, I was stuck on this for a few days until I ran across your video.
@pincombe
@pincombe Год назад
A good video overall but its the first video with Wendell where my own professional experience differs from what he is advising users to do. Certain types of data should never be ran over NFS. Specifically SQLite databases will encounter all kinds of bugs and are commonly used in docker. There are lots of other software that is incompatible with NFS also which will cause bugs and because users typically don't configure or install any software within a docker image there is little way most users are going to know about a potential problem until it just starts happening. It is possible to still use NFS with docker but really it should be limited only to data files which are unlikely to cause any issues. I know this undermines Wendell's goal of being able to snapshot his docker applications. I've been trying to solve the same problem myself for a long time and have yet to actually solve the problem.
@affieuk
@affieuk 11 месяцев назад
This makes sense. Look at what type of data you have and then follow the best practices for that. I can't remember what it was but I remember seeing some open source software, that would plug into SQLite db's and replicate them. So personally I'd rather do that.
@Mr.Newlove
@Mr.Newlove Год назад
Love your videos Wendell, working on my own home NAS atm. But an idea for a future video because its a huge point of stress for me... disaster recovery for this kind of setup. FreeNAS scale, Portainer... what needs to be done when you loose a drive, or even your boot drive, or other hardware failures.
@WarrMan4
@WarrMan4 6 месяцев назад
Switching from unraid to truenas. Followed this tutorial and got portainer going. Now to get all my apps going!
@dobrzpe
@dobrzpe Год назад
i was wondering why you went through a VM just to install Portainer instead of through docker on TrueNAS... but then i read the writeup! ok. was very well explained and makes a lot (more) sense. thanks for the writeup!
@bdbgh
@bdbgh 2 года назад
I'm using a Fractal R6 for my home server, and yeah the bridge network took me awhile to figure out when I tried the truenas scale beta. Also personally I moved my docker stuff to a rpi4 due to the memory leak issue awhile back, not moving back since I find it easier to manage for docker.
@SuperMari026
@SuperMari026 15 дней назад
Did you really think the older videos would escape my gaze? Muhahahah
@TheOneThreeFour
@TheOneThreeFour Год назад
This is probably the best guide on this but there's still so much that's confusing tbh. It would have been more clear for a Level0 user like myself if you actually walked through more of the steps instead of just have scroll overlays from the forum post with half-cut images for some steps
@emsicz
@emsicz 2 года назад
I somehow suspect Wendell read my threads on TrueNAS community forums. I have a SuperMicro build. I have two nics. I did try to set up bridge. And passthroughs. And it’s all buggy and broken but it works just enough so that if you learn of all the issues you can tip toe your way around those. I finished the build like 5 days ago, and I have my signature on their forum full of issues I encountered with links to relevant posts. To much of the annoyance of their mods, might I add.
@Jimmy_Jones
@Jimmy_Jones 2 года назад
I'm surprised it came out of beta with the amount of bugs this version has.
@emsicz
@emsicz 2 года назад
@@Jimmy_Jones It feels like they focused most of their QA to make sure the part that's responsible for your data works. That part actually works flawlessly.
@cybermuse6917
@cybermuse6917 2 года назад
Nom, nom, nom, let me consume your knowledge 👾
@penguinthesolver1405
@penguinthesolver1405 26 дней назад
Thanks for the tutorial! Gonna buy Synology
@Duke.Chocula
@Duke.Chocula 2 года назад
Wendell, you've mentioned a few times sleeping HDDs in TrueNAS; Is that (and hopefully other TrueNAS tuning) coming in a future video/forum post?
@QuantumConundrum
@QuantumConundrum 2 года назад
This and automated cold storage have been ideas I am trying to make happen for my setup. Very nice.
@TheExard3k
@TheExard3k 2 года назад
If you move the system dataset to your boot drive, HDDs shouldn't have activity anymore. But with 100 VMs/containers asking for stuff, you can't really send HDDs to sleep. You can squeeze a minute or two out of the writes with zfs_txg_timeout and over engineered cache for reads, but ZFS is meant for performance, not idle state. Let the drives spin in idle (
@picasso566
@picasso566 2 года назад
That's weird! I thought that network share issues (not allowing guests to ping the host) was by design. All of the virtual network setups in KVM for example (I used it on Fedora, Ubuntu) required removing the default virtual network and setting up a bridge manually. I think generally it may kinda sorta be a good idea in the majority of virtualization scenarios (by default).
@rilock2435
@rilock2435 2 года назад
I always find it amusing when tech tubers say things like "2x 20TB hard drives, not that much". Here in Canada, those IronWolfs cost $700 each. At $1400 for storage, that's worth more than most people's computers :) There are so many other computer parts I would spend that money on before I would spend that much on disk drives.
@Level1Techs
@Level1Techs 2 года назад
Good lord! Yeah find the sweet spot for capacity vs cost.
@TheExard3k
@TheExard3k 2 года назад
20TB is bad $/TB right now because "new" and "biggest". I can get a Toshiba MG08 16TB for 230$ here in Europe which is really the sweet spot for $/TB atm.
@wayland7150
@wayland7150 2 года назад
Here in the UK a company is auctioning 10 3TB Hitachi SAS drives. I picked up a set for £80 ($100). That's 8 in the system and 2 spares. That's about 17TB after ZFS has done it's thing. A bit cheaper than C$1400!
@HeavyD6600
@HeavyD6600 2 года назад
Please do the Tailscale video. Thanks for the video!
@TechNotebook
@TechNotebook Год назад
Thanks! I had the same issue with the tailscale instance not showing up on the tailscale web ui. The command you showed fixed it
@Tinnaminable
@Tinnaminable 2 года назад
Configuring some engagement for the algorithm
@criostasis
@criostasis Год назад
Duuuuude thank you Wendel!!! Fixed my issue with JellyFin so now it should be able to see my nas shares! FINALLY!
@urzaaaaa
@urzaaaaa 2 года назад
Thanks for doing this video. And thanks for sharing the frustration with TRUENAS SCALE. It drove me nuts to set the networking between VM and truenas host. They have some serious issues in their feedback processes. Do you think you could use your influence and push on them a little bit? Something seriously needs to change there.
@The123tactics
@The123tactics 2 года назад
Even on Truenas core things like VM's are totally broken. Windows VM's are almost impossible to keep stable. Had to move to scale to get stable VM's and there is still stuff like this that i had to do even after that.
@blackrockcity
@blackrockcity 2 года назад
@@The123tactics use XCP-ng for virtualization. Run truenas core as a VM and pass the hba through to truenas. Learn to tell which Intel NICs are counterfeit and get a real one.
@The123tactics
@The123tactics 2 года назад
@@blackrockcity I switched over to truenas scale. Works a lot better. Currently not using a HBA anyway but could passthrough the ssds I have in my pool the same. No issues and working as expected.
@blackrockcity
@blackrockcity 2 года назад
@@The123tactics I’m testing out scale but haven’t tried docker or VMs yet. It sounds like it’s not there yet, especially regarding networking. Having fought core, I don’t trust truenas to get virtualization right. XCP-ng is solid. I’ve never tried proxmox.
@BGraves
@BGraves Год назад
All of this is easy in unRAID...
@jenesuispasbavard
@jenesuispasbavard 7 месяцев назад
It's 2024 and bridging is *still* broken. Great job, iXsystems!
@jacobnoori
@jacobnoori 2 года назад
Thank you for another wonderful upload! I'm enjoying the homelab content so much!
@TimmyTechTV
@TimmyTechTV 2 года назад
Do you even network br0?
@jenesuispasbavard
@jenesuispasbavard 7 месяцев назад
Amazing guide! Finally set up nextcloud and tailscale and everything works over the tailscale-provided IPs; but I still can't get IPs from my local subnet to work... I guess I'll keep debugging, but even at this point the functionality is fantastic!
@g.paudra8942
@g.paudra8942 Год назад
17:23 I thought it said *"I added this line to the end of my life"* 🤣
@middle_pickup
@middle_pickup Год назад
I'm glad I saw this. Seriously rethinking if I would be able to get this up and running. Haha
@hotstovejer
@hotstovejer 2 года назад
Honestly, I would use Truenas for the thing that it's extremely good at, and have another machine running Docker. Right now, my homelab is a hodgepodge. Unraid running on a machine that is VERY overkill (Dual socket 6core/12thread Xeons with 128GB of ram), my Proxmox server (Which is overkill, but is severely lacking in local hard drive space) and then a couple of laptops just sitting in my server rack. I'm getting a disk shelf soon and want to make the unraid server Truenas, but JUST for storage.
@TheExard3k
@TheExard3k 2 года назад
Get TrueNAS Core for that.
@wayland7150
@wayland7150 2 года назад
I combined Proxmox and TrueNAS in one machine but I don't recommend it.
@hotstovejer
@hotstovejer 2 года назад
@@wayland7150 I mean, if you were going to just play with it, sure? But I want to use truenas for HA and storage. If I'm storing my VMs on truenas, why would I want to run it as a VM?
@wayland7150
@wayland7150 2 года назад
@@hotstovejer Well that's the point, I don't trust TrueNAS with my VMs but I like how it's a NAS. Proxmox for the VMs. It was OK, but slow NAS as a VM. Probably required some fine tuning, which I'm not prepared to do.
@popquizzz
@popquizzz 2 года назад
This is Level 4 tech fixing.
@Invaderjason123
@Invaderjason123 8 месяцев назад
Can someone help with step 2 "Tell the NFS share system to treat the “root” user on the client as root on this system. Map user and Map root should both be set to rot."? I have set Taproot User and group both to room and have also tried nfsdckr but I'm getting access denied when I try to mount /nfsDocker/nfsdckr
@vincei4252
@vincei4252 2 года назад
Where do you buy your spinning rust? I tried Amazon for a 16TB drive that was an utter fail. Drive came in a baggy with no protection. Immediate return. I bought same from NewEgg drive came in a sealed box with those plastic inflatable pouches. Unfortunately the drive wasn't packaged properly in the cushioning and sure enough it was a dead clicking drive. Thankfully NewEgg refunded my money -- this was before the Tech Jesus motherboard controversy. Any good seller recommendations appreciated.
@wayland7150
@wayland7150 2 года назад
I would go straight to a company specialising in reselling old server hardware, skip the middle man like Amazon or Newegg. A lot of these companies list on ebay but don't think of it as buying from embay, read the reviews and check out their products. I've got one in the UK who sells old SAS drives 10 at a time.
@geroldmanders9742
@geroldmanders9742 Год назад
It is actually very common to transport HDD's in just a baggy, without any other form of protection. Much more drives can be transported in one go this way and it is cheaper to replace broken drives than it is to package them properly. What is strange is that not too many drives break during transport this way. Not nearly enough to offset the price of packaging drives and sending much less of them in a container from the factory to the country where they are being sent. More drives get damaged when they are transported by truck/delivery company than by container transport, because packages get seriously mistreated by overworked/underpaid employees unfortunately. No amount of properly hard drive packaging helps with that.
@MADBONE0
@MADBONE0 Год назад
❤ thank you Wendell Enterprise king 👑 of nerds Seriously though, these walkthroughs are amazing and having an old HP z420 server and running TrueNAS + apps makes my brain go bbbrrrrr with all this optimization 🙏🏼
@mrlithium69
@mrlithium69 2 года назад
That was a nice 1 minute case review. Looks good
@HDFoxra
@HDFoxra Год назад
Should probably mention that UEFI is basically kinda sorta broken on TrueNAS Scale for Linux where GRUB doesn't work so you have to basically create your own boot stuff....
@rebsdioramas
@rebsdioramas 2 года назад
If Wendell manages to break the built in Docker then you know it's bad lol. The problem is IX wanted it done in a particular way and from my understanding even people experienced with Kubernetes can't work out why the hell they did it in this way, it's bassakwards. The VM network thing seems to be something IX just "does". Core does exactly the same thing, the VM cant talk to the host without stuffing around with a bridge. I had so many issues with the Docker / Kubernetes implementation in Scale I went to Core with a Plex jail and anything that didn't need to access the NAS went on a VM. Might tinker with this method instead of setting a Debian VM on one of my other systems.
@wayland7150
@wayland7150 2 года назад
I fail to see the point of Scale if Docker does not work. May as well use either Proxmox or Core.
@rebsdioramas
@rebsdioramas 2 года назад
@@wayland7150 My thoughts as well. Hell even a bog standard Debian install with Docker and ZFS is much better, more work obviously but it'll do what you want. The issue with Scale is Kubernetes, the implementation is stupid and clearly doesn't work but IX refuse to change it or give an option during install to just use vanilla Docker. A lot of people on Reddit and IX forums want vanilla Docker as well so it's not like the demand isn't there. Scale could've easily dominated the homelab, small and medium business sector but they screwed it up going after big business and enterprise. Might've worked, if they didn't usually use custom solutions and not these fairly restrictive prebuilt solutions... Dunno what the hell IX was thinking.
@wayland7150
@wayland7150 2 года назад
@@rebsdioramas There is probably a nice webGUI I don't know about that could be put on a Debian ZFS server that would get you a decent NAS. Webmin perhaps hahaha.
@rebsdioramas
@rebsdioramas 2 года назад
@@wayland7150 Cockpit works well but it can be a massive pain in the ass to set up correctly on Debian, lots of dependencies needed. It's easier on Ubuntu but... Ubuntu lol. Any RHEL distro it'll work mostly flawlessly on but getting ZFS on RHEL is a hassle lol.
@wayland7150
@wayland7150 2 года назад
@@rebsdioramas It sounds like an opportunity for someone to make a distro like that. I know I'd prefer to get that than roll my own.
@SebastianCoetzee
@SebastianCoetzee Год назад
Your videos are always top quality. Thanks!
@josephp1592
@josephp1592 4 месяца назад
We need an update using jailmaker!
@djbusters
@djbusters 2 года назад
The whole solution sounds good. would love to try this soon. I goign to setup new lab on some old server I found from work. I am looking forward to tailscale as a solution to connect to home devices when not at home. :)
@oof-software
@oof-software Год назад
I initially wanted to host TrueNAS and Debian VMs inside Proxmox but now I'll probably host a Debian VM in TrueNAS.
@gollenda7852
@gollenda7852 2 года назад
This is so awesome. Thanks Wendell
@mosth8ed
@mosth8ed 2 года назад
Any thoughts on ZeroTier? It seems to work in a similar way, and it can be self hosted, etc. I was able to use a Caddy container in front of my VaultWarden instance to only allow access from my ZeroTier network. Works well, but I always see stuff about TailScale, so I am interested in how they compare. Also, anyone having issues with TrusNas Scale running on a QNap? I can't restart it without it basically locking up from an endless flood of "rc rc0: receive overflow" messages, which force me to have to hard power it down because they just never stop and block all input.
@grimtagnbag
@grimtagnbag 2 года назад
If I get this tail shit working on my machine I’ll owe u a cookie
@grimtagnbag
@grimtagnbag 2 года назад
You are the shit!!!! My man!! Never heard of this before but yes sir this was my ticket. No more google Remote Desktop feeding the google monsters. I can get into my local network and didn’t have to port forward nothing. My isps nat is the devil 👿 and this gets me in. Ty boss
@grimtagnbag
@grimtagnbag 2 года назад
This is getting to fun. Tailscale EVERYTHING!!!! My pi4 low power hacking, pi3 Hosting Two Octoprint services to two different printers, portainer to manage those. My phone OMG EVERYTHING. Being able to final get into my network around my ISPs NAT TYTYTYTYTYTY. Years trying to this. Was google remote desktop into my main box to service anything. Now I can ssh to everything. WOW just wow
@grimtagnbag
@grimtagnbag 2 года назад
Wow I can even add the port to the end and get to each of the octoprints I have running omg tytyty yes yes yes
@kennyh1529
@kennyh1529 2 года назад
Just a note that it looks like you're using scale rather than core here. The video title/description were ambiguous. Scale ftw!
@handspiker1994
@handspiker1994 2 года назад
Given that nothing else in the title works in Core, I think it's pretty clear. The first 30 seconds of the video also shows Scale documentation and links also say "TrueNAS Scale". Blame IX systems for their shitty branding.
@Emerald13
@Emerald13 2 года назад
@@handspiker1994 core can run virtual machines just fine
@wayland7150
@wayland7150 2 года назад
@@Emerald13 They break after a few goes.
@denvera1g1
@denvera1g1 2 года назад
What i'd like to do is set up TrueNAS 'apps' to run plex, as well as TDARR to transcode recorded TV/movies, i just recently discovered that TrueNAS Scale can forward hardware decoder/encoder so i can now use my TrueNAS Plex instance as my primary playback server without worrying about weird CPU performance degredation for critical file share services instead of a seperate windows machine(i've recently had issues in linux with the PCIE TV tuners i need for my area for reliable signal). Though i wouldnt be transcoding to H265/AV1 with hardware, as all hardware encoders are very poor at space efficency, especially when going from one codec to another. In my case MPEG2 to H265 or AV1, both are qually bad, often either worse quality, or larger than the original MPEG2 file ~2GB/hour for 1080p, where as CPU is often 1/3rd-1/5th the size of the original for the same quality. I just need to be able to add in a PCIE TV tuner and i'll be set with a single device solution (seperate machines for on site redundancy and off site backup)
@kaspersergej
@kaspersergej 2 года назад
Good content as always and I love the server stuff. However I’ve tried Scale multiple times including the most recent version as of writing this. I continuously ran into issues or paper cuts here and there unfortunately. Core on the other hand has been rock solid for me - if you don’t use behyve.
@inputoutput-hd7jl
@inputoutput-hd7jl 5 месяцев назад
For a home server, I would've just installed tailscale on the host truenas installation. Would've made configuration a lot easier. Probably not the best way though
@TyberZ52
@TyberZ52 7 месяцев назад
Just spent the entire day stressing over not being able to mount any NFS share. Turns out that TrueNAS Scale (Cobia?) will not export ANY NFS shares if there is an user missing or something like that. I added a missing (I think it was missing) user on the host side and deleted (then recreated ) most of my NFS shares and lo and behold, I can now mount the shares!
@zyntax81
@zyntax81 2 года назад
Great video as always. I ran into exactly this issue after i gave up on the (horrible) kubernetes implentation. Went with Ubuntu server with docker instead. Wishlist for videos: 1. Traefik for Nextcloud 2. Obsidian
@hotstovejer
@hotstovejer 2 года назад
I have Nextcloud running through Traefik and Authelia (Gonna switch over to Authentik soon...) So if you would like the labels I used, let me know. :)
@zyntax81
@zyntax81 2 года назад
@@hotstovejer Thanks mate 🙏 No need though I also have it running. But it would be great content :) Also obsidian is one of the best things I am using, would be fun to see how Wendell would use it.
@EduardoReyesDPM
@EduardoReyesDPM 2 года назад
That was an a amazing tutorial... any idea about setting up ZFS on a linux distro without using TrueNAS almost seems like it would be easier
@wayland7150
@wayland7150 2 года назад
I think Ubuntu comes with that if you like Ubuntu.
@Tiltproof
@Tiltproof 10 месяцев назад
is it safe to have your hdds start and stop spining so often? or will it degrade the hhd and make it fail earlier then if its spining all day. and after watching the whole video im kind of confused about the power saving thing mentioned at the start. you didnt speak about it again through out the video
@d0hanzibi
@d0hanzibi 2 года назад
Awesome, thanks for that! Can we get that guide extended with VLANs, to have some network separation? Bunch of containers should be visible only to user devices, other to servers, yet another to IOT...
@eh5806
@eh5806 Год назад
Hard to expect a response to a question on an 8 month old video, but here goes. Can you comment on the pros/cons of having the docker vm mount the nfs share vs setting up an nfs based volume and having the container mount it?
@Level1Techs
@Level1Techs Год назад
Depends if you wanna manage containers individually of as a fleet. For homelab cases fleet is easier?
@aeiplanner
@aeiplanner 4 месяца назад
can you do a video on how to properly migrate from Core to Scale? Specifically how to move Jails (Nextcloud, UniFI, Plex, Tailscale, etc.)
@TheNets
@TheNets 8 месяцев назад
Thank you, Wendel :) I'll install Proxmox
@ryanmalone2681
@ryanmalone2681 4 месяца назад
If TrueNAS Scale has terrible hypervisor support, what’s the benefit of Scale over Core? I was thinking of moving to TrueNAS from Unraid, but now I’m thinking I keep one NAS on Unraid with my containers, TrueNAS with a copy of the data and some fast file and block storage, and a Proxmox cluster for my homelabbinf nonsense and VMs.
@sagarsriva
@sagarsriva Год назад
Great tutorial. Thank you!
@wayland7150
@wayland7150 2 года назад
NFS seems a safer way to do this than iSCSI.
@Boo-ki7vr
@Boo-ki7vr Месяц назад
i think where must be a mounting issue with my vm.. in the nextcloud setting it says it only has 132Gib of space... can anyone help. i followed everything
@justinknash
@justinknash 8 месяцев назад
@Level1Techs Is there anyway to write a script to automate the process of setting up the bridge networking?
@micobugija6284
@micobugija6284 2 года назад
Wtf... l just installed truenas 2 days ago... WHERE WERE YOU 2 DAYS AGO!? :(
@anthonyc417
@anthonyc417 2 года назад
Excellent very detailed video I could understand outstanding thank you
@signasbo8854
@signasbo8854 2 года назад
Thanks!
@barbarasprum1000
@barbarasprum1000 8 месяцев назад
Any chance of getting an explainer on the NFS setup portion for Linux dummies like myself? I don't understand what it is we are trying to do or what mount/umount does in this context.
@L0rDLuCk
@L0rDLuCk Год назад
Hi, Thanks a lot .. but you said in the beginning of the video you show us how to stop the spinning rust from spinning and by that save engerie .. this i still don't know!?! i really want to lower my truenas server power consumption!
@masteryoda0805
@masteryoda0805 Год назад
Great video! Do you have any recommendation for a quiet PSU to build a NAS. The eight year old psu of my homeserver just went up in smokes and I am looking for a new one. Thanks for your help in advance.
@halfcraftgamer6640
@halfcraftgamer6640 Год назад
got stuck on giving my client permissions so I just made it open to everyone on my local network to use. Probably not best practice but this nas is just for fun I'm fine with it. Thanks for the great guide!
@skeptical7422
@skeptical7422 Год назад
Somewhat new to Truenas, what I don't understand is what is the benefit of setting up these applications through Portainer? When you can just set them up using Truecharts?
@gauthig1
@gauthig1 Год назад
Having memory not shared by the host, thus reducing zfs cache capability makes this seem like a workable solution that limits my machine. What about using portainer as a chart in truenas and then running all dockers with NFS. Does that work and solve the network, data/codebase, and reliability issues.
@luisrivera-wong1767
@luisrivera-wong1767 2 года назад
I was wondering if I could bounce ideas off of someone. Would you rather setup a config such as this (TrueNAS Scale + VM with docker inside of it) or Proxmox with a TrueNAS Core/Scale VM (with passthrough of an HBA of course). They seem to accomplish the same end result but I'm unsure as to which approach is "best" to manage long term. Thanks!
@blackrockcity
@blackrockcity 2 года назад
TrueNAS is reliable in some ways and broken in others. If you setup NFS it will probably just work. Use XCP-ng as your hypervisor. Run TrueNAS core in a VM. Pass the HBA through to this VM.
@carlosmunoz_gp
@carlosmunoz_gp Год назад
@@blackrockcity TIL about XCP-ng thanks!
@blackrockcity
@blackrockcity Год назад
@@carlosmunoz_gp let me know if you have questions. Be careful to pass the correct pci address for the HBA. The format of that number matters a lot.
@macvirii
@macvirii 2 года назад
Hey Wendell, for that exactly use case, couldn't you make a case to use proxmox instead of truenas? If your intent is virtualization that would seem like a good start point.
@TheExard3k
@TheExard3k 2 года назад
You end up with virtualized storage that adds complexity and trouble or basically re-building Proxmox from scratch. TrueNAS with KVM as both storage server and hypervisor is a more elegant and better performing solution while keeping complexity manageable.
@wayland7150
@wayland7150 2 года назад
It's the unsolvable problem, TrueNAS or Proxmox. I put TrueNAS inside Proxmox and passed the drive controller to it. It worked and I thought I was a genius. However passing out an iSCSI drive from VM TrueNAS to a Proxmox VM really started to cause a rift in the space time continuum. By the time that VM was serving files it was only running at 30MB/s and it's unreliable. I am going back to two physical servers, Proxmox and TrueNAS.
@blackrockcity
@blackrockcity 2 года назад
@@wayland7150 as I said in other threads, I’ve never use proxmox but I like XCP-ng. Virtualize truenas core in it. Pass the hba through. Use a real Intel NIC. I never got iSCSI to work in core. Too many bugs. Some said core needs a ton of ram for iSCSI to work. Not sure how much…Way more than 20GB.
@aednichols
@aednichols Год назад
Ha, the inability to access the host was driving me nuts! I didn't even know what terms to search for. I worked around it by using dual NICs and a physical switch.
@charlescc1000
@charlescc1000 2 года назад
I was very excited for TrueNAS Scale. TrueNAS is my choice of NAS OS and I run primarily Docker containers for home/homelab services and have a few VMs. I am really disappointed that TrueNAS Scale has such crap support for native Docker and weak VM usage. I was hopefully to consolidate the homelab to 1 server. But given the current state of Docker/VMs on Scale, I think I will stick with Core as a NAS and a second host for VMs and Docker.
@乃-c9e
@乃-c9e 2 года назад
I just wanted to mention that I get practically full freedom of containers on the Scale host by managing it with Rancher, NOT THEIR UI PLEASE! k3s vs docker and all that jazz. I prefer it to Wendall's docker VM method, which I tried myself at the end of last year. But I'm still struggling with trying to get disk/usb passthrough and .img or "Appliance OSes" working on Scale's KVM. I've heard of people being successful, but I can't get them to boot. Also, you can get Virtual Machine Manager to work with it if you change the KVM socket (I cannot fathom why they would change/hide it).
@TheExard3k
@TheExard3k 2 года назад
Two seperate hosts is always preferred if the double power bill and space is ok. I'm running Proxmox with virtualized TrueNAS Core but I'm consolidating everything into Scale soon, because I want to decrease complexity and easier management. And Container VM with nested containers as shown by this video is a great alternative to k3s+docker on Scale. Not everyone likes having kubernetes by default nor has a need for it. But I can't deny Core being THE choice for storage.
@charlescc1000
@charlescc1000 2 года назад
@@TheExard3k I would agree, BUT space is a huge concern for me. I live in an NYC apartment so space is the big factor. Not too worried about power, the two hosts I have now are both white box builds from used desktop hardware and are pretty power efficient. Of course only 1 host would be more efficient but for me physical space is a bigger concern than power.
@wayland7150
@wayland7150 2 года назад
I think two separate machines is best. I also put TrueNAS inside of Proxmox but I'm not happy with the reliability.
@Elrevisor2k
@Elrevisor2k Год назад
Couldn’t find the other video reference dificult to find all have the same title 🤣🤣
@etienne4403
@etienne4403 Год назад
Why use Scale if you create a VM anyway for Docker containers? Isn’t running Core faster in that case?
@maxmerca
@maxmerca Год назад
The KILL A WATT(tm) points out watt consumed per second ?
@talbertreynolds
@talbertreynolds Год назад
I have 4 nics on my scale server. Can I change this for a vm to be different that the storage instead of a bridge to be able to mount the vm to the storage?
@danvelli3211
@danvelli3211 Год назад
When I install debian and it goes to reboot it wont load the grub and brings me to the UEFI Bios shell....any suggestions?
@austinwilson930
@austinwilson930 2 года назад
You can create bridge interfaces from the WebGUI. I did this for my Ubuntu VM running plex so I could mount the host media smb share. Just add the br0 as a second nic to the VM
@Level1Techs
@Level1Techs 2 года назад
When I did that it broke the web gui. On 5 different installations in the run up to the other vid. Only worked with the dual lan supermicro where you could bridge the other interface
@austinwilson930
@austinwilson930 2 года назад
@@Level1Techs Wow that's crazy. I believe Scale was in beta stage when I was running a VM with the bridge. Haven't tried since as I've just settle for using the Plex app from TrueCharts. You've bitten me with the ZFS bug and I can't seem to trust my data to anything else. I would love to use Core but I really want to have my Gtx 1650 for plex transcoding in the same box. Scale has some bugs and has hit bumps in the road so far but I really hope they succeed and hash everything out.
@wayland7150
@wayland7150 2 года назад
You can do that on Core from the WebGUI, I bridged two 10G ports to create a cheap 10G switch. Same thing on Proxmox and now I have a daisychained 10G network.
@ThEcLoUdBuStEr
@ThEcLoUdBuStEr Год назад
@@Level1Techs do you know what to do with hdd activity every 5 seconds on truenas scale? System Dataset Pool is on boot-pool - ssd, but sound from my Toshiba N300 12TB is still on every 5 seconds. I just wanna keep my jellyfin and that's it. Constant sound from the hdd is driving me and my family crazy, server is in another room, but it is very loud, esspecialy at night ~46dB. No one seems to know how to solve this issue. It is probably flushing of ZFS TXGs to the underlying storage media. Is there any solution to stopping it?
@joshhardin666
@joshhardin666 2 года назад
Is there a way to host the containerization system on bare metal instead of visualizing it so you can use native filesystem calls instead of having to invoke the network subsystem and nfs and all the overhead involved with that? If that's possible then you can also worry less about segmenting memory to the virtual machine or applications and allow for dynamic memory allocation and/or better management of memory on an container by container basis. Also, and this is probably a containerization n00b question, but do containers group themselves into application clusters or when i look at all the containers running do i just see the complete list of containers? - I'm just curious about managing the various containers. I'm used to TrueNAS Core with jails and putting a complete application stack in each jail. What is the purpose of splitting off portions of an application into various containers anyway (like for the example of nextcloud a database container and a web server container)?
@乃-c9e
@乃-c9e 2 года назад
Yes! I use a docker VM with only Rancher on it to manage containers on the host. I would say it has a steep learning curve, but the UI is beautiful and unrestricted unlike the TrueNAS UI. The containers/info, however, are not integrated with the TrueNAS UI at all, it shows "no applications" on mine, which is currently a good thing IMO because ix-systems... So, the docker mentality is "one process per container" that's why the DB is its own container. Jails are more similar to LXC. Additionally, TrueNAS Scale is using docker, yes, but it's also using k3s (kubernetes) which most people I've heard call it 'docker on space steroids' or some other such nonsense. This is also why the term charts is used rather than compose. There is such a mixup of information on kubernetes/k8s/k3s/so-on, so take care while researching it. P.S. Rancher is for k3s like portainer is for docker.
@wayland7150
@wayland7150 2 года назад
I think the lesson from this video is have a separate volume or partition for your own stuff. For instance my PCs have /home mounted from a separate partition in the case of the laptop and a separate drive in the case of the desktop. I can zap the OS and not lose my files. This approach works for VM etc too.
@joshhardin666
@joshhardin666 2 года назад
@@wayland7150 I understand, but how that's accessed is also important. If i can bypass the network stack, loopback (or the network card), and NFS, things operate much faster and smoother in terms of accessing files on the disk. I'd rather access files directly. Also resource management. if you lock up ram in a vm, it's no longer availible to the system and you have to get that configuration right instead of just letting containers use as much ram as it needs. Otherwise, I might as well create virtual machines for each application which is way heavier and a waste of resources... running containerization inside of a virtual machine seems needlessly compute and memory expensive
@wayland7150
@wayland7150 2 года назад
@@joshhardin666 On Proxmox you have LXC (Lexy) which look and work like full Linux VMs but are much lighter. What I've done with Windows VMs in Proxmox is run them as a full VM off a volume on the SSD but have their D: drive as a huge volume off the hard drive array. You get the speed for Windows OS plus the size and separation required for your files. I did a similar thing for NextCloud run as an LXC off SSD with the user files mounted from a hard drive based volume.
@jarnhand266
@jarnhand266 Год назад
Soooo the short version is that TrueNAS Core is good for storage, but still sucks at virtualization? This the reason why people run Proxmox on metal, and TrueNAS Core in a VM?
@LampJustin
@LampJustin 2 года назад
Why is TrueNas using macvlan by default?!
@Maisonier
@Maisonier Год назад
This doesn't work anymore, now we need cloudnative-pg and prometheus-operator. I have no idea how to install now...
@denvera1g1
@denvera1g1 2 года назад
I havent had issues with the 'apps' in Truenas Scale, and IIRC it uses docker, i'll have to check when i get home.
@niallthebomb
@niallthebomb 2 года назад
Have you not experienced the constant snapshot creation? Check your snapshots. I installed Scale and before long I had hundreds of snapshots after using the apps. Admittedly, I didn't spend a lot of time trying to stop them but from some of the research I did, it appears to be a very annoying bug. Curious if anyone else was able to get around this.
@TheExard3k
@TheExard3k 2 года назад
@@niallthebomb hundreds or thousands of snapshots don't really matter. I have 16000 snapshots on my TrueNAS Core and all is running fine and well. All those tiny subdirectories for docker barely have any data in it anyway, so it's not like actual space that's wasted.
@denvera1g1
@denvera1g1 2 года назад
@@niallthebomb IT seems like there are a large number of snapshots on my time machine dataset, which doesnt make sense, because the apps/plugins/vms are on a completely different array/pool, and only access my share dataset, though, so far, they are not writing to these datasets.
@crimsonfrozenheart
@crimsonfrozenheart 2 года назад
can someone explain how this tailscale works? I've set this up and get it to work, but the performance drop is HUGE. I suspect the packets are relayed through some other node and not a real P2P.. i'm a noob on networking but the numbers im getting suggested there's throttling somewhere... my NAS is on 200Mbps link and I connected using another broadband at 50 Mbps file transfer stucks at 500Kb to 1Mb
@NickF1227
@NickF1227 2 года назад
I guess I’m not the only one upset with the current state of networking in SCALE
@FoX84tac022
@FoX84tac022 Месяц назад
I know this is a 2yr old video, but, the networking thing is a docker feature, nothing to do with truenas. I've done this trying to spin up bind9 containers in the same subnet on a custom vlan network as the host (my mgmt network). I forget the exact steps of it all of, having to add in custom routes and such, to get back to the host and would have to look it up again... You probably know all this by now, though...
Далее
The Ideal Home Server! Is it Possible?
19:29
Просмотров 236 тыс.
Getting the Most Performance out of TrueNAS and ZFS
18:31
So if Hardware RAID is dead... then what?
29:00
Просмотров 150 тыс.
Checking Out TrueNAS Core
33:21
Просмотров 64 тыс.
Choosing The BEST Drive Layout For Your NAS
21:42
Просмотров 141 тыс.
Home Server Hardware Round-Up
18:27
Просмотров 160 тыс.
ZFS Metadata: Special Device And You!
11:41
Просмотров 39 тыс.
A deep dive into using Tailscale with Docker
31:58
Просмотров 57 тыс.