Home Unraid
Post
Cancel

Unraid

Installation

  • download the USB creator from the unraid website
  • create a bootable USB stick with the USB creator (<= 2GB)
  • enable Advanced/CPU config/SVM or VMX (virtualization) in the BIOS
  • enable IOMMU in the BIOS
  • boot from the USB stick (you may need to change the boot order in the BIOS and disable secure boot)
  • (optional) run Memtest86+ to check for memory errors
  • boot into unraid

Getting started

  • access the web interface at http://<ip-address>:80
  • set root password
  • buy a license or use the trial
  • check if all disks are detected in the main tab

Array setup

  • select your parity drive(s) in the main tab (use the biggest drives)
  • select the drive(s) for the cache pool (use the fastest drives)
  • put the rest of the drives in the Disk pool and press start array
  • now all drives have to be formatted and the array has to be built

Basic setup

  • setup shares (at least on appdata cache only share for docker containers)
  • (optional) setup share for time machine backups
  • setup a second user to access shares from other devices
  • go to Apps and install the Community Applications plugin
  • install gpu drivers (if you have a gpu / nvidia recommended)

Plugins

  • Fix Common Problems
  • CA Auto Update Applications
  • CA Backup / Restore Appdata
  • CA Cleanup Appdata
  • Dynamix File Manager
  • User Scripts
  • Enhanced Log Viewer
  • GPU Statistics
  • My Servers

Docker

Pass a GPU to a docker container

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
docker run -d \
  --name='plex' \
  --net='bridge' \
  -e TZ="Europe/Vienna" \
  -e HOST_OS="Unraid" \
  -e HOST_HOSTNAME="Tower" \
  -e HOST_CONTAINERNAME="plex" \
  -e 'VERSION'='docker'
  -e 'NVIDIA_VISIBLE_DEVICES'='GPU-b39df49c-2a34-29f1-d923-b57c615d22eb' \
  -e 'PUID'='99' \
  -e 'PGID'='100' \
  -l net.unraid.docker.managed=dockerman \
  -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' \
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-icon.png' \
  -p '32400:32400/tcp' \
  -p '3005:3005/tcp' \
  -p '8324:8324/tcp' \
  -p '32469:32469/tcp' \
  -p '1900:1900/udp' \
  -p '32410:32410/udp' \
  -p '32412:32412/udp' \
  -p '32413:32413/udp'
  -p '32414:32414/udp' \
  -v '/mnt/user/Media/':'/movies':'rw' \
  -v '/mnt/user/Media/':'/tv':'rw' \
  -v '/mnt/user/Media/':'/music':'rw' \
  -v '/tmp/transcoding/':'/transcode':'rw' \
  -v '/mnt/user/appdata/plex':'/config':'rw' \
  --runtime=nvidia 'linuxserver/plex'

Scripts

This post is licensed under CC BY 4.0 by the author.