Help me decide?!
from WeAreAllOne@lemm.ee to selfhosted@lemmy.world on 17 Dec 10:59
https://lemm.ee/post/50002934

Hey everyone. So I’ll try to keep the post short. I have selfhosting for roughly 5 years quite few apps with Yunohost with a static ip address in an i3 3rd generation, namely the below:

I also selfost inhouse via DOCKER (arr stack and Jellyfin) in a SFF desktop HP, Ryzen 7, 65gb Ram, with a 256 GM SSD for Linux Mint, 4TB SSD (movies, tv series, music), a 1TB SSD for additional temp storage and a 4TB external HDD as also media storage (movies, tv series, photos). This machine is blocked access from the outside since I do not need it. In case I want to access to put some downloads in a queue then I have setup a wireguard tunnel. Note that I play media with a NVIDIA Shield TV (LineageOS flashed) so no transcoding is done or necessary.

Now, to the juicy stuff. Ideally I would like for now keep the Yunohost as is BUT want to tidy ip the inhouse one. Since I might get rid of the HP desktop I am thinking to invest in a new PC with the below characteristics:

The idea is to:

Does the above seem an overkill or should I simplify the current setup? Investing in a new server of approx 1000-1500€ is OK including also the HDDs.

I would appreciate any input to clear things up.

Many thanks!

#selfhosted

threaded - newest

hendrik@palaver.p3x.de on 17 Dec 11:16 next collapse

The HDDs alone should be roughly ~1,000€. The rest of the build sounds pretty much like your other machine, just with a different processor.

I run my YunoHost in a VM with like ~8GB of RAM allocated. You can move everything to one single machine if you set up some reverse proxy for all the web frontends.

36TB of storage and 64GB of RAM should be plenty.

WeAreAllOne@lemm.ee on 17 Dec 12:05 next collapse

True, I could run everything to one machine but the home one is a SFF so I cannot fit too much storage inside…

hendrik@palaver.p3x.de on 17 Dec 13:36 collapse

I think I get it. I mean in that situation you'd essentially pay to get some SATA ports and the space to put the harddrives. The money doesn't really get you anything else that'd be fundamentally different from the current setup.

Idk, I'm fine with 48GB of RAM to run a lot of services and containers. And I don't use a separate machine for storage, the hypervisor does that and I either share the filesystems via NFS or pass them through into some VM. And I don't think a fast machine with lots of RAM is needed for storage, unless you're using ZFS.

abeorch@friendica.ginestes.es on 21 Dec 12:09 collapse

@hendrik
Hey Hendrik Cool to find another #yunohost user. What Apps do you run? Tips for a newbie?
@WeAreAllOne

hendrik@palaver.p3x.de on 21 Dec 13:07 collapse

Uh, I'm not super up to date any more. I installed YunoHost a long time ago and it's been running fine most of the time, I haven't installed anything new in the last year or so. I like it. I don't think i have any broad advice, except the usual. Do your backups in case a harddisk fails. And don't mess with the config manually (too much) or you might run into problems.

I'm mainly using it to self-host my e-mail, Matrix chat, Peertube and Nextcloud. Have stored all the calendars and contacts stored there and sync it to my phone and computer. Have smaller websites running as a custom_webapp. And I use the reverse proxy to make Home Assistant and a few side-projects and experiments accessible from outside.

N0x0n@lemmy.ml on 17 Dec 11:25 next collapse

I can’t jump in for everything related to NAS, Yunohost or RAID5.

However, If you wan’t to host the arr stack with jellyfin or other media server, you probably need something to encode on the fly (some kind of GPU).

CPU encoding is superior but slower. Also this would leave your server CPU for other tasks more important. Encoding is very demanding and could bottleneck your whole server if you only rely on the CPU to do the heavy lifting and share your media server with family members.

WeAreAllOne@lemm.ee on 17 Dec 12:00 collapse

I have an NVIDIA Shield TV connected to my TV and reads from the ssd-hdds, so basically no need for additional GPU.

N0x0n@lemmy.ml on 17 Dec 12:16 collapse

Oh yeah so only couch watching :) !

thelittleblackbird@lemmy.world on 17 Dec 11:25 next collapse

Totally overkill if you cut the specs to the half I have the feeling they are still overkill

The only point are the hdds and the mass storage, I can not decide if it is a lot or not, but for your list I would say that you can even go one order of magnitude down. But it mainly depends if the number of Linux isos you want to archive

WeAreAllOne@lemm.ee on 17 Dec 12:04 collapse

Hmm I hear you…

Well, one can never get enough Linux ISOs…

acid_falcon@lemmy.world on 17 Dec 12:58 next collapse

Oh shit I may have advice. I have a setup similar to what you’re shooting for! Proxmox is the absolute best thing ever. I used to just run plain Debian with some docker and random services. Now I have proxmox, and for my desktop I pass my GPU through to a VM that is my desktop.

