Up till now I’ve been running Debian on a 2008 Dell tower as my homeserver. I just got 2 1tb drives for it so I want to upgrade to an actual dedicated NAS software to simplify how I manage it. The problem is, I only have 4gb of RAM in it. Any recommendations?

Edit: For context, I mostly use the server for Nextcloud and Syncthing but I also want to be able to have a generic Debian server with ssh access available if I need it.

  • golli@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    9 months ago

    I haven’t used it, but maybe look at Cockpit? You could install it on your generic Debian server and it would give you a nice gui and tools, while letting you do whatever you are currently using it for.

    I am using openmediavault for my NAS, which seems reasonably lightweight and is debian based. If that fits the bill

    • Krafty Kactus@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      I’m currently trying out openmediavault on an old laptop and if that’s not markedly easier to use than Debian then I’ll try Cockpit.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        My anecdotes: I have OMV the plugins and docker makes things easy, once you read about how things are meant to be setup. OMV5 had cockpit, portainer plugin/addon making things very simple. OMV6 did away with addin/plugin Portainer to try to make a better built in docker management interface; Which focuses more on compose files. Overall running OMV got me used to docker and eventually CLI management of them.

        With SMB shares, DLNA, and several containers running I have never it the 4gig Limit of my Pi. (I actually have an old arm board with 256MB of RAM and use that with an old OMV release and idle it uses about 25% of that RAM, streaming audio gets the cpu up and RAM up but never past 256MB.

      • acockworkorange@mander.xyz
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        You technically can run on 4, but you won’t have much in the way of ZFS cache and forget about containers like nextcloud/syncthing. You’ll get NFS/SMB and rsync and that’s it.

            • lemmyvore@feddit.nl
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 months ago

              Oh jeez, that’s terrible. What is using the RAM? I’m also consuming 3.7 GB (without buffers) but I have 21 containers running (Debian stable):

              1. Jellyfin and Deluge take the lion’s share out of that, about 85%.
              2. NPM, Navidrome, MySQL are the second-tier largest offenders but take 1/10th of the 1st tier together.
              3. BubbleUPnP Server, Scrutiny, Tailscale, Syncthing, Radicale, my VPN are 3rd tier, about 1/2 of 2nd tier.
              4. Then another ~10 containers with very little amounts of RAM per container (CUPS, Ntfy, my dev Nginx server etc.)
              • acockworkorange@mander.xyz
                link
                fedilink
                arrow-up
                1
                ·
                9 months ago

                It is? Damn. I’m very much a newbie to TrueNAS. I thought it was high but had no basis of comparison. It’s a pretty fresh install. I installed jellyfin but shut it down, pending a memory upgrade to actually start using it.

  • PainInTheAES@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    9 months ago

    OpenMediaVault! It has a nice web UI and it’s Debian based. However the development cycle doesn’t always line up with Debian releases so sometimes it can take a few months to switch major versions.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    9 months ago

    Well… Do you want it to be a dedicated NAS, or do you want a generic Debian server? Because those are pretty much mutually exclusive.

    You probably want to just stick with Debian for running whatever, and then just present storage over smb, nfs, or whatever.

  • Atemu@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    Pretty much any?

    Headless distros won’t really differ in RAM usage. The only generic OS property that I could relistically see saving significant resources in this regard would be 32bit but that’s… eh.

    What’s more important is how you utilize the limited resources. If you have to resort to containers for everything and run 50 instences of postgres, redis etc. because the distro doesn’t ship the software you want to run natively, that won’t work.

    For NAS purposes and a few web services though, even containers would likely work just fine.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 months ago

    First of all, 4 GB is not so bad, I ran with 4 GB on mine for years. In fact I’m still not using more than 4 GB even though I have more RAM now, it still takes 3.7 GB right now and I run 20 containers.

    I don’t run Nextcloud though, and I don’t run VM’s. VM’s definitely would need more RAM, and I don’t know how much Nextcloud wants. Syncthing wants very little.

    Think about why do you want a GUI, they don’t typically offer that much if you already know your way around Linux. And once you set up a container it will keep working indefinitely (until you upgrade it anyway, but that’s another kettle of fish).

    You also don’t need anything fancy to put together a RAID1 out of those two disks, if that’s what you mean to do.

  • eveninghere@beehaw.org
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    9 months ago

    I’ve been tired with half-ass OSes like from Synology and QNAP that won’t do the job, and wanted to explore alternatives. I appreciate your post!

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    GhostBSD. It’s basically FreeBSD, but easier to use. Works really well on old PCs with low RAM, and it has packages for both NextCloud and SyncThing. And before you ask, yes it uses ZFS by default but it actually works fairly well on 4GB. In fact, you can even run it just fine using 2 gigs of RAM!

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    If you’d like a WebDAV server, I wrote one called Nephele that has a really small memory footprint. With a 4GB budget, you can run in cluster mode with probably 4 or 5 instances and not affect any of your other services.

    If you install the NPM version, you can also authenticate with system users, so you can use it to manage the files in your home directory. (You could also do that with the Docker version, but only for one user.)