TrueNAS Boot Drive Failure:How To Recover and Get Your NAS Back FAST

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
now I'm here in the lab today standing over a dead trass well not completely dead because in trass we have our data drives down here in the front all the data is still safely stored on them they don't seem to have any issues but the mvme died so I fig this is an opportunity to talk about well what happens when you build a trass out of consumer Parts which I think is great for people in the home lab yes I have nice production systems on the other side of my lab here and well what we put in for large scale clients are really nice high-end redundant systems now this system is not redundant but this is more like what many people may have in their home lab based on their budget if your budget allows you to buy a large scale production system then go for it if your budget says well I only have one mvme what protections can I have well that's what I wanted to talk about here is building this system as we did out of essentially spare parts because I wanted to have one extra copy uh we I'll leave all the specs in the link down below but it's just a basic AMD system here with a few drives but we only have one mvme slot and this mvme died so what does that mean well that's what we're going to talk about is how easy it is to restore provided I backed up all my settings on this mvme also the mvme failure on this uh did not give me any warning signs I did not get any that would indicate there might be a problem other than it doesn't detect and when you put it in a slot it doesn't detect at all like it does not show up as an mvme so uh I can really conclude that this one is completely Deb after only probably 5 years of use but hey let's get started on [Music] this are you an individual or Forward Thinking company looking for expert assistance with network engineering storage or virtualization projects perhaps you're an internal it team seeking help to proactively manage monitor or secure your systems we offer comprehensive Consulting Services tailored to meet your specific project needs whether you require fully managed or co-managed IT services our experienced team is ready to step in and help we specialize in supporting businesses that need it Administration or it team seeking an extra layer of support to enhance their operations to learn more about any of our services head over to our website and fill out the hire us form at laurren systems.com let us start crafting the perfect it solution for you if you want to show some extra love for our Channel check out our drag store and affiliate links down below that will lead you to discounts and deals for products and services we discuss on this channel with the ad read out of the way let's get you back to the content that you really came here for now once you replace the drive just doing a normal default install of churn ass is all that's needed you don't have to do any other setup that'll bring us right over to the login page and from there we want to make sure that all of our disc can be seen so if I go here to storage you'll see that there's no pool and we can then look at our disc tress actually recognizes these discs that are part of the exported pool which means it's a pool that is there but is not attached so what we want to do is go to system settings and general and we want to upload a file and right here is my last backup I did of this particular system so hit select we're going to and upload it and this will reboot that server all right now the system's rebooted we can log in with our our normal password that we had set in that configuration file and now that we're logged in we can see that the storage is available it is imported the pool and if we look at the data sets they're all there and they've all been unlocked because the key was within that configuration file something worth noting is if you wanted to export that configuration file you can simply click on the base of the pool here and you can actually export the key or export all the keys because you can actually have different keys for different data sets this is a way that if if you wanted to import the pool without dealing with all the config that you would be able to do so you just simply hit export all keys and hit download keys and it'll put them in a file if you simply want to export or you only have one key it actually gives you the key file here that you can simply copy and paste or click download but since we restored this with the backup we can go over here to our data protection and our periodic snapshot tasks are still set up so as the replication task we only had one and if we go over here to our applications you can see that they're up and running we did not have to reset up the applications because they're already stored in the data set for IX applications and once we restored our config it knew this was the location on this pool that the applications lived so they're still working perfectly fine only thing we had to do is replace that one boot drive so if we back over here to storage and look at the disc you can see there's the one mvme that I replaced now of course this video was easy because I had gone to system General and did a backup of that config file prior to me losing the drive and it dying so that makes things easy if you are someone who did not do that can you import the pool that depends if the pool was encrypted and you do not have that config backup file or you did not go through the process of exporting those keys there is no way to bring back in an encrypted pool it will import the pool it just will not unlock it it will show the data sets as all locked and that's it that is where you will be stuck because I've had the very unfortunate position to be in of telling people I cannot recover this because you did not either a export the pool keys or B back up that config file which contains the pool keys this is as designed the whole purpose of this is to be able to encrypt data sets and if any of those drives are taken out or even all of the drives are taken out there is no way to bring them into another trass now an exception of course would be is if you encrypted a data set with a past phrase the past phrase of course is not stored within there because that is something you have to put in each time the system boots so as long as you know the passphrase yes any data set that is pass phrased provided it wasn't a child data set of one that was encrypted with a key yes you should be able to bring that in just fine but the real important and real takeaway here is making sure you either a export those keys or B make sure you back up that config and I actually recommend doing both this way if you ever have a situation where you wanted to rebuild your Tunas but you didn't care about all the shares config Network settings all those other things that are set up in that config file you can simply import that group of drives into any other trass system or even a new one and just have those keys to decrypt it but of course this is if you're using encryption as I noted if you're not using encryption at all well no big deal you can just bring the data sets back in bring the pool back in if there's no encryption and no problem you can be on your Merry way and have all your data like And subscribe to see more content from the channel leave your thoughts and comments Down Below on this topic here if you also want to know about how to resilver drives well you'll find that in the playlist down below because I've got separate ones for dealing with data vdvs this is strictly all about the boot drives and how simple it is to recover provided you did back up see me over in the forums for a more in-depth discussion about this or other topic you see on the channel and [Music] thanks [Music]
Info
Channel: Lawrence Systems
Views: 9,657
Rating: undefined out of 5
Keywords: LawrenceSystems, network attached storage, truenas scale, truenas core, truenas replace failed drive, freenas (software), how to, open source, truenas degraded drive, truenas backup, network attached storage review, truenas boot drive, truenas boot drive failure, truenas usb boot drive, truenas mirror boot drive, truenas scale boot drive
Id: Xf0i4OxzYWE
Channel Id: undefined
Length: 7min 39sec (459 seconds)
Published: Thu Mar 14 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.