My TrueNAS Setup - How I Configure TrueNAS in my Home Server (Pools, iSCSI, Nextcloud)
Vložit
- čas přidán 15. 06. 2024
- A lot of people are running TrueNAS, so there are no shortage of tutorials on how to get it installed. Let me take some time to talk about WHY I use TrueNAS and show how I have it all configured.
Support the channel on Patreon: / raidowl
Affiliate Links:
Ryzen 9 5950x - amzn.to/3z29yko
Samsung 980 2TB - amzn.to/3myEa85
Logitech G513 - amzn.to/3sPS6yv
Logitech G703 - amzn.to/3sATW5R
WD Ultrastar 12TB - amzn.to/3EvOPXc
My Studio Equipment:
Sony FX3 - amzn.to/3qq4Jxl
Sony 24mm 1.4 GM - amzn.to/3mA1TEK
Tascam DR-40x Audio Recorder - amzn.to/3EvTPeq
Rode NTG4+ Mic - amzn.to/3JuElLs
Atmos NinjaV - amzn.to/3Hi0ue1
Godox SL150 Light - amzn.to/3Es0Qg3
Join the Discord: / discord
links.hostowl.net/
0:00 Introduction
0:42 Topics Covered
1:33 TrueNAS Core vs Scale
2:25 Virtualized vs Bare Metal
3:37 ZFS and my pools
6:32 Sharing storage over network
10:43 iSCSI
17:13 Jails/Nextcloud
19:48 Conclusion - Věda a technologie
Thank you for your TrueNas show. I have been playing around with this as my background has only been with UNIX/Linux for many years. Again thank you.
Just set up a trueNas Core server. Now figuring out what to do with it. Thanks for the help.
You helped me set up my true nas using Hyper V. I did it because i didnt want to have a seperate system but i wish i had got much more RAM than 16GB. You have been great help and i love your way of presenting
Awesome! Yeah ZFS will always have you wanting more RAM lol
Brilliant!.. thank you for another very useful & informative video. I never knew howto setup iSCSI.. now I do! thanks a lot :)
Perfect Timing you uploaded a second ago xD
Wayne is just on time!
Great job raid owl. We need more
Nice tutorial, very clear, and easy to follow Thankyou!
Impressive home network / home server.
Great Channel Keep them coming!!
So I am a newbie at this and I wanted to configure my main as a Raid 10 (4X4tb) configuration also. The trueNAS (TN) documentation indicates it will support Striped, Mirrored, RZ, RZ2 and RZ3. I have read that TrueNAS does not support a Raid 10 configuration. I see where da5p2 and da6p2 are mirrored, and I see where da7p2 and da8p2 are mirrored. What I don't see is how the two mirrors are striped?
Nice reference to The Art of Server :)
Thanks a ton for the great content. I have found videos quite helpful as I find my way around this “new world” of self-hosting / home lab setup.
In a Proxmox + TrueNAS or OMV setup, what is best approach for ZFS Storage Pool. Is it best to setup the zpool in Proxmox for use by the NAS software or is it better to setup the zpool from within the NAS software?
14:05 where you specify the sharing platform, maybe what you select is depended on which drives you are using. A lot of 2.5inch sas-2/sas-3 drives are 512b both physical and logical while your drives are or native 4k or 512e (presenting themselves to the OS like 4k which is 8 sectors of 512b in reality). For instance I probably should go with on one of the first 3 options since my drives are sas3 1.2Tb hdd 10k.
I'm using openmediavault on a raspberry pi 4 with 2Gb ram. 2x 4Tb drives in a mirror using LVM2 for storage connected using a powered USB 3.0 hub. Works perfectly fine for a small family with 4 users!
I'm from Flanders (Belgium) so my English probably isn't the best.
That’s cool! I backed a kickstarter campaign for a dedicated raspberry pi NAS so I’m pumped for when that comes in.
Sadly, your English is better than a lot of people whose first language is English... Your network sounds like it works well for you.
Loved the first part! Lol.
I'm really enjoying your content! So I started by trying to setup Proxmox on an older PC, then added Docker and then Portainer. Couldn't get the final steps done, and maybe it was because Etcher failed each time. Switched to Rufus. Then started over with Ubuntu, docker and Portainer. Got it working, but the couldn't get rid of the screen corruption in Ubuntu. Now, I'm playing with TrueNAS inside a VirtualBox on my main PC to "play" with it. Planning on building a box and install it there as my main PC is getting full between my business and raw video footage for my two CZcams channels. I need to reconfigure my Netgate SG-3100, set up a NAS box and move all these blinking / flashing lights out of my office / bedroom!
Very informative. Looking to build a TrueNas server myself. Would you share your HD specs and the rationale behind them. Thanks!
Would you be able to do any synology content? I think your truenas videos are very informative, and I just recently bought my first nas (synology ds920+)
I REALLY want to get my hands on a Synology system but my funds/time are tied up in other projects right now. Maybe I’ll ask Santa for one haha.
😂😭😭😭 I saw that Google !
🤭🤭🤭
Compression, pick ZSTD whenever you can.
It's a newer type of encryption that is much faster,
The only time you wouldn't want it is if you think there's a future chance of migrating your pool to a machine that runs an older version of ZFS
Noted, thanks!
Hi nice video, but I got several questions, because I want to virutalize truenas SCALE on proxmox. 1- Do I need to passthough all the disks I want to use for truenas pool ? 2- How a VM in proxmox could access a SMB share created in the virtual TrueNas ? Is there any specific network configuration ? Because both systems "proxmox" and "true nas" will share the same network card. Do I need to add a card to have a dedicated card per system ? Thks
I just found your channel. Good content, subbed and GEAUX TIGERS!!!
Hell yeah Geaux Tigers!
Thanks for share, its a great video!
Can setup attach to active direcotry for share permissions...
Best wishes 👍🏼👍🏼
you look like the cool uncle at parties
I’ll take it lol
Thank you for this! Dumb question, do you have your VM ISOs on drives connected to TrueNAS?
You mean the VM isos I use in Proxmox or isos for VMs created inside TrueNAS? The ones I use for Proxmox are stored on my Proxmox boot drive. For TrueNAS, when you create a VM you can select an iso you’ve already saved somewhere in your TrueNAS pools or you can just choose to upload one right then from your local machine. I hope that answered your question!
What are some examples of the services that the user called services would access? Trying to get some ideas for my TrueNAS setup. Thanks
So you presumably have Plex or other VMs running in Proxmox. If you're pointing at a share that's hosted on the same box in a different VM, will all the data have to go out of your network card, to a switch then back to your network card? Or will Proxmox and the Linux virtual network driver handle that internally so you don't have to leave the machine? Is that answer the same if you use a multiport NIC on PCIe and pass through a whole port?
Good question! I'll have to do more research before giving you a solid answer.
@@RaidOwl ever happen to find out?
Hi, I am following your videos on proxmox + truenas. Very informative :)
Question :
a. using smb share vs Freenas smb share how much is speed difference ?
b. using adding nvme as slog n cache how much speed difference it can make
Thanks for all videos . cheers
Note: Trying to different understand combination and its advantages here
You shouldn't see any noticeable difference between SMB on the difference OS's. For caching, I recommend checking out this video from Tom Lawrence: czcams.com/video/M4DLChRXJog/video.html
He does an excellent job of explaining ZFS caching.
i have a question. I installed Plex on my Truenas Core, but i want to stream my videos from my synology nas true truenas (plex). Do you know how i can acces external folder from my synology to my truenes (plex)?
I'm having a strange bug --> Works fine, but when I m uploading larger folders with several files, it doesn't recognize the correct file size. It's written NaN which means "Not a number". When the files are uploaded, the processing bar stays there for a unlimited time. When refreshing the page, the files are uploaded. Does anyone has the same error?
Maybe a dumb question but with a zfs mirror like your plex pool if you lose a drive do you lose access? Do you need to replace the drive and let it rebuild or can you still access the pool?
You can still access it
Great video! i have a question, i still have doubts about the hard drive partitions, lets say i install truenas in an ssd drive, and plug in 4 other hard drives for storage, what if the truenas ssd breaks, if i reinstall truenas on a new ssd, can i access the hard drive files or does it have some kind of encryption system in place? it worries me if i could have long term concerns about this type of setup for storage, thanks in advance for your help!
TrueNAS is very easy to replicate, just back-up one configuration file.
If several NAS iSCSI clients get their own individual iSCSI disks and install the same games, or any other software, on the same pool, does deduplication reduce the total used space to just 1 copy regardless of number of computers?
Also I heard another youtuber say Proxmox fully allocates disk space and cannot thin provision it. Is that true? Would it not be a show stopper? It was enough for me to immediately quit watching the Proxmox video.
Also , can an iSCSI lun somehow be restricted to a particular client for better security?
Thanks
For some reason, I can't edit the filesystem ACL, it says: "root dataset cannot be edited"
I seen your Video on iSCSI / Steam. I thought that was pretty cool. I have multiple machines that could free up space now. I haven't set that up yet(As of writing this) because I'm waiting on hardware. I've been diving into the TrueNAS Scale. VM for PCI passthrough is buggy(as of TrueNAS-SCALE-22.12.3.2) announced in the news. I tried the VM in TrueNAS-SCALE-22.12.3.2, and thought the PCI passthrough issues were me being a NuB. Probably so either way. Thanks.
Steam works just fine on mine. I work in IT and I have all this stuff in my house as well. Just the other day i wondered how steam will run from my Synology NAS (RAID5, 7 drives) so I copied my library over to the "Games" share i created, mounted, and pointed Steam to it. Runs just fine. Only had 1 game i needed uninstall and reinstall out of about 12 and that is it.
Yeah with 1 computer I've had it run fine. When you start trying to access the same share via Steam on multiple computers I've had issues. It seems like that's a common theme.
I set up Truenas already on the local network and it works fine. I recently got a public IP. Could I change the local IP to public IP to get access from other locations?
You don't want to set it up that was as it would be a huge security risk. I'd advise you watch my video on the safe way to expose your stuff to the outside world.
czcams.com/video/cB6oKJjr4Ls/video.html
Could you explain why you chose to have separate drives instead of one big pool?
Sure! So first off, TrueNAS uses ZFS which doesn’t allow for mixing different sized data drives in your pool. I have been messing around with Unraid which used other storage file systems that DO allow you to mix drives so that’s cool. I previously was only using the 2x 6TB before I upgraded so I kept those as their own pool and dedicated it to Plex.
@@RaidOwl thank you.
@@RaidOwl you should be able to have differing size drives under the same pool. It's at the vdev level where it needs same size drives
@@EricsTechSpot You are correct. When I think of Pools I think of matching vdevs which is just how I've always used it. If you want to have one pool with stripped vdevs of different sizes you can def do that.
If you loaded backblaze on your desktop machine, would it also see the iscssi disk as a local drive and back up the contents?
Yep!
@@RaidOwl I'm now about to rebuild my media server. Since I won't be able to save the data because truNAS will wipe the drives, I have to put the drives in my desktop for data safe keeping. Then, create my shares with new drives, point them at my desktop as iscssi targets, copy over my media files, then tell backblaze back up my "local drives"
This is going to be expensive with buying the drives at once, but worth it in the long run. Backup that much data any other way would cost more than I can spend.
If you remember my current media server is pulling double duty as a desk top so I can run back blaze. Its all about to get much better.
And I just over here waiting for the condensed version of you unraid stream. Ain't nobody got 5+ hrs for that. Good job though, loving all of your videos.
Lol yeah Unraid will get it’s own video soon
@@RaidOwl I have to say, it is just a matter of time. The quality of your stuff is up there with the big names in the space imo.
I appreciate that man! 🤞🏻
So the host is running Proxmox. The guest is Truenas. Then you did hardware passthrough for the hard drives that truenas uses. How are the hard drives set up that Proxmox uses? The one that stores the Truenas OS?
Proxmox runs off of a 2TB NVMe drive that also hosts all the VMs
@@RaidOwl thanks. also curious about how data is accessed. so let's say you created a VM that's stored in truenas. does it "go out" through the network interface then come back in? or does it stay within the server since it's accessing it locally? i don't know if i'm making sense.
Depends on how you want to access it. You can pass through a virtual drive directly from the pool to the VM. Or you can create a share inside the VM that accesses it over the network so it would essentially “go out then come back in”.
I really want a video on how to set it up from the start as I want to have control over my own data and store photos myself not with Google drive
"now we can enter the wizard.. kinky!"
Jesus ahahahah
😉😉😉
Can you make a ssl tutorial. I want to selfhost my truenas with next loud and want it accesable outside of my network. But i obviously want my trzffic encrypyed
Hopefully this will help: czcams.com/video/cB6oKJjr4Ls/video.html
"whoever denied that all the apps should be one long horizontal scroll is basically Satan" 🤣🤣🤣
Good
you are so funny man but so serious like me ahahah
ISCSI initiator is not detecting my drive.
That LTT bottle
I can connect SMB with Windows Shared Folders under Computer Management.
Yep!
@@RaidOwl I just can't figure out how to connect with SMB to the laptop from the Samsung Smartphone and the iPad Pro. It works to the desktops. :( I've tried everything.
Does it work on raspberry pi 4 and if not what it's alternative
No it does not. Go with OMV (open media vault) for the Pi.
@@RaidOwl ok is there a way to install to install an old version because the latest version doesn't have the remote desktop feature
Could you upgrade it to scale without losing any settings
Considering Core is based on FreeBSD and Scale is Linux...I'm not so sure the upgrade will be easy (if even doable). As of right now there is no real way to do this, but when Scale reaches production, I believe iXSystems will have some kind of documentation for users looking to do this.
@@RaidOwl I think LawrenceSystems did the upgrade, but they were using legacy encryption so they couldn't go backwards. As far as not losing settings, I have no idea.
Yeah I assume once there’s a good way to do it then the folks at TrueNAS will post something. Either that or some really smart people will figure it out lol.
Does any one know a way to share a smb or create a ftp with a public ip address?
First explain what you are trying to achieve?
1. SMB is a protocol used in closed (local) networks and you don't expose it to internet, so you don't need a public IP for it. FTP makes more sense for a remote access, but it's not very convenient unless you're happy with its limitation.
2. To have a public ...you must hava a public IP! Does your ISP offer public IP? If not you can get it as an option for extra monthly fee (not all ISPs would offer public IP if you are not their business client) or you can use a workaround and set up dynamic DNS service, which can assign a domain name and handle IP changes.
@@rogalsiu I think the FTP will work better. I am thinking of purchasing a domain so I can assign a domain name. My main goes is to be able to get to my files anywhere in the world.
@@GodisGreater01 , if you need to access your files remotely then I can suggest 3 paths (in order of my personal preference):
1. Set up a private cloud service, ie. Nextcloud, which you can access from any device which has a web browser. Downside is you can't mount it (at least I don't know how to) as a local drive on your device.
2. SMB + VPN (Tailscale or Zerotier preferred as they are zero config VPNs - much easier to set up). That will allow you to mount the drive on your device, but requires to install a VPN client, so you won't be able to access it from any device.
3. FTP, which is less convenient then above. You can mount it as a drive (at least in Windows - I don't know about other OS's, but I guess it's possible too, if not natively then with some third party software), but it's usually much slower than SMB and is being deprecated (Chromium removed FTP support na while ago).
You can, of course, use all 3 solutions and use the most convenient at given time.
Nice video, but deduplication should really be used careful, because this can use A LOT of CPU and RAM.
Agreed
how to configure True NAS High-Availability (HA)
we dont have to see your video taking up a large portion of the screen
But how else are you going to know it’s actually me and not a robot mutant clone? Checkmate