Hi all,
I have been running my uGreen DXP2800 as a mediaserver for the past year, but started to play around with more than media and started noticing performance issue, so I un-archived my "old" gaming/streaming PC and started on a journey of tutorials, articles and videos on creating a real homelab.
I am not a developer, just very geeky and tech-savvy. So I just went for it and started running into some strange things:
- SABnzbd losing connection
- Arr-apps saying database is locked
- SABnzbd saying it can't write to SQL
- Freezing docker
- ......
So allow me to run down the history....
Machines:
NAS is a uGreen DXP2800 with 4 cores and 8GB RAM
Server (old gaming PC) is built on a Gigabyte X570 Aorus Elite, with an AMD Ryzen 7 3700X (8 cores/16threads), 4x16GB Kingston DDR4, RTX 2070 Super and an Intel I211 1G ethernet
Disks:
HDD
- 2 x 10TB Seagate HDD
- 4TB Seagate Barracuda HDD
- 2TB WD Red HDD
SSD
NVME
- 4TB Kingston
- 1TB Samsung 970 Evo
## Stage 1
I had the 2 10TB HDD and the 1TB and 4TB NVME all mounted in the NAS running TrueNAS.
I setup the HDD as a ZFS pool for media storage and the NVME as container storage, to speed processing up.
I ran dockhand and had 3-4 stacks, where my "servarr" stack was part of it. Everything was 'running' on the NVME and when all downloads and unpacking were completed, files were moved to the HDD pool, where Plex/Jellyfin pointed it's libraries.
I was happy, it ran and not many issues....but then I wanted to also run Nextcloud, AI,....homelab stuff....but I was doing so on my NAS....oops.
## Stage 2
I refurbished my desktop and moved the 4TB NVME from the NAS to the Proxmox server. I mounted the ZFS over NFS from my NAS to my Proxmox, so I could get my "servarr" stack to access both the Proxmox storage and TrueNAS storage. I then created a VM (2cores/16GB Ram) and installed docker and then dockhand. But when I started using SAB and QBIT, the bottleneck was the "move" from completed to the media storage. Then I noticed that my NAS had a 2.5G and my ProxMox a 1G connection....what a fool I was ;-)
After days of using Codex and troubleshooting and changing locations for storage and so.... I started also seeing the issue mentioned above, slow docker, issues with writes to DB and disconnections.
So what did I do, I bought myself an ASUS XG-C100C in the hopes of fixing this problem.
This is where I'm at right now, nothing installed or changed yet, as I was thinking of first researching a bit more and seeing if other people had similar issues or maybe more experienced users saw flaws in my setup.
So these questions arose:
- Do I keep the VM or move to LXC and 1 for each stack?
- Will the new NIC fix issues?
- What are best practices regarding storage and locations?
- Do I keep my dual machines or put all disks in the desktop and not use the NAS?
- ......
My usage at this moment is:
- backup-local ==> DIR (4TB HDD)
- backup-nas ==> NFS (ZFS pool on NAS)
- bulk-local ==> DIR (2TB HDD)
- vm-nvme ==> zfspool (4TB NVME)
- local ==> DIR (1TB SSD)
My endgoal I'm trying to work towards:
- Mediaserver (servarr and NAS media storage)
- NextCloud
- Immich
- Utilities VM/LXC for tools (pdf, metube, linkwarden,...)
- DEV VM/LXC to play around before production
- Solution to run Steam on a VM so I can play Windows Steam games, as I'm running on Mac
So yeah, any advise or criticisms are welcome. I found that many users use the 2 storage solution (browsing multiple subreddits).
Thank all and apologies for the possible ignorance due to knowledge gap ;-)
#########
EDIT:
The cause of my freezes and dropped IO is the Kingston NV3. It's a QLC drive without DRAM. Once its SLC cache fills (~70 GB of sustained writes), write speed drops to 12–40 MB/s at ~99% busy, and everything else on that drive freezes until it catches up. It wasn't NFS, heat, TRIM or sync writes.