My NAS was getting increasingly annoying.

It would give error messages about not being shut down properly after scheduled restarts.

Apps would sometimes work and sometimes not. I had to manually stop and restart my video library each time to make it work. It was slow, it was refusing to do more than one thing at a time.

So, I finally started it up. Shunted all the data to external drives, setup the box from scratch.

Between it being fresh, and me knowing better what I’m doing and how I want things from the get-go, it’s running better than ever, better even than when I got it a few years back.

Interesting, while it was offline and being setup I found myself realising how integral it’s become to my day. So much stuff I went to do, only to discover I needed my box.

It was intended as a file backup and server, but so much has changed since then, I’ve grown used to having it here!

Still tempted to get an upgrade, maybe later this year if things workout well with the cash.

Wanted to share this with a community who can appreciate the feeling of having something working well!

  • lka1988@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    43
    ·
    edit-2
    5 days ago

    It’s best if a NAS remains as a dedicated NAS and nothing else; I would build a separate machine to tinker with, and share the appropriate folders on the NAS with whatever service(s) you’re running. That way, if you’re experimenting and fuck something up, it doesn’t take your data with it when it goes down.

    • Lichtblitz@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      2
      ·
      5 days ago

      That’s what containers are for. Fucking up the container won’t fuck up the host. That was the best decision in self hosting I’ve done. Even that one virtual machine feels weird and uncomfortably legacy now but it needs to interact with hardware in a certain way that just won’t fully work with docker.

      • greyfox@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        If your NAS has enough resources the happy(ish) medium is to use your NAS as a hypervisor. The NAS can be on the bare hardware or its own VM, and the containers can have their own VMs as needed.

        Then you don’t have to take down your NAS when you need to reboot your container’s VMs, and you get a little extra security separation between any externally facing services and any potentially sensitive data on the NAS.

        Lots of performance trade offs there, but I tend to want to keep my NAS on more stable OS versions, and then the other workloads can be more bleeding edge/experimental as needed. It is a good mix if you have the resources, and having a hypervisor to test VMs is always useful.

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 days ago

        That’s what I’m doing. Here’s my setup:

        • BTRFS RAID W/ snapshots - can always roll back
        • OS installed on SSD - can always reinstall without messing with the RAID
        • containers installed on SSD (also BTRFS W/ snapshots) and backed up to RAID; only access RAID through bind mounts (ro if possible)

        It’s incredibly unlikely that I’ll mess anything up on the host, but I can always reinstall if needed.

    • Diplomjodler@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      5 days ago

      On the other hand, having one home server that does it all has its advantages. I have a mini PC with an N100 processor and two HDD drive bays. It hosts my Docker containers and holds my data. As long as you install all the software on the internal drive and keep only the data on the HDDs in RAID, you should be pretty safe. I hope. So far I’ve managed not to fuck it up.

      • lka1988@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        5 days ago

        I used to do that, but I have a bad habit of over-tinkering with the underlying system. Having Proxmox as a base where I can spin up VMs and LXC containers to fuck with to my heart’s content is far more ideal in my situation. Plus, my entire cluster - NAS included - pulls 100-120 watts.

      • lka1988@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 days ago

        Oh I’m always doing something with it, it’s basically my winter hobby haha. I’m currently building a “new” NAS out of an old HP Proliant G2 case (from like 2002) and 7th gen Intel hardware, to replace the current Mac mini/4-bay Sabrent DS-SC4B. Still gonna run OMV on the new NAS, because OMV is awesome; but the USB connection between the Mac and drive station is cumbersome and risky.

  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Sometimes it’s just easier to build it from the ground up with all the knowledge you have gathered so far.

    • essell@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      That’d be great. Love to get a bigger better setup and just leave this one to run the surveillance system

      • curbstickle@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 days ago

        Tiny/mini/micro.

        You can grab a used box for under $200. Most I’ve picked up have been around $100-$125, then I drop in a new m.2 for the host, maybe add/change ram depending on what I got it with.

        Data lives on the NAS (really multiple for me, but besides the point here), and you’ll get waaaayyyyy more compute with a usff PC like that than you will with a pi or what a NAS can offer. They also run really light on power when you aren’t putting the CPU to work, so budget friendly in a bunch of ways.

        I’ve got a goal after a move my wife and I are planning to run the whole shebang on solar, with battery and a switch to utility power. I’ve got 10 of these little monsters now, after a recent addition, and its quite doable from my measurements of actual power usage.

        Which is a really long way of saying you may want to look at some tiny/mini/micro PCs.

  • Peripatos@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    I have to look how’s the uptime like for my RPI 4 1GB NAS (with just Pi-hole added) right now. Must be over a year I reckon. Just bare bones RPI OS server running.

    • Diplomjodler@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      5 days ago

      Having just a single drive doesn’t really provide a lot of security. I’d want at least two drives in a RAID config.

      • BCsven@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        You can have more than one drive on a pi, either USB, or they sell sata boards