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:

  • Nextcloud. Used for documents backup-sync, calendar and contacts sync, Joplin folder sync, also in the past Photos uplod folder from the mobile (we can call it webDav). In addition online remote documents edits and that’s about it. Nextcloud does not causes any major issue but I am kinda afraid to each upgrade that might screw things up.

  • Vaultwarden

  • Baikal. Mainly Because I wanted to try it and get away from Nextcloud better late than never.

  • Firefly III. Because, budget. Not actively using it. I have set up some automations for expenses but I do not enter either manually nor importing transactions via the Importer (never made it to work).

  • FreshRSS

  • Syncthing. Userd mainly for Obsidian sync.

  • Wallabag.

  • Webmin.

  • Roundcube for Yunohost’s mails only since port 25 is blocked by my ISP.

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:

  • i5-12600K
  • 64 GB RAM
  • 256 SSD for OS or thinking also Proxmox
  • 4 HDDs roughly 12T each for storage in RAID 5.

The idea is to:

  • Continue run the arr stack in Docker since I have the docker compose file ready
  • Set up a NAS. Please recommend any solution (eg. TrueNas, how, docker, lxc, VM?). This should be setup as main files dump for media, documents etc.
  • Future use in case the Yunohost server is removed from the static IP address (currently in another location)
  • RAID 5 is an excessive setup you think?

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!

  • thumdinger@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    21 hours ago

    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.