Noob needs help with my first unRAID system


cholzer

Recommended Posts

I am currently building my first unRAID system and I need a little help with what is the best practice to move my data to that new NAS system :)

 

So right now I've got the following drives in the system which are getting pre cleared at the moment
1x 120GB SSD

3x Seagate Iron Wolf 6TB

 

All drives are connected to my Dell Perc H310 (LSI 9240-8i crossflashed to 9211-8i IT-Mode) - should I connect the SSD to a SATA port of my mainboard instead since it's going to be my cache drive?

 

Now, my plan is to setup the unRAID array and then move my data from the old NAS to unRAID.
After I moved my data to unRAID I want to move my 2x 6TB drives from the old NAS to unRAID.

 

So how should I do that? :)

 

Here is what I though I should do (please correct me if I am wrong):

  1. wait for the preclear to finish
  2. create a new array in unRAID
  3. setup shares etc. in unRAID
  4. move files from my old NAS to unRAID
  5. install the old HDDs in my unRAID box and preclear them
  6. add the old HDDs to the unRAID array
  7. add the SSD as cache to the unRAID array (I am not sure if I should to that before I start moving data to the array or if I should do that last!?)
     

Thanks in advance! :)

Link to comment

You are on the right track, however here is a trick. Typically when you create an array you choose a drive to be your parity drive, unRAID then creates parity on this drive and that can take hours. In your case create the array without a parity drive and copy your data over. When that is done, pre clear the other two drives and when they are done, install them and make one of them your parity drive, at this point, unRAID will create the parity data based on the data you have now copied over. At this point you can also add the SSD as a cache drive too. Good luck!

  • Like 1
Link to comment
1 hour ago, ashman70 said:

Typically when you create an array you choose a drive to be your parity drive, unRAID then creates parity on this drive and that can take hours.

Thanks your your reply!

 

I might be wrong (most likely), but I thought that when I preclear the drives then parity creation is much faster when I create the array. Or is that only when I add a new drive to an existing array?

Edited by cholzer
Link to comment
5 hours ago, cholzer said:

Here is what I though I should do (please correct me if I am wrong):

  1. wait for the preclear to finish
  2. create a new array in unRAID
  3. setup shares etc. in unRAID
  4. move files from my old NAS to unRAID
  5. install the old HDDs in my unRAID box and preclear them
  6. add the old HDDs to the unRAID array
  7. add the SSD as cache to the unRAID array (I am not sure if I should to that before I start moving data to the array or if I should do that last!?)
     

 

Not saying you're wrong, just some thoughts about what I would do in a similar situation: :-)

 

Is your old NAS fast or slow? If it is slow, I would have step 2 create a new array with parity. If it is fast, I would add the parity after step 4.

 

For step 4, I would copy the files rather than move them, and when parity is in place verify that all files were written correctly. I usually have checksums for static files, so for me it is quite straightforward to verify files. Yes, I am quite paranoid...

Edited by gubbgnutten
Strikeout...
  • Like 1
Link to comment

Long ago Pre-Clearing before putting the drive into your system would set a flag telling the system that the drive was cleared and would be brought into the array without keeping the array from coming up. When I say keeping the array from coming up I mean it took a pretty good amount of time. Lol    Now with the way unRAID is done the array is down briefly while it formats the drive and does some kind of pesuo pre-clear, but it is no way as good as the pre-clear. 

 

Some swear by Pre-clearing to check for errors and some don't. its your Data and from my experience I've had 2 Drives give me issues during the Pre-clear out of 12 so far. 

  • Like 1
Link to comment
15 minutes ago, kizer said:

 Now with the way unRAID is done the array is down briefly while it formats the drive and does some kind of pesuo pre-clear, but it is no way as good as the pre-clear. 

It does a clear, simple as that. The drive needs to be all zeros to be added to a parity protected array.

 

The difference is that nowadays it is cleared in the background, while older versions kept the array offline until the clear was completed. A pre-cleared drive can be formatted and used really really soon after adding it (since it is already cleared).

  • Like 1
Link to comment

I want to thank all of you for your help on my journey to get unRAID up and running! Your support was awesome! =)

 

All my files are on the array, parity has been created, cache disk is up and running, mover is working, email notifications are working, UPS connected and working, ...... I think I am done! :D

 

Only thing left to do is make a backup of my unRAID config. Guess best practice is to:

  1. shut the unRAID system down
  2. plug the USB flash drive into my PC
  3. and create an ISO of that USB flash drive? :)
Link to comment
1 hour ago, johnnie.black said:

You can just copy your flash share, that's the flash drive, best to do it with the array stopped though.

 

  1. Stopped the array
  2. copied the contents of the /flash share
  3. created a zip and stored it on my backup drive & cloud

So should my current USB flash drive die, then I would create a new one with the tool and then copy back the contents of my backup and overwrite all files on the new USB flash drive, right?

Link to comment
Just now, cholzer said:

So should my current USB flash drive die, then I would create a new one with the tool and then copy back the contents of my backup and overwrite all files on the new USB flash drive, right?

 

Yes, if you make a new one you just need to restore the config folder, then do the key replacement procedure.

 

It's good practice to make a new backup every time there's a disk change (new or replaced) in the array.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.