I’ve got half a dozen VMs, one of them has the arr stack hooked up to a raid 6 array (7 14 TB drives), and another VM running jellyfin (and I use Kodi to play stuff on my nvidia shield)

First advice of the top of my head, gosuperhard and serverpartsdeals on eBay are amazing. They sell used industry drives for a fraction of the cost, just shoot for the ones that have warranties

Nimrod@lemm.ee on 17 Dec 14:41 next collapse

Regarding your “desktop” setup. I tried to do this, and have one of my Cams inside proxmox pass the gui out via HDMI to my monitor, and I could not for the life of me get it to work. All the googling at that time said it doesn’t work, but might in the future. Are we in the future?

acid_falcon@lemmy.world on 17 Dec 15:14 collapse

I’d say so. My buddy is into gaming, but I only have one computer. To get around anti-cheat, I tricked a Windows VM into thinking that it’s running on bare metal. I pass through my GPU to it and I can play on medium quality settings just fine

Nimrod@lemm.ee on 17 Dec 15:48 collapse

Hmmm… I’ll have to try again. I don’t have a windows VM, so I’ve just been trying to pass through my MX Linux VM that I use for watching media. I’m not worried about the GPU, so as long as I can send the desktop to my display via HDMI, I’ll be happy as a clam.

acid_falcon@lemmy.world on 17 Dec 16:35 collapse

Hm so are you trying to pass through your onboard graphics?

Nimrod@lemm.ee on 17 Dec 18:53 collapse

I guess so… it’s been a while since I tried it to be honest. I ended up just opting for an additional NUC to use as my media playing PC, but if I could combine that with my “server” NUC, it would give me more a reason to buy new, more powerful hardware 😈

acid_falcon@lemmy.world on 17 Dec 19:52 collapse

Hah well, I just tested the built in graphics and it worked. If you wanna give me more details on what you have I can try to help

Nimrod@lemm.ee on 17 Dec 20:39 collapse

Thanks man, I’ll pencil in a spot this weekend to give it another go. I’ll hit you up next week if I can’t figure it out. Thanks a lot. I love lemmy for this.

WeAreAllOne@lemm.ee on 17 Dec 16:49 collapse

Thank you! Indeed you have a similar setup to what I’m thinking. Why do you have jellyfin to a different VM. Also, how come you haven’t considered a dedicated NAS (eg Synology) ?

acid_falcon@lemmy.world on 17 Dec 18:19 collapse

Portability/modularity/plus I have an Intel Arc GPU. The drivers just played nicer on Windows when it comes to transcoding (which you said wasn’t an issue.) But most of my services are on separate barebones VMs because they’re just easier to work with.

I went with a “traditional” desktop because I already had a big ass Be Quiet! Dark Base 900 Pro. Also I don’t trust hardware raid, and a regular desktop is infinitely more flexible.

For instance: I threw two GPUs in there! Little one for transcoding, big one for gaming. So I can play a game while my girlfriend watches a movie in the other room. Plus I can keep shoving drives in there until I run of room. A dedicated NAS is much more limited

abeorch@friendica.ginestes.es on 21 Dec 12:14 next collapse

@WeAreAllOne
Hey I'm new to #Yunohost running #Friendica #Nextcloud and #HomeAssistant - Hoping to have #ziggbee2mqtt in there when it becomes available. I am looking at back up now. Do you use #joplin for backup? - I have started talking to the #coopcloud people as I understand that is #container based.

thumdinger@lemmy.world on 21 Dec 18:25 collapse

For storage redundancy RAID 5 is not recommended, particularly as you get to high capacity drives (think >8TB). I think the rating to consider is URE (unrecoverable read error, usually 1 in 10^14 bits read).

Once a drive inevitably fails and you are forced to resilver the array to avoid data loss. During the resilver the healthy disks are running at 100%, reading every bit of data they have to complete the parity calculation and determine what data is missing. The chances of encountering a URE on another drive is a near certainty at high capacities as the total number of bits read exceeds the URE rating. As result the resilver would fail and the array would be lost.

RAID 6 as a minimum (2 drive redundancy), although a popular option now (and the layout I use) is mirrored vdevs.

Edit: Consider TrueNAS for NAS software. I have been using it for 10 years and it is absolutely rock solid. 25TB usable storage across 4x mirrored vdevs. I run it as a VM inside Proxmox with 4 logical cores on a 10 year old Xeon with 16GB RAM for the VM (I run ECC as was recommended at the time, but whether it’s still considered necessary I’m not certain).

I would also recommend getting an LSI HBA (host bus adapter) like the 9207-8i flashed to IT mode (it must not be in raid mode, let TrueNAS manage the disks directly). This simplifies passing through all the disks to a VM.