lsblk |awk 'NR==1{print $0" DEVICE-ID(S)"}NR>1{dev=$1;printf $0" ";system("find /dev/disk/by-id -lname \"*"dev"\" -printf \" %p\"");print "";}'|grep -v -E 'part|lvm' Might want to put that in the description. NOTE: This whole Truenas on a VM/Container thing is not the way to do it. Use Samba or NFS with Proxmox or put truenas on bare metal. This is not the right way to do things. You have been warned.
@nate4537
8 ай бұрын
massive time saver. thank you
@Newton492
8 ай бұрын
Thanks so much bro
@PrezentEnt
7 ай бұрын
You are the best bro . For us newbies trying to learn its a must to write this things down separate from the video.
@BJM_Yushi
6 ай бұрын
thank you sir
@ignaciocastillejo
5 ай бұрын
THANKS
@evelyntech
11 ай бұрын
@8:40 "Im just gunna Nano in" ProxMox Shell command is: "nano /etc/pve/qemu-server/101.conf" where 101.conf is the name of the actively running config.
@alnic123
6 ай бұрын
Thanks, that part was so confusing.. idk why he needed to cut out the 2 seconds where he shows that command...
@jdb6284
3 ай бұрын
you just saved me man.. techhut dropped the ball here bigtime
@buitrung1084
Ай бұрын
thanks mate! you rock
@prutje
Ай бұрын
as soon as i save the file with the serials in it (cntl+x / Y for overwrite) i loose my disks in my truenas container! what am i doing wrong? btw im using NVME drives
@TDephflame
Ай бұрын
@@prutje delete the space before "serial" and it will be fine.
@delboyg01
Жыл бұрын
Great tutorial, I follow this and got the drives passed through to Truenas Scale OK Only one word of warning, when using this method and trying to backup the VM with the Proxmox backup tools, the backup will include the Truanas VM AND all the data on the ZFS drives too. No problem if it's a small array, but I doubt many want a 7TB backup mixed in with their standard VM backup process!!! If you pass through a PCIe controller, or the complete Motherboard SATA controller (not available as a boot drive in that case), then the Proxmox will only backup the VM and you can arrange the data backup as required.
@Jasper_S
6 ай бұрын
Can't you just exclude the drives from the backup?
@delboyg01
6 ай бұрын
@@Jasper_S - No you can't. Once the drives are passed though, using that method, they are treated as a part of the VM. Edit to add: I stand corrected, I just checked and the drives can be excluded from the backup in the 'Hardware' Drive details. I have learned something new today.
@FrenziedManbeast
12 күн бұрын
I posted 6 months ago on this video, but I wanted to come back and thank you AGAIN for making this video - I just replaced a failed drive using this same method removed bad disk and added the replacement using the same method, giving the replacement drive the old scsi id. Fired up TN Scale VM -> Degraded VDEV -> Replacement -> Resilver started right up.
@TechHut
12 күн бұрын
Hell yeah
@gnajmacz
7 ай бұрын
I did it, but it took me a day to realize its shortcomings. TrueNAS doesn't have full access to the disks, resulting in checksum errors, and it also prevents me from monitoring the disk temperatures. According to my research, the ideal solution is to acquire an HBA card and apply PCI passthrough to the virtual machine. I've ordered such a card and intend to experiment with this method.
@Jasper_S
6 ай бұрын
This! and i'm a bit surprised he didn't cover it in the video as a disclaimer of sorts
@nigel3018
2 ай бұрын
@@Jasper_S here for this, i want s.m.a.r.t info
@pubdigitalix
26 күн бұрын
iXsystems always recommends avoiding the use of raw disks passthrough because the guest does not have direct physical access. It's a BIG NO NO !!
@cheesecakestudent
5 ай бұрын
adding sirial numbers saved me from an issue i had been dealing with for weeks lol. Thanks!
@ErikS-
3 ай бұрын
One of the most usable videos I have seen in the last year. Thanks for helping out!
@Reza1984_
23 күн бұрын
The only guy that talked about device ids on youtube, thanks I was having trouble with this
@bogregory8260
Жыл бұрын
Nicely done sir. I've watched several videos that work to do this and yours was clear and consise. You helped this noob get where he needed to go. Thank you!
@archpenguin6646
Жыл бұрын
Yeah I did this for a while. I just put TrueNas "scale" stright on the machine now. couldn't be happier! cool video though!
@lesapotres4340
Жыл бұрын
Thank you so much for these instructions. The very best in regards to setting up a raid disk on Proxmox TrueNas VM. Exactly what I needed to get going on our new server. It worked for me even while using TrueNas Scale. God bless you for your time in making this video!
@tompestak6530
10 ай бұрын
one thing that tripped me up momentarily - I had my TrueNAS VM running while I was passing through the disks. After passing through the disks in proxmox I did a "reboot" of the TrueNAS VM and it recognized the drives but not the serial numbers so when I tried to create a pool it told me the disks had non unique serial numbers (presumably because they were all null). I found a forum post that said you had to do a full power cycle, not a reboot. Sure enough, that solved it.
@childishhalbino
5 ай бұрын
This video helped me gain confidence that the article achieved what I wanted! You're a legend!
@davidpeterson3535
Жыл бұрын
Thanks. I finally settled on a Truenas Proxmox combo and this walkthrough was just what I needed.
@kirksteinklauber260
Жыл бұрын
Thanks for the great video and easy to follow!. I just did it on my side with TrueNAS scale and worked like a charm!
@postnick
Жыл бұрын
I know it’s hardware dependent, but I install proxmox on nvme drive and I just pass my SATA controller though and works the same but with fewer steps.
@PizzaGobbler2024
Жыл бұрын
Doing it this way that gives me the idea that buying a cheap sata PCIe controller for truenas makes sense then.
@spyro47
11 ай бұрын
@@PizzaGobbler2024 Check your iommu settings before going this path. If you are having a consumer grade motherboard this will add more complications.
@Streetzlegend
6 ай бұрын
I am planning to do this since my nas drives controller are in the same IOMMU group as the host/proxmox SSD, installing a separate HBA card im hoping would allow me to pass it through. @@PizzaGobbler2024
@wildmanjeff42
Жыл бұрын
You can run Truenas in Passthrough mode with virtualization, but it is recommended you run straight on hardware. ZFS can and has done some weird things with passthrough in my experience. It does work, but I would only recomend for testing and homelab use, but - good luck. Thanks for the video.
@jaxxarmstrong
Жыл бұрын
Agreed, considering the unusual issues with ZFS in a virtual environment, even with pass-through, TrueNAS should be installed on bare-metal in anything beyond a limited homelab usage IMHO.
@AndrewSpec
Жыл бұрын
@@jaxxarmstrong what unusual issues? I had only one when I tried to backup the VM and proxmox accessed passthrough disks. Just unchecked backup of that disks and it's working fine for now.
@fishmeat69
Жыл бұрын
in my experience, you face issues when drives are passed through like in this video. the recommended way (which is supported by iX) is to pass through a HBA - this way truenas has full byte level control over the disks
@JunglistPrefection
Жыл бұрын
Can I dual boot with TrueNas scale on baremetal and Proxmox on an separate ssd inside the same system?
@fishmeat69
Жыл бұрын
@@JunglistPrefection You can, what would your goal be though?
@danielsauriol
Жыл бұрын
Thanks a lot for your video. Your clear step-by-step explanations allowed me to add a passthroughhard drive to my TrueNAS VM , which is on Proxmox........ Thanks a Bunch !!! -dan
@BackBackForwardLightning
4 ай бұрын
I got unable to locate package lshw. How fix?
@elthongonzalez6345
10 ай бұрын
This video helped alot! Now my TrueNAS can read my hard drives :).
@PineapplePi5634
Ай бұрын
thanks for the video. followed your video and managed to get my TrueNAS VM running on Proxmox. The only part I would improve is to add a 'backup=0' flag in the config file, the part where you pasted in the serial number manually. With the no backup indication and if there is a scheduled backup on the VM, proxmox will skip the backup of all your passthrough HDD. It just happened to me earlier when proxmox attempted to backup all the HDD of TrueNAS when it did not have sufficient space. /dev/disk/by-id/ata-BRAND_MODEL_SERIALNO,size=9314G,serial=SERIALNO,backup=0
@Grid21
11 ай бұрын
This was a really cool video! I was going to do this myself, but since I was working with an 4790, doing VMs on such an old CPU didn't seem logical and I needed storage more, so I did bare metal install instead.
@russellmm
Жыл бұрын
ckear and straight forward explanation. Nicely done!
@jew10400
11 ай бұрын
Love your page between you and Network Chuck , I am well rounded , love how you simplified this.
@notsrynot
Жыл бұрын
Dude thank you so much for this, your videos lands so perfect for timing as I plug away at tweaking my homelab. Just swapped my Perc6i with an HB200 in IT mode so I can finally start my server config but I’ve been bottled necked at getting the drives set up properly for TruNAS to see them. Im only about halfway through the video but skimming through I think your method will work. Love Low-Res but his way of doing it didn’t seem to work for me. And it’s weird because we have the same hardware he’s just doing it with SSDs where as I’m using SAS drives
@dandumbrill5711
6 ай бұрын
Awesome video! Thanks for the step-by-step. Very easy to follow and best of all it worked.
@vincentdamico4227
Жыл бұрын
Thanks for the video my man. I was digging through the wiki, but figured I'd give the youtube search a shot!
@0589651
7 ай бұрын
Extremely useful and concise guide. Hugely appreciated.
@Lfmpaes
11 ай бұрын
Such a great and straight forward video. Thanks for the tutorial!
@VincentWestberg
Жыл бұрын
Great Video I have struggled with USB passthrough. I have it working but not like that I am going to go this route and see if it is better.
@thinkingcritically
5 ай бұрын
Thank you. That was helpful as I was unable to locate my drive in Truenas.
@GeekendZone
9 ай бұрын
This tutorial is perfect, thanks Bro.
@haszoka
11 ай бұрын
Instant sub
@basdfgwe
9 ай бұрын
You forgot to remove the disks from proxmox backups. After you add passed the disks through, go back to vm > hardware > double click each disk that was added, select advance, uncheck back up.
@jimskyboy2
Жыл бұрын
Interesting way of doing it, I just finished moving my truenas over to a new proxmox instance, I used a separate 4 Port Asmedia sata pciE setup and just setup iommu... 2 8TB drives and a 1TB cache drive... Mirrored on a Z620. This does help though, I could directly pull the drives instead of running them through a controller.
@FrenziedManbeast
7 ай бұрын
I watched this video awhile back and found it interesting. I came back to follow-up and thank you for making this video - I have 16 x 2.5" SATA SSDs connected via a 16i HBA. My plan was to pass through the entire HBA, but I could not get the VM to boot to TrueNAS - the HBA kept throwing Firmware Errors. So I painstakingly used this method and copied each ID + serial, and it worked immediately.
@Streetzlegend
6 ай бұрын
I was having this same issue when trying to passthrough the HBA of my server, it turns out its related to the IOMMU groups, it appears that when you pass through a device, the entire group is included and since in my case the drive used for Proxmox was part of the same group as the SATA controller for the NAS drives, then it would crash Proxmox. This solution seems to be the best next option, OR adding an separate controller and hope that it ends up in a different IOMMU group.
@FrenziedManbeast
6 ай бұрын
@@Streetzlegendmy 16i HBA ONLY holds the raw storage drives - the OS and assorted other drives I use for VMs or other storage run off the SAS -> SATA breakouts on the board. In either case I got it working so on to the next problem! =)
@beckbrook605
9 ай бұрын
Thank you for this tutorial, it's clear and easy to follow for students
@zr0dfx
Жыл бұрын
Thanks for sharing this. Super helpful for my nas build. Passing through a controller card as well but I want to use the ports on my motherboard which I can’t pass through via iommu 😊
@navarrohillsranch
Жыл бұрын
Great straight forward video, Thank you!
@ThisGreenMonkey
Жыл бұрын
Great video was looking for something like this and boom u made this amazing video.
@Tokentools-weldersAu
7 ай бұрын
Thanks for sharing, I am a total newb and you helped me get a stellar result :)
@rsmakishi
Жыл бұрын
If you aren’t using other SATA devices from that SATA controller you could also just passthrough that controller in the GUI.
@PoundNetTexas
7 ай бұрын
Just what I needed to know. Thank you
@Mr.SisterFisster
2 ай бұрын
Good videa, helped a lot, thank you.
@ricardoccpaiva
2 ай бұрын
awesome video sir, thank you!
@arthurkepler1284
Жыл бұрын
Thank you! The proxmox wiki docs leave a lot to be desired. (what is "592'? Why use -scsi2, etc.)
@RaphA.OliveR
10 ай бұрын
Thank you very much! It helped a lot =)
@lamefofof
9 ай бұрын
I have installed proxmox 8 on a home server (old gaming PC) got into proxmox and tried to use lshw but it says it cant find it and wont install it because it cant find the package. Any ideas on how to get that part to work?
@Nehemoth_G
8 ай бұрын
You need to first change the repository for updates
@user-nr5ty1mk2r
8 ай бұрын
how to set this up in a way that the 3 drives can be used by other vms as well? Maybe setting up the raid in proxmox and passing throu the pool it self?
@utubeuser1491
12 күн бұрын
Thanks dude
@KILLERTX95
Жыл бұрын
The guide has some room for improvement. - truenas core is based on FreeBSD, and freenas scale is Linux. You should use the Linux version for this sort of deployment - 1 gig ram for each terabyte of storage, so for eight terabytes, you need eight gigs of ram. Two cores should be acceptable though - You should really be passing through a controller, not the drives themselves. It's a lot safer. BIOS updates are less of a bad day, then. - if the nas is for 'cold storage,' then this next one doesn't matter as much. However, if you plan to use the nas a lot, passing through an additional hardware nic is advised (you should also bump the CPU cores up from two). Virtualized network devices perform like ass. - while we're on the topic, you should NOT use the defaults as he advised. UEFI and q95 are recommended for performance and passing devices through. (this last one also means you should turn on ssd emulation)
@mdhurrtn
Жыл бұрын
Thank you. Fantastic video.
@produKtNZ
3 ай бұрын
@techHut Given that this is an educational video - it would be immensely USEFULL for you to have the commands in the video description.
@giusepearturo
5 ай бұрын
thank u great job 9 of 10 (next time the comands in the description)
@vladislavkaras491
Жыл бұрын
Thanks for the video!
@alexfischer9493
Жыл бұрын
Great tutorial, had to figure this out 2 months ago lol
@Le.Chiffre
Жыл бұрын
I made it! Works!
@naveenchandra6526
Жыл бұрын
0:30 what is that dashboard.
@rsmith8733
Жыл бұрын
I am also interested to hear what this dashboard is!
@leopold188
Жыл бұрын
Thanks!!! Great Job!!!!
@SergioVelasco85
Жыл бұрын
Really good guide, thanks!! But is there any specific reason of why you used TrueNas Core and not Scale?
@TechHut
Жыл бұрын
For this installation I already have a dedicated VM for docker, but I'm definitely going with scale when I install it on hardware.
@jayzn1931
Жыл бұрын
Thanks! How do you manage drive spindown in this case? Do you do that on proxmox or does it work in truenas? Also I'm a bit annoyed that SMART values can't be read by truenas with scsi passthrough, but as I don't have a pci controller for my drives, for now I will have to check that in proxmox (where it works).
@jayzn1931
Жыл бұрын
Actually I got it working by passing through the sata controller of my mainboard now, for anyone interested. TrueNAS now has full access to the drives. Spindown works, but only after you set the system dataset location on the boot drive of truenas, not the pool.
@Maisonier
5 ай бұрын
Did you manage to solve the S.M.A.R.T. problem?
@jayzn1931
5 ай бұрын
@@Maisonier Hey, maybe you didn't see the comment I made: I fixed it by passing through the SATA controller completely. SMART and spindown work now! System is running without issues for about a year now.
@hakStak_charlie
7 ай бұрын
I had to change the cpu type to kvm64, then it fired up. Thank you!
@toolbelt
Жыл бұрын
Thank you!
@KrisHoobergs
Жыл бұрын
Maybe it's nice to have the commands somewhere in your description. I'm struggling with the long command at 5:55. It doesn't show me my drives but is just displaying a ">" . So I'm stuck at 5:55. Please advise
@dobrzpe
Жыл бұрын
guess you didn't look in the description under the "Proxmox Wiki..." link. that page as ALL the commands as well as SEVERAL ways how to get the drive info...
@Thewickedjon
8 ай бұрын
this is a great tutorial, but, what is the benefit of virtualizing truenas as opposed to just installing truenas bare metal?
@jasonlee3247
Жыл бұрын
Not sure why you’re doing the edit with the serial numbers? Just ls -l /dev/disk/by-id/ and copy each drive string into your qm set command
@chrisumali9841
Жыл бұрын
Thanks for the demo and info. So why did you install TrueNAS Core instead of TrueNAS Scale?
@yank9467
2 ай бұрын
Why everytime I add the serial it deleted the disk from proxmox
@jordanluellen9667
2 ай бұрын
Someone else posted this solution and worked for me as well @michaelarthur8417 "space after the comma. Removed it and et voila"
@staciebutka2340
Жыл бұрын
can't see the lsblk cmd can you added it to description?
@alevilikvealeviler
9 ай бұрын
thank you
@duaneparker8110
7 ай бұрын
I love your video and your teaching method. However it would be nice if you would put the commands you are using in your comments so we could copy them. It is way to hard to try a read them from the video. Just my 2 cents.
@stacks353
Жыл бұрын
Do you plan on making a video on your Container setup?
@_Talik
Жыл бұрын
migrated my proxmox to a new sustem. had to reset my vm because i forgot to plug in one of the disks and thought the drive wasnt been seen as the same thing for some reason. mended it though!
@hotshotjansson
Жыл бұрын
Nice video! What are you running at 1:04 (in Containarr: protainer ?)? What web gui is this? do you have a video for it? thanks!!
@panoshountis1516
2 ай бұрын
Just wondering, what is the recommened approach between (a) creating a RAID-5 set via the BIOS controller and pass that thru to the VM vs (b) pass-thru raw disks and then create a RAIDZ within TrueNAS?
@spoonest
5 ай бұрын
And how to use the same disks inside Proxmox?
@panoshountis1516
11 ай бұрын
Awesome video, thank you! As I am tight on budget, I am thinking of starting up with a couple of HDD units initially then add more as I go along. Can I utilize the same process tor adding more disks in the future or it is different?
@in03
10 ай бұрын
ZFS doesn't take kindly to adding disks as you go (yet). Look into Unraid if that's a requirement or wait until that feature is released for ZFS
@panoshountis1516
10 ай бұрын
@@in03 thank you for your reply. Maybe I should opt for a Windows Server VM with RAID controller passthru.
@havkacik
6 ай бұрын
Sweet! Are you able to use thst pool which you created in TrueNas back in the Proxmox utilizing RAID? I sume you could, but How about when TrueNas is not running? Are there any disadvatgaes with this sort of approach you can think of? Why not to rather have TrueNas as a main OS and use virtualization There?
@paul9812-t3i
Жыл бұрын
You legend
@910Jedi
6 ай бұрын
Awesome video! I don't know where I went wrong, but only 3 out of 4 of my drives showed up as unassigned disks in Trunas. I can't figure out where I went wrong. All 4 of them are showing up as attached hardware under my Trunas VM. Any ideas?
@anthonyj748
11 ай бұрын
I dont know if I did it properly but I ended making a ZFS with the hdds and TrueNas saw it as one disk
@Elrevisor2k
11 ай бұрын
I read somewhere that the entire SATA controller has to be pass not drives or there will be some issues with the pool losing data. Is that true?
@allogic
3 ай бұрын
Will truenas be able to read the temperature and smart values of the disks passed though?
@billhickswasgreat3421
4 ай бұрын
I dont quite get why he did those "qm set" commands, It kind of looks like he could have just edited the conf file. Can someone elaborate? Thanks!
@ryanclarke2005
7 ай бұрын
So this is being passed through via the sata ports on the motherboard?
@marcbrown3922
4 ай бұрын
First I must say exactly video and thank you for all your hard work, but I have a question I have truenas scale installed in proxmox and I would like to share my pool or smb share with all my media files to my Plex container in proxmox is this possible, If so could you point me in the right direction please..?
@RichardBuckerCodes
8 ай бұрын
what is the point of installing truenas on top of proxmox? Even with passthru truenas could be CPU starved at some point and drop packets/sectors.
@Nehemoth_G
8 ай бұрын
To learn something. Just have my first PC for homelab, and I'm trying to replicate a multiple HW setup with only one PC
@AlejanroDelHierro
10 ай бұрын
tnx
@mariabjrkb.skaftadottir8669
8 ай бұрын
all my drives says unknown, how do i make it so i can see what drives is what in truenas, as i had both hdds and nvmes with the same amount of data i cant makeout what is what in truenas when making my pool
@BIRDIE_PSEW
Жыл бұрын
Did you ever make a video about your Dashboard found at 0:30? Been looking through your videos but i just cant find it
@RufusCubano
Жыл бұрын
WHy use truenas to create zfs when you can create zfs directly from proxmox? What's the advantage?
@portblock
Жыл бұрын
Honest question, why? I work in production environments and this doesn't make sense to me. Is this a home thing? what am I missing? As I understand one wont be able to migrate the vm to another box in the cluster, and if for some reason the prox host goes down so do any applications/servers that depend on the mapped file server.
@TechHut
Жыл бұрын
Home thing. Learn the platform in an environment you already have set up.
@portblock
Жыл бұрын
@@TechHut Ah ok, makes total sense now, thank you for not ripping on me because I didnt understand.
@royprice931
Жыл бұрын
Did you ever get the drive temp to show in truenas doing this
@Thomas88-_-
10 ай бұрын
oh man what happens if your drives are full i dont want to format
@Costel8294
Жыл бұрын
Hello!For photos as google photos,what its best in proxmox?Nextcloud or Truenas?Thanks
@trunkscannon
Жыл бұрын
when i do the apt install for the lshw app, I keep getting an error of unable to locate the package
@schraderwebsolutions5713
10 ай бұрын
How can I add the drive serial numbers after the TrueNas VM is running?
@youhannamousa7959
9 ай бұрын
By passing through the HDDs, would the data be wiped on them?"
@ponchobob
Жыл бұрын
thanks for the video. is it possible to make a raid1 of two hdds and pass "them" through?
@JunglistPrefection
Жыл бұрын
Can I dual boot with TrueNas scale on baremetal and Proxmox on an separate ssd?
Пікірлер: 225