How to set up unraid 2021 guide (2024)

In this guide, I’m going to show you how to set up Unraid. We’ll go over what Unraid is, what hardware we can use. We’ll also go over the installation process and the initial configuration.

Table of Contents

So what is Unraid?

Unraid is an operating system that you can set up on almost any computer and turn it into a robust network-attached storage server. It also has support for Docker container and virtualization. Allowing you to set up different applications or operating systems like Home Assistant Plex, Ubuntu, and all from 1 single machine.

For the Network-attached storage, you can set up multiple drives in an array, and the drive can vary in speed and size. You can also add more drives to the array at any time without having to reconfigure everything and rebalance your existing data. It also has Parity protection. Allowing to use 1 or 2 drives as parity that can rebuild the data of a failed drive onto a replacement drive.

What hardware can we use with Unraid?

That will pretty much depend on what you are going to use the Unraid server for. If you are going to use it as a NAS server, then the requirements are minimum. You would concentrate more on the number of drives that you want to use for storage. To use it to run applications in Docker containers or virtual machines, you would need to concentrate on the hardware’s performance. The machine would need to support virtualization, have a CPU with 4 or more cores and at least 4 to 8 Gigs of RAM.

How much is Unraid?

Yes, Unraid is not free. It requires purchasing a license that varies in price depending on the number of drives attached to the server. The basic license, for example, supports up to 6 storage devices and costs $59. However, you can install the Full Unraid OS for free and try it out for 30 days so you can check if it’s right for you.

Installation

To install the Unraid OS, you must install it on a USB flash drive with a unique GUID. A Globally Unique Identifier. Unraid uses the flash drive’s GUID to link it to the license that you get. Premium flash drives from brands like Samsung, for example, will have a Globally Unique Identifier. For my Unraid server, I’m using theSamsung Fit Plus, which is small and easy to keep hidden on the back of my server.

Set up the USB Flash Drive

To set up the Unraid OS on a flash drive, download theUSB Flash Creatorfrom the Unraid website. Then, insert the USB Flash drive into the computer and launch the Unraid USB Flash Creator.

There are 3 steps to follow. On the first one, you can select what version of the Unraid OS you want to install. You want to download the stable release and also the latest version. Before moving to step two, you can click onCustomizeand set up a server name. The server should have an assigned IP address when it connects to your home network. You can set it up here if you would like or assign the IP to the server on your router settings.

For step two, the creator automatically selects the USB flash drive that you inserted. If not, you can choose it from the dropdown. Lastly, for step three, click onWrite, and on the pop up that comes up, click onErase and Write. When the process completes, inject the flash drive from the computer and connect it to the machine where you are setting up the Unraid server.

Configure BIOS, start Unraid, and access the web interface

For the first part of the installation, you need to have a monitor and a keyboard connected to the server. Once that initial setup is completed, the server can be headless, and you can access the Unraid web interface from any computer.

On the first boot, you want to access your BIOS settings and set the boot priority to boot from the flash drive. If you are going to set up virtual machines, you also want to enable virtualization in the BIOS. Save the changes, and when the machine boots, it will start loading the Unraid OS automatically.

When the OS is loaded, it will show you the IP address that you can use to access the web interface from any computer. If you set up a name for the server on the USB Flash Creator, you can also access the web interface using that name that was set up.

Start a free trial or purchase a license

When you access Unraid from a browser for the first time, you are directed to the registration page. In there, you can purchase a license or click onGet a Trial Keyand start a 30 days free trial, so you can check if it’s right for you. After the registration, you are redirected to the main page to start adding all your drives to the array.

Configuring the array

The machine I’m using for Unraid, I’m going to be running Docker containers, virtual machines, and a NAS. So, I have 24TB hard drives, which I will use one of them for parity. If something happens to the other drive, I can rebuild the data on another replacement drive with no problem. I also added a 1250 GB Solid-state drivethat would be used as a cache drive.

Because SSDs are faster than mechanical drives, you can set it to run the Docker container and the virtual machine from the cache drive. You can also set it that when transferring data from other devices to the NAS, the data is downloaded first to the cache drive. Later on, in off-hours, a script called the mover will automatically transfer the data to the drives in the array.

