My TrueNAS Setup - How I Configure TrueNAS in my Home Server (Pools, iSCSI, Nextcloud)

Sdílet
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

Komentáře • 105

  • @jameskeel
    @jameskeel Před 9 měsíci

    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.

  • @alucard1116
    @alucard1116 Před 2 lety

    Just set up a trueNas Core server. Now figuring out what to do with it. Thanks for the help.

  • @johnduffill
    @johnduffill Před 2 lety +1

    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

    • @RaidOwl
      @RaidOwl  Před 2 lety

      Awesome! Yeah ZFS will always have you wanting more RAM lol

  • @UltimateJiuJitsu
    @UltimateJiuJitsu Před 2 lety

    Brilliant!.. thank you for another very useful & informative video. I never knew howto setup iSCSI.. now I do! thanks a lot :)

  • @DigitEgal
    @DigitEgal Před 2 lety +6

    Perfect Timing you uploaded a second ago xD

    • @RaidOwl
      @RaidOwl  Před 2 lety +3

      Wayne is just on time!

  • @oakfig
    @oakfig Před 2 lety

    Great job raid owl. We need more

  • @UkraineProperty
    @UkraineProperty Před 11 měsíci

    Nice tutorial, very clear, and easy to follow Thankyou!

  • @johngrabner
    @johngrabner Před 2 lety +1

    Impressive home network / home server.

  • @eibo9886
    @eibo9886 Před 2 lety +1

    Great Channel Keep them coming!!

  • @johnevon8220
    @johnevon8220 Před rokem +2

    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?

  • @simonhoubracken
    @simonhoubracken Před 2 lety +1

    Nice reference to The Art of Server :)

  • @renovxperts
    @renovxperts Před 2 lety

    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?

  • @ierosgr
    @ierosgr Před 2 lety +1

    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.

  • @matthias3231
    @matthias3231 Před 2 lety +6

    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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +2

      That’s cool! I backed a kickstarter campaign for a dedicated raspberry pi NAS so I’m pumped for when that comes in.

    • @jim7smith
      @jim7smith Před 2 lety

      Sadly, your English is better than a lot of people whose first language is English... Your network sounds like it works well for you.

  • @k1tajfar714
    @k1tajfar714 Před 2 dny

    Loved the first part! Lol.

  • @2020HotShotTruckingLLC

    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!

  • @LucaIacono
    @LucaIacono Před 2 lety

    Very informative. Looking to build a TrueNas server myself. Would you share your HD specs and the rationale behind them. Thanks!

  • @skattterdude
    @skattterdude Před 2 lety +2

    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+)

    • @RaidOwl
      @RaidOwl  Před 2 lety +3

      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.

  • @EazyP33zy
    @EazyP33zy Před 2 lety +5

    😂😭😭😭 I saw that Google !

  • @Mikesco3
    @Mikesco3 Před 2 lety +4

    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

  • @jeromealtariba7339
    @jeromealtariba7339 Před 2 lety +1

    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

  • @joshferguson4660
    @joshferguson4660 Před rokem

    I just found your channel. Good content, subbed and GEAUX TIGERS!!!

    • @RaidOwl
      @RaidOwl  Před rokem +1

      Hell yeah Geaux Tigers!

  • @edgaroperez654
    @edgaroperez654 Před 2 lety +1

    Thanks for share, its a great video!
    Can setup attach to active direcotry for share permissions...
    Best wishes 👍🏼👍🏼

  • @mainstaymist
    @mainstaymist Před 2 lety +2

    you look like the cool uncle at parties

  • @MrMackster01
    @MrMackster01 Před 2 lety

    Thank you for this! Dumb question, do you have your VM ISOs on drives connected to TrueNAS?

    • @RaidOwl
      @RaidOwl  Před 2 lety

      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!

  • @Baku-oc5fc
    @Baku-oc5fc Před rokem

    What are some examples of the services that the user called services would access? Trying to get some ideas for my TrueNAS setup. Thanks

  • @codyclemons937
    @codyclemons937 Před 2 lety +1

    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?

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      Good question! I'll have to do more research before giving you a solid answer.

    • @codyclemons937
      @codyclemons937 Před 2 lety

      @@RaidOwl ever happen to find out?

  • @spyro47
    @spyro47 Před 2 lety +1

    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

    • @RaidOwl
      @RaidOwl  Před 2 lety

      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.

  • @chinoricco6368
    @chinoricco6368 Před 2 lety

    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)?

  • @autobahntrip6870
    @autobahntrip6870 Před 2 lety

    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?

  • @mdh.3421
    @mdh.3421 Před rokem

    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?

    • @RaidOwl
      @RaidOwl  Před rokem

      You can still access it

  • @jarko86
    @jarko86 Před 2 lety

    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!

    • @michaelbouckley4455
      @michaelbouckley4455 Před 11 měsíci

      TrueNAS is very easy to replicate, just back-up one configuration file.

  • @tonya.2645
    @tonya.2645 Před 2 lety

    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

  • @benmagnus0858
    @benmagnus0858 Před 2 lety

    For some reason, I can't edit the filesystem ACL, it says: "root dataset cannot be edited"

  • @justisstudding2101
    @justisstudding2101 Před 11 měsíci

    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.

  • @m4nc1n1
    @m4nc1n1 Před 2 lety

    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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      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.

  • @cesgarcia4173
    @cesgarcia4173 Před 2 lety

    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?

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      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

  • @SM0R3S
    @SM0R3S Před 2 lety +1

    Could you explain why you chose to have separate drives instead of one big pool?

    • @RaidOwl
      @RaidOwl  Před 2 lety +3

      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.

    • @SM0R3S
      @SM0R3S Před 2 lety

      @@RaidOwl thank you.

    • @EricsTechSpot
      @EricsTechSpot Před 2 lety +1

      @@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

    • @RaidOwl
      @RaidOwl  Před 2 lety

      @@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.

  • @rdsii64
    @rdsii64 Před 2 lety

    If you loaded backblaze on your desktop machine, would it also see the iscssi disk as a local drive and back up the contents?

    • @RaidOwl
      @RaidOwl  Před 2 lety

      Yep!

    • @rdsii64
      @rdsii64 Před 2 lety

      @@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.

  • @7MBoosted
    @7MBoosted Před 2 lety

    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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +2

      Lol yeah Unraid will get it’s own video soon

    • @7MBoosted
      @7MBoosted Před 2 lety

      @@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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      I appreciate that man! 🤞🏻

  • @sherwinm
    @sherwinm Před 2 lety

    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?

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      Proxmox runs off of a 2TB NVMe drive that also hosts all the VMs

    • @sherwinm
      @sherwinm Před 2 lety +1

      @@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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      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”.

  • @leahlambert5737
    @leahlambert5737 Před 11 měsíci

    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

  • @seanunderscorepry
    @seanunderscorepry Před 2 lety

    "now we can enter the wizard.. kinky!"
    Jesus ahahahah

  • @maxime_vhw
    @maxime_vhw Před 2 lety

    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

    • @RaidOwl
      @RaidOwl  Před 2 lety

      Hopefully this will help: czcams.com/video/cB6oKJjr4Ls/video.html

  • @ryanmalone2681
    @ryanmalone2681 Před měsícem

    "whoever denied that all the apps should be one long horizontal scroll is basically Satan" 🤣🤣🤣

  • @rodfer5406
    @rodfer5406 Před 2 lety

    Good

  • @lucacanzano5732
    @lucacanzano5732 Před 2 lety +2

    you are so funny man but so serious like me ahahah

  • @tekstyle38
    @tekstyle38 Před rokem

    ISCSI initiator is not detecting my drive.

  • @jiaqicao4941
    @jiaqicao4941 Před 2 lety

    That LTT bottle

  • @anthonyabelardo9132
    @anthonyabelardo9132 Před rokem

    I can connect SMB with Windows Shared Folders under Computer Management.

    • @RaidOwl
      @RaidOwl  Před rokem

      Yep!

    • @anthonyabelardo9132
      @anthonyabelardo9132 Před rokem

      @@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.

  • @TLOT203
    @TLOT203 Před 2 lety

    Does it work on raspberry pi 4 and if not what it's alternative

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      No it does not. Go with OMV (open media vault) for the Pi.

    • @TLOT203
      @TLOT203 Před 2 lety

      @@RaidOwl ok is there a way to install to install an old version because the latest version doesn't have the remote desktop feature

  • @shetho1
    @shetho1 Před 2 lety

    Could you upgrade it to scale without losing any settings

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      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.

    • @7MBoosted
      @7MBoosted Před 2 lety

      @@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.

    • @RaidOwl
      @RaidOwl  Před 2 lety

      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.

  • @GodisGreater01
    @GodisGreater01 Před rokem

    Does any one know a way to share a smb or create a ftp with a public ip address?

    • @rogalsiu
      @rogalsiu Před rokem

      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.

    • @GodisGreater01
      @GodisGreater01 Před rokem

      @@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.

    • @iwannabedev
      @iwannabedev Před rokem

      @@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.

  • @dura2k
    @dura2k Před 2 lety

    Nice video, but deduplication should really be used careful, because this can use A LOT of CPU and RAM.

  • @FNoSwingTrading
    @FNoSwingTrading Před rokem

    how to configure True NAS High-Availability (HA)

  • @pf1950
    @pf1950 Před 2 lety

    we dont have to see your video taking up a large portion of the screen

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      But how else are you going to know it’s actually me and not a robot mutant clone? Checkmate