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   ( @golli@lemm.ee ) 
    link
    fedilink
    6
    edit-2
    6 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

      • 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.

  •  catloaf   ( @catloaf@lemm.ee ) 
    link
    fedilink
    English
    36 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.

  • 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.

  • 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.

  • 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!