How to replace or upgrade a disk in your array on unRAID

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

Hi Guys a quick guide on replacing a failed harddrive, or upgrading a hardrive to a larger one, in your array :)

👍︎︎ 1 👤︎︎ u/spaceinvaderone 📅︎︎ Dec 09 2016 🗫︎ replies
Captions
so hi guys I hope you've all had a good week well being a Friday it's time for an unready to Rio and this tutorial is about replacing or upgrading a hard drive in your unread service array there's also a companion video that goes along with this one that's all about pre clearing your discs group okay guys so let's talk about changing and rebuilding a hard drive on your unread server now there's two situations where we might have to do this and the first situation is we may be looking at our server today we're very very happy with it then we'll wake up tomorrow and the worst has happened we've lost a hard drive a hard drives failed well let's hope it doesn't look quite as bad as this one so we're going to have to swap out the hard drive and change it for another well another reason we might want to change a hard drive is we don't have any more SATA ports on our server and we want to make the array larger so what we can do is we can swap out one of our drives and put in a larger hard drive in its place the size of the array in this example is 15 terabytes and that's the sum of the data drives added up together the parity drive here is a terabyte and that isn't included in the actual size of the array and the size of the parity drive is important because we can't go beyond what the size of the parity drive is when we replace another one of the data drives so for this example here we couldn't put a day to drive in that's larger than 8 terabytes so trying to add this 10 terabyte hard drive into our array just wouldn't work but what you could do is you could upgrade the parity drive to a 10 terabyte drive and then from that point on you could then be able to upgrade all the other data drives up to the capacity of 10 terabytes as well so back to our example of the 15 terabyte array if we swapped out one of these 5 terabyte drives and replaced it for a 6 would then have a total capacity of 16 terabytes so those are the two reasons which you may want to replace a hard drive in your server and I want to replace a hard drive in my server and my reason is actually for a combination of those two reasons if you look down here I've got an unassigned drive which I passed through to my VMs in order to store my gaming data on and this hard drive now is beginning to fail looking at the smart report for this drive it says that I've got 224 reallocated sacked account so this drive really needs to be changed so what I thought I'd do is rather than just replacing the one terabyte drive I thought I'd buy a three terabyte drive and replace this two terabyte drive in my array and after having replaced this with the three terabyte drive I could then move the two terabyte drive and replace the other side and drive for the two terabyte drive and so this will be good because it will give me one terabyte extra in my array and one terabyte extra on my unassigned drive I use for my gaming VMs okay good so enough with all the explanations of why you might want to change your hard drive and why I might want to change my hard drive so let's just get started and I'll show you how to change your drive and rebuild it in under 8 okay so the first thing to do is to pre-clear the new drive that you're going to be putting into your system now if you don't know how to do this then please see my other video on pre clearing disks now you can skip this section but I really really would advise you to pre-clear your disk before putting it into your server and as you can see I've already pre cleared this three terabyte disk ready to replace my drive ok so I'm going to replace this 2 terabyte disk this disc 4 here is going to be replaced with the 3 terabyte drive okay so what I'm going to do is I'm going to shut down the server and then I'm going to take out the SATA cable out to disk four and remove the drive and then restart up the server okay so I've pulled out the SATA cable and restarted the array and you can see here now I've got a red cross saying that this drive is missing so to replace this disk with our three terabyte disk that we're just precleared we just select it from the drop-down box and click onto it okay so now it's selected you can still see it says that the other drive is missing that doesn't matter so now what we're going to do is just scroll down to the bottom and if you see here it says replacement disk is installed and you'll see here it says start will start a parity sync and/or a data rebuild and then you just click the little box underneath and then click on start then this will start the rebuild process rebuilding the data on to the disk we just replaced from the parity and the data on the other drives okay so the rebuild process is started if you see here it says the percent and how far it's through and you'll also notice up here that there's an orange triangle next to the drive this triangle means the contents aren't actually being read from the drive but they're being emulated from a combination of the parity and the other data drives and because these items are emulated I can actually still access all what used to be on this drive even though it's not there on any share on my array even while the disk is being rebuilt so if we scroll down to the bottom of the page we can see the various statistics about the rebuild we are rebuilding onto a three terabyte drive it also tells us the elapsed time or how long the rebuild has been going on for it tells us the current position or how much data it's actually rebuilt and it also tells us the transfer speed of the data and then it gives us an estimation of how long the rebuild is going to take it says 14 hours here but I'm sure it's actually going to be a lot quicker because the data rate will probably pick up okay yes you can see now it's been running nine minutes and it's given me an estimated time now of just over five hours so we'll see you later if that's right so we're at the five hour mark now but it says it's going to take an extra one hour 22 minutes so we'll come back then and see how it's doing and so yeah nearly finished now but at the 7 hour mark um you've only got 7 minutes left ok great so the rebuilds finished that only took seven hours to rebuild that disk and now you can see my disk for there's no triangle there everything's absolutely fine you can see that it's three terabytes and I've got about one and a half terabytes free so anyway guys that's how you rebuild a disk in undrained I hope you found the video useful and if you liked it then guys please hit the like button and if you want to see more videos from me then don't forget to subscribe and anyway guys whatever you're up to for the rest of the day I hope it's good and I'll catch you all in the next video
Info
Channel: Spaceinvader One
Views: 47,469
Rating: undefined out of 5
Keywords: unRAID, unraid, linux, array, preclear, pre clear, replace harddrive, upgrade harddrive, replace harddrive in unRAID, upgrade harddrive in unRAID, unRAID tutorial, tutorial, how to, guide, limetech, lime technology, unraid array, raid disk, unraid raid array, nas, kvm, qemu, vm, server
Id: HcD5svP7Uog
Channel Id: undefined
Length: 7min 5sec (425 seconds)
Published: Fri Dec 09 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.