Adding Parity and Data drives

When adding a parity drive, the hard drive must be the same size or bigger than any other data drive in your array. You can add up to 2 parity drives. If you have more than 6 data drives connected, I would recommend having 2 parity drives set up. Like that, if 2 drives happen to fail, you have those 2 parity drives to rebuild the data on replacement drives. Reducing the chances of losing data.

After adding the parity drives, add the data drives, and if you are setting up a cache drive, set it up below as well.

Add cache drive

For cache, you can set up several drives. For example, if you set up 2 SSDs of 250 GB each, Unraid by default sets the cache to RAID1, which means that one of the drives would mirror the other one. So, if one of the cache drives fails before the data was transfer to the data drives, the data is still saved on the other drive. Also, the cache’s overall size would just be 250 GB instead of a total of 500 GB. You could change that and set it to RAID0, which means that the second drive would be an extension, and the overall size of the cache would then be 500 GB.

Start the array and format drives

To start the array, click onStart, and on the pop-up, click onProceed. Because it’s the first time starting the array and installed a parity drive, the system will begin building the parity. That process usually takes a while to complete, and the time frame depends on the size of the parity drive. In my case, I installed 1 4TB drive, so it took around 6 hours for the process to complete.

At the first startup, the data drive and the cache drive both would show asUnmountable. That’s because they both need to be formatted for an empty file system to be created. To format the drives, check the option,“Yes I want to do this”. On the warning pop-up that comes up, click onOKand then click on theFormatbutton. Give it a minute for the process to finish, and the drives would then be ready to use.

Set up a password for the web interface

When you access the web interface for the first time, there was no login screen. When you first boot Unraid, there was no option to create a password. So, right now, the web interface can easily be accessed by anyone inside your home network. You want to change that and create a strong password to protect the Unraid server.

To do that, go to theUsers tab, click on theroot user, and enter a new password. Click onChange, and the web interface will now require you to sign in using the root user credentials.

There are 2 things that you want to do with the USB flash drive. One, if you notice, there is a warning icon next to the flash drive. The reason for that is because the share settings on the drive are set to Public, allowing anyone in the network to access the boot drive’s content. You want to change that and disable the sharing settings to avoid the flash drive from being exposed to the network. The other thing you want to do is backup the USB flash drive, so if something ever happens to it, you can easily restore the backup on a replacement USB flash drive.

To change the share settings, click on theFlashdrive and then under SMB Security Settings, change theExporttoNoand theSecuritytoPrivate. Click onApply, and if you go back to the main tab, the warning sign would now be gone, and the flash drive won’t be accessible via the network anymore.

Backup USB Flash Drive

To back up the flash drive, click on Flash again to access the settings. Then, click on theFlash backupbutton, so a new backup is created and downloaded to your computer. You want to keep that backup in a safe place so you can use it to restore the settings on a replacement drive in the future. You also want to make a new backup anytime you make significant changes to your Unraid server.

The next thing that I’m going to show you is how to set up shared folders so you can access them from any device in your network. We will also create user profiles, so only users with credentials can access the shared folders.

To create a new shared folder, go to the Shares tab and click on,Add share. We’ll create a simple share, so set up a name for the shared folder, and for theAllocation method, leave it asHigh-water. There are 3 different options that you can set. If you have 1 data drive installed, you can leave it with the default option. However, if you have more than 1 data drive, you can set up the allocation method to the available options. If you click on the title itself, it will provide you with details on how each method works.

If you set up a cache drive in your Unraid server, you can save the transfer data to the cache drive first. Unraid would then transfer the data to the array at a later time. Because the cache drive is a solid-state drive, the data transfer would be faster than when saving directly to the array’s mechanical drives.

Click on theAdd sharebutton, and the shared folder would now be created and accessible in the network. Under SMB Security settings, the security is set to public by default. Allowing anyone in the network to access the shared folder. You can change this and create user profiles that can securely access the shared folder. So first, change thesecurityto Secure or Private and then click on Apply.

Create a user profile

To create a new user profile to access the shared folder, go to theUser taband click onAdd User. Then, enter a username, password, and you can also add a user image if you would like. Lastly, click on theAddbutton to set the new user profile.

After that, go back to theshares taband click on the shared folder to access the settings, and underSMB User access, you can set the permissions for any user you create. If you set up the shared folder to Private, you will have 3 types of permissions to set up. Read/Write, Read-only, and No access. If you set up the shared folder to Secure, you will only have 2 options. Read/Write and Red-only.

After you have the shared folder created, you can then map it to any computer and access it with the credentials for the user profile you created. To map a drive in Windows, open theFile Explorer, right-clickThis PCorNetworkand then click onMap network drive. In the pop up that comes up, type in the folder field\\, the name of the server or the IP address, and then\and the name of the folder. Click onFinish, and then a pop up comes up asking to enter credentials for the user profile you created.

Set up a parity check schedule

What the parity check does is that it reads the data disks and the parity disk, comparing computed parity with stored parity. If errors are found, they are reported allowing you to replace any failing drives. To set up a parity schedule, go to theSettingstab and click onScheduler. The parity check is a process that takes a long time. For my 4TB drives, it took around 7 hours. My suggestion is to set the parity check to run once a month and to start the process overnight if possible.

In the scheduler, you can also change the default schedule for the mover if you would like. I highly suggest leaving it set to run daily. However, you can change the time when you want the mover to run. When you are done with the configuration, click on Apply to set the changes.

Enable array autostart

To enable the array to start automatically when the server is rebooted, go to thesettingstab and click onDisk Settings. Then, where it says Enable auto start, change it to Yes, and then click on Apply. Now, anytime the server is rebooted, you won’t have to enable the array manually. It will be done automatically. Any Docker container and virtual machines will also start automatically after the array starts.

There are a lot more things that I would like to go over, like setting up virtual machines, docker containers, configure notifications in Unraid, setting upHome Assistantin a VM, and a lot more. However, I’m going to go over those things in separate videos, so definitely stay tuned.

How to set up unraid 2021 guide (2024)
Top Articles
.incall service app - Apple Community
Diferencia entre los Servicios de Incalls y Outcalls
Funny Roblox Id Codes 2023
Golden Abyss - Chapter 5 - Lunar_Angel
Www.paystubportal.com/7-11 Login
Joi Databas
DPhil Research - List of thesis titles
Shs Games 1V1 Lol
Evil Dead Rise Showtimes Near Massena Movieplex
Steamy Afternoon With Handsome Fernando
Which aspects are important in sales |#1 Prospection
Detroit Lions 50 50
18443168434
Newgate Honda
Zürich Stadion Letzigrund detailed interactive seating plan with seat & row numbers | Sitzplan Saalplan with Sitzplatz & Reihen Nummerierung
Grace Caroline Deepfake
978-0137606801
Nwi Arrests Lake County
Justified Official Series Trailer
London Ups Store
Committees Of Correspondence | Encyclopedia.com
Pizza Hut In Dinuba
Jinx Chapter 24: Release Date, Spoilers & Where To Read - OtakuKart
How Much You Should Be Tipping For Beauty Services - American Beauty Institute
Free Online Games on CrazyGames | Play Now!
Sizewise Stat Login
VERHUURD: Barentszstraat 12 in 'S-Gravenhage 2518 XG: Woonhuis.
Jet Ski Rental Conneaut Lake Pa
Unforeseen Drama: The Tower of Terror’s Mysterious Closure at Walt Disney World
Ups Print Store Near Me
C&T Wok Menu - Morrisville, NC Restaurant
How Taraswrld Leaks Exposed the Dark Side of TikTok Fame
University Of Michigan Paging System
Dashboard Unt
Access a Shared Resource | Computing for Arts + Sciences
Speechwire Login
Healthy Kaiserpermanente Org Sign On
Restored Republic
3473372961
Jambus - Definition, Beispiele, Merkmale, Wirkung
Ark Unlock All Skins Command
Craigslist Red Wing Mn
D3 Boards
Jail View Sumter
Nancy Pazelt Obituary
Birmingham City Schools Clever Login
Thotsbook Com
Funkin' on the Heights
Vci Classified Paducah
Www Pig11 Net
Ty Glass Sentenced
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6400

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.