This article is a list of the hardware used and sofware configuration for my MythTV server.
- AMD Ryzen 5800X Processor
- AsRock X570 Taichi Razer Edition Motherboard
- 32GB DDR4-3600 ECC Mushkin Redline Pro RAM
- LSI 12Gbps 16-Channel SAS Controller
- Asus/Aquantia AQAQC107 10Gbps Ethernet Interface
- Hauppauge WinTV-quadHD TV Tuner
- Samsung 1TB 980 PRO NVMe Drive
- Silicon Power A55 4TB SATA SSD Drive (x2)
- Seagate 20TB Exos X20 SAS Hard Drive (x10)
- AMD FirePro 2260 Video Card
NOTE: The AMD FirePro 2260 video card is only used for the initial setup of the system. Once Xubuntu in installed and configured and the SSH server is running, the card is removed.
- Xubuntu 24.04
- MythTV (Version 0.35)
From the Xubuntu website, I downloaded 'xubuntu-24.04.2-minimal-amd64.iso'. I went with the miminal package becuase I have no use for office or multimedia apps running on the server. When installing the operating system, I used default options for almost everything except I enabled ZFS support for installation to the 1TB Samsung NVMe drive. I also disabled requiring passworod to login.
After installing Xubuntu, there are some setting I change and a few packages to install.
This is done so if I have to use VNC/Remote Desktop the performance should be a little better since it won't have to draw a complicated background. I usually set the background color to a solid red. When using VNC, this helps me identify that I am interacting with the server.
I disable the screen saver because I have had issues when the screen saver can lock me out of accessing the desktop over VNC. The only recourse it to reboot and I would rather avail that if possible.
I also disable most power mamgement options as I want the server to respond quickly to network requests to scheduled recordings. I have found that it takes an annoyingly long time for drives to spin-up and the computer to resume from sleep which can cause issues.
There are a some necessary packages and a few quality of life features that we need on the server.
Using the command below, we can install install the OpenSSH Server, Gnome Disk Utility and a system performance monitor.
sudo apt-get install openssh-server net-tools nfs-kernel-server gnome-disk-utility htop
Now the server can be shutdown and the video card removed. Everything from this point on will be done remotely over the network.
sudo add-apt-repository ppa:mythbuntu/35
sudo apt-get install mythtv-backend-server
ls -l /dev/disks/by-id
sudo zpool create -o ashift=12 -O mountpoint=/media/recordings recordings mirror ata-SPCC_Solid_State_Disk_230467315140196 ata-SPCC_Solid_State_Disk_230467315150052 -f
sudo zfs set compression=off recordings
sudo zfs set atime=off recordings
sudo zfs set recordsize=1M recordings
sudo chown mythtv:mythtv /media/recordings
sudo chmod 2775 /media/recordings
ls -l /dev/disks/by-id
sudo zpool create -o ashift=12 -O mountpoint=/media/storage storage raidz2 wwn-0x5000c500da133ccb wwn-0x5000c500da13597f wwn-0x5000c500da137523 wwn-0x5000c500da1396ab wwn-0x5000c500da13b8eb wwn-0x5000c500da13ec1f wwn-0x5000c500da141807 wwn-0x5000c500da142e2f wwn-0x5000c500f38ab09b wwn-0x5000c500f392b7cb -f
sudo zfs create storage/videos
sudo zfs set mountpoint=/media/nas-videos storage/videos
sudo zfs set compression=off storage/videos
sudo zfs set atime=off storage/videos
sudo zfs set recordsize=1M storage/videos
sudo zfs create storage/music
sudo zfs set mountpoint=/media/nas-music storage/music
sudo zfs set compression=off storage/music
sudo zfs set atime=off storage/music
sudo zfs set recordsize=1M storage/music
sudo zfs create storage/photos
sudo zfs set mountpoint=/media/nas-photos storage/photos
sudo zfs set compression=off storage/photos
sudo zfs set atime=off storage/photos
sudo zfs create storage/archive
sudo zfs set mountpoint=/media/nas-archive storage/archive
sudo zfs set atime=off storage/archive
sudo chown username:users /media/nas-videos
sudo chown username:users /media/nas-music
sudo chown username:users /media/nas-photos
sudo chown username:users /media/nas-archive
Paragraph
Preformatted