How to Install TrueNAS in Proxmox with HDD Passthrough!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everybody this is techa in this video what I'm going to be doing is showing you how to install true Nas core within proxmox now this right here is the home page for True NASCAR the world's most popular storage OS what it is is a solution so you can basically turn any machine you have into a network attached storage device and then from there set up hard drives in the raid configuration install popular services on it you could really do a lot and you can see down here some of the more specific features this will be linked down below and if you don't know what proxmox is this right here is my specific instance of proxmox essentially what this is is a virtualization environment in which you could create full virtual machines or containers to run various operating Services whatever you need and kind of separate them out and technically I could just install true Nas core on the entire system and use that to get a lot of the same features and functionality but I do like the option to have various things separated out in different virtual machines and containers for example I have a separate container running protein right here or portainer and then I have another virtual machine which is running a suite of these applications here which I want separate from my main Nas installation instance that I'm going to be putting on this now regardless of your reason or use case it's actually a fairly straightforward process we're going to install true Nas on here and before we do that we're going to want to go ahead and pass through some hard disks this machine running proxmox is actually my old desktop that I had turned into my home lab I put in a three four terabyte hard drive switch if I go I believe it is here go to disks you can see them right here SDA sdb and SDC all four terabyte hard drives what we're going to need to do to properly get trunes to recognize these and use these as if they're just native not through a virtual machine is pass them through but in addition to that we need to do a little extra configuration so trunes can read the serial numbers because generally if you don't do that true Nas kind of gets mad at you and is just not a fan so once you kind of have your blank environment and you're ready to go you're going to want to go and download a true Nas core you could go to their website again linked down below click on download here you're going to want to scroll down click this link right here no thank you of course you should probably sign up and true now's course so if we just go ahead and download the stable the download process will begin luckily I already have it downloaded and I actually have it already uploaded to upload what you're going to want to do is go to your local storage node here go over to ISO images click on upload and then go to select file if I go over to downloads you can see it is right here I would just hit open that begin the upload process but since I do already have it in there we're going to be good to go so from there we're going to create our virtual machine you can give it whatever ID you prefer as long as it's not used name I'm going to call this trunes and for this one I'm going to want to start it on boot now for this setup we could go with a lot of the default settings so we're going to go next OS we're going to select that true Nas ISO we put in here this is technically free BSD I believe but Linux is going to be fine we'll go next for system I'm going to be using all the defaults here next now for disks this is not going to be the disks we're going to pass through and we can't do it through here this is going to be the disk that the operating system is installed on and 32 should technically be completely fine but I'm going to give it 64. if we head over to this true Nest site here we can see the full Hardware requirements kind of reference this a bit you see the minimum requirement is a 16 gig boot drive as well as eight gigabytes of memory and a two core Intel or AMD processor so let's go back over here 64 is going to be fine for me I'm going to go next here we have the amount of cores we're going to definitely want to up that to at least two now I'm going to be using this for a nexcloud and a couple other services so I'm going to give it access to for my system cores and then we'll go next here we're going to want to up this to eight gigabytes so I forgot I think it's like 96 or something bam there we go 92 that was close so pop that in there go next and all this is going to be good just the default bridge if you have other network devices set up just go with the one that's connected to your Lan but for me the default settings is going to be perfect boom and then confirm and finish but first if this right here is checked make sure you go ahead and uncheck it because we're going to want to do some configurations first so let's click on finish and there is our true Nas right here and actually pass through these hard drives they're going to be kind of referencing this Wiki page this is pass through physical disks to the virtual machine and it looks a little complicated but it actually is a fairly straightforward process alright so here we are in the shell for our node and the very first thing that we're going to want to do is install an application not in caps lock an application called lshw what this does is it allows us to see a lot of information about our system and the components you can see I already have it installed and it's at this point what I'd recom end is opening up a application here that we can use to copy down the serial number and the IDS of our drives if we run this command here which is the class disk and class storage we should be able to see the disks that we're going to be using in this case it's going to be disk 0 1 and 2. and here we're going to have access to our serial numbers which are going to be very important and we can see this is at Deva SDA Dev sdb and Dev SDC so I'm just going to open this up I'm going to type in SDA sdb and SDC and then let's copy down these serial numbers so this one for SDA give that a copy I'm going to paste it on in there and then just repeat the process for however many drives you happen to be doing this with so I'm going to grab this last one here give that a copy and then paste it on in right here okay and for this next step let's make this a little bigger so we can actually output all the information we're going to be needing this is the command that we're going to use it's a little long it's a little complicated but it will spit out the information that we need and here are our device IDs you can see we have two IDs for each one really the only difference is formatting these ATA ones include the serial number and this wwm one does not any guides or anything I've seen recommend using this one right here which does include the serial number of the specific drive but just in case if you're only getting these ones I will show you how to pass through the serial number in the configuration in just a sec so this one is for the SDA as we can see here so I'm just going to go ahead and paste that ID there I'm going to grab these ones for the B paste it on in there and then let's grab our C so copy open up Kate and then paste it right here so now at this point that we can add these to our configuration and just real quick before I move on let's go to this container here and see what it looks like before so under Hardware you can see we have the hard disk that we added the 64 gig one at SCSI zero so we want to make sure we don't use that one and you'll see what I mean in just a second because we're going to be using this qm set Command right here so I'm going to paste this in and then get rid of this ID right here and you're going to want to pay attention to the qm set 100 you're going to want to use the ID for the virtual machine you can see for me it is 100 but change that as needed and for SCSI this one's five I'm going to make this one because we're already using 0 and then let's go ahead and paste in this right here so give that a copy and then paste it in so hit paste enter and then we can see we updated VM ID 100 so now if we go to that virtual machine and we go to Hardware right here we can see hard disk scsi1 and everything is looking good so now we just need to repeat that step for our other drives and there's my last one making sure that again for everyone you're going up a number with the actual drive or the SCSI let's hit enter there we go now if we head over to True Nas we are in Hardware we can see we now have those three drives now like I said depending on the device ID you used it might not have the serial number attached to it so to edit that all we're going to want to do is go back to our home lab into the shell and then before we edit this we can make a backup so to do that we're going to do copy paste and this is going to be the configuration for that virtual machine so I'm going to paste that this is an Etsy PVE qem server 100 conf obviously changed 100 depending on whatever your number is and let's just throw this into root and then I'll do like 100 dash backup dot comp hit enter so now that we're backed up we can go and edit it so I'm going to just redo this get rid of that and Nano in and then from here we could see the disks that we just added at one two and three so we are going to go to the end of this and we're going to add in the serial number variable so let's go like that paste this down the line and then throw in those serial numbers so I have them here just copy and paste get our last one in there and then we should be good to go so let's to exit out of here and fire up true Nas and you can see beforehand under the hardware tab we now have those serial numbers in there and they do seem to match up so let's start that machine go under console and here is our trueness boot screen so I'm going to skip this by pressing one let it boot into the system and then when you're in you'll have a couple different options we're going to go ahead and install and upgrade it's a fairly easy process and to see that it's working we can see our hard disks here but we're going to want to install this on that 64 gig volume we created continue this will erase all partitions let's go ahead and proceed give ourselves a root password so don't forget this and then okay and then let's boot via bios and proxmox probably have a better time doing that 16 gig swap partition I'm going to say no swap I could always just give it a little more actual Ram a little bit later but obviously do that as your preferences see fit and when we have an installation successful it's going to look something like this we could continue and then reboot our system so here we go proxmox and it should put us into the boot and not the actual uh ISO so here you have boot true Nas let's go ahead hit one and it should be at this point when it boots up we're not really going to need to do anything else just like installing proxmox it's going to give us the IP address that we need to connect to and upon first boot it's going to take a little longer as you can see there this is going to take a long time and here we go so you have options in here to do some configuration to reset your password if you forgot it but right here is is our IP address ending in 192 and this is going to be 110 enter and here we are so the login is going to be root and then that password we selected during the installation process let's log in and here on the dashboard you get a lot of really nice information we see our interface here help our memory CPU but what is most important or what we did in this video is storage so if I go to storage here and I look at disks we can see all the disks with their serial numbers and I could use that from there to create a pool let's add a new pool create pool here let's give it a super unique name cool select all available disks throw them over into this pool and then we have our raid options here so we have raid Z there's only three drives so we could either stripe near it which mirroring would be the the best for if a drive fails or if two drives fail but I'm going to go with good old raid Z what should give us just about of seven terabytes of the 12 ish that's in the system so let's create that pool confirm create pool and there we go we have our new pool which is our file system with 7.14 terabytes available so now it's from here that you'd want to go to users create the proper users go over to sharing set up your Windows shares and all that this was just the installation there will be more videos coming soon as I am going to spend some time learning true Nas and everything that it can provide so with that I do hope you enjoyed this video anything and everything that I have mentioned will be linked down below and with all that I do hope you have an absolutely beautiful day and good bye
Info
Channel: TechHut
Views: 58,077
Rating: undefined out of 5
Keywords: linux, linux tutorial, desktop enviorment
Id: MkK-9_-2oko
Channel Id: undefined
Length: 12min 13sec (733 seconds)
Published: Thu Feb 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.