selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

0110010001100010, in Can I build a NAS out of a desktop? [Request]
@0110010001100010@lemmy.world avatar

No reason why not. May be a little power-hungry depending on the spec but if you already have it go for it. FreeNAS (now TrueNAS) is the usually suggested OS to run: www.truenas.com/freenas/

Since you have 4 HDD slots probably run 4 disks in a RAID 5 so think of how much space you need. RAID 5 is n-1 so if you have 4x 10TB drives you will be left with 30TB of space before formatting. You can calculate here: www.raid-calculator.com

Then either mirror the SSDs for OS and caching or just use one. Depends on your budget really.

comfydecal,

Nice, thanks so much for the info!

bc3114,

Maybe I’m dumb but looking at wikipedia I’m a bit confused. Seems like you can do this on almost any linux distro. What is the reason behind setting up a dedicated OS, cost of operation, stability, performance?

lemmyvore,

Not everybody has the knowledge to deal with Linux. A product line TrueNAS or Unraid has a friendly GUI that can be used by a non-technical user.

PupBiru,
@PupBiru@kbin.social avatar

kinda the same reason people suggest something like linux mint over slackware, gentoo, arch, etc… mint is easy to install and is preconfigured to be an easy to use user desktop environment. you can configure any other option to be have like that, but they tend to be a bit more “DIY”, which is great if you know what you’re doing!

dedicated NAS OSes will have good software out of the box that make it easy to configure and manage various common disk-related configurations (RAID, SMB, NFS, etc). you can certainly do all this yourself, but it might not have a pretty, unified user interface, or you might have to deal with software that isn’t compatible with some version of a library that’s in your distro of choice… all resolvable things, but they take time to solve: anywhere from installing a package manually to applying a kernel patch and recompiling the kernel to get something to work

bc3114,

I see, thanks for the info!

cmnybo,

Power consumption is the main issue. If it’s an old, power hungry desktop and you live somewhere with expensive electricity, it can be quite costly to run. If you have an energy efficient desktop or have cheap power then it will be fine. Just make sure it has a good quality power supply if it’s going to run 24/7.

snakedrake, in Can I build a NAS out of a desktop? [Request]

Yep. Just install Linux, plug it into your router, set a static ip, and install the nas software ya want.

There are plenty of approaches. ChatGPT is great at debugging issues and helping ya through the setup. I did this with a raspberry pi and external usb drive the other week.

comfydecal,

Nice, didn’t realize a NAS could be on smaller hardware. Thanks for the info!

nutbutter,

Some people even use Raspberry Pis as their NAS. I use an old MacBook (5th gen i5) as a home server with 2 external hard drives as a NAS, which also runs a few docker containers like Jellyfin. Before that, I was using an old PC with 1st gen i3 for all these things.

BCsven, in Can I build a NAS out of a desktop? [Request]

You totally can, but since it will be on all day with 4 hdd look into wattages you want to live with. There are some small NUCs or Pi based NAS with low wattages. There is OpenMediaVault, FreeNAS/TrueNAS software to install

comfydecal,

Nice, good things to balance. Thanks for the info!

comfydecal,

Hey sorry, thinking on this more, could I just turn on the NAS when desired? What is the benefit of running it constantly?

Cyber, (edited )

Yep, look into Wake On LAN if you just want to power the NAS on remotely.

My NAS also powers on at certaIn times of day and off again after a while - IF - no-one’s connected / no network traffic / etc.

I do NOT need my NAS on at 3am…

Edit : forgot to say, check out OpenMediaVault

comfydecal,

Stellar! Thanks for the info!

lemmyvore,

You can also configure the HDDs to power down when they’re not in use. HDDs are the biggest power consumer anyway.

rentar42, (edited )

Note that there is some reliability drawback of spinning hard disks on and off repeatedly. maybe unintuitively HDDs that spin constantly can live much longer than those that spend 90% of their time spun down.

This might not be relevant if you use only SSDs, and might never affect you, but it should be mentioned.

BCsven,

You could totally turn on as needed, WakeOnLan is good for that. But typically when people run a NAS it is for streaming audio, video, file sync and backups and maybe docker running other services so the NAS is typically on 24/7 so it is available on demand. But it doean’t have to be 100% uptime if you don’t want it to be. For example I have two OpenMediaVaults one on a pi and one an old IomegaNAS. The pi is on always with an attached drive, and serves Samba Shares and DLNA/DAAP shares. Has docker running syncthing, CUPS print server, Trillium Notes, and homeassistant; so makes sense for it to be on all day, especially because my wife’s system backsup to it daily automatically. The converted Iomega NAS is mainly a backup machine sInce it is old and not as performant (only has 100 network speed. So that gets turned on to do a bulk backup and not much else.

zzzz, in Can I build a NAS out of a desktop? [Request]

Unraid is a great option for anyone, but beginners in particular. It does, however, cost money and isn’t open source.

comfydecal,

Thanks for the resource, might be good to at least research. Thanks!

Cyber, in Those who are self hosting at home, what case are you using? (Looking for recommendations)

I have both Fractal Design and SilverStone cases… love them… but the internal layout is not 100% of the consideration

Have a think about airflow and cabling… some of them have weird air flow designs and if you’re putting the machine inside something, or next to something, then that can make more impact on day-to-day use.

For example, I have a Node 304 (not enough drive space for you) because it fits nicely inside Ikea shelving. But the front air flow under the front bezel did mean I keep that machine near the front of the shelf, not pushed back.

And also consider hotswap drive bay caddies that fit smaller drives into large drive bays. Sometimes these have weird power connections, but if you don’t have them do you have enough PSU leads? So, are they absolutely essential? Possibly. Possibly not…

Maybe not the answer you were lookong for, but those are my main considerations now…

retrieval4558, in Those who are self hosting at home, what case are you using? (Looking for recommendations)

I use a fractal design node 304. It’s pretty cool, but has all the limitations and problems you would expect from a case that size.

EdibleFriend, in Could someone explain how to set up a lemmy instance with ansible for an absolute beginner
@EdibleFriend@lemmy.world avatar

Find some nerd and offer him feet pics to do it for you. Thats how I handle most of life’s problems.

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

Alternatively, if you are artistically talented, offer to draw them yiff in exchange for tech help. Humans are so 1990s.

HamSwagwich,

This is the way

Gormadt, in Can I build a NAS out of a desktop? [Request]
@Gormadt@lemmy.blahaj.zone avatar

My first NAS was an old desktop that I got for $300 running an FX-6300 and a GTX 550, I slapped a couple hard drives in there, installed Ubuntu, and made an SMB share.

I’d recommend installing TrueNAS Scale on a system rather than doing what I did in part due to it being so much better than what I was doing, but you could run it on a potato if you wanted.

Hell my latest NAS upgrade is going from a PowerEdge T610 (tower server from like 2010ish) running TrueNAS Scale to a normal desktop (from 2017) running TrueNAS Scale

If anything using normal desktop hardware makes servicing it easier than using old server hardware

LunchEnjoyer, in Those who are self hosting at home, what case are you using? (Looking for recommendations)
@LunchEnjoyer@lemmy.world avatar

Fractal seems far superior at least in the budget range. Personally just bought a R5 second-hand for roughly 40euros. Totally worth it imo 😁

Illecors, (edited ) in Could someone explain how to set up a lemmy instance with ansible for an absolute beginner

Do yourself a favour and don’t host it, yet. Lemmy is not quality software. You have 3 options here:

  • pay someone to take care of it for you
  • learn more about computer management and computers in general, first; then host it
  • ignore the first two options, which will inevitably lead to your instance crashing and burning

Best of luck!

arudesalad,

Crashing and burning would be similar to most my other projects

caseyweederman,

I mean… You’d learn so much. Crash and burn maybe, but call it a win for all the knowledge you gain in the process.

ShellMonkey, in Can I build a NAS out of a desktop? [Request]
@ShellMonkey@lemmy.socdojo.com avatar

Anything that can can provide storage attached to the network is a potential NAS. It doesn’t take a lot of power to just offer and store files. If you start getting into stuff like live transcoding or heavy encrypt/decrypt that’s a bit different matter.

zerodawn, in Could someone explain how to set up a lemmy instance with ansible for an absolute beginner

As a self taught self-hosting enthusiast i wouldn’t recommend ansible to a beginner. I know that sounds backwards as absible makes everything easy and does all the work for you but that’s also part of the problem. It would be like jumping behind the wheel of a self driving car without knowing how to drive at all. When (not if) something goes wrong it could go wrong hard and you’d lose the whole instance.

It’s better to start with some other self hosted projects that interest you to get a feel for the process and software like docker then work your way up to bigger things like lemmy. I consider myself fairly versed in the process and lemmy still gave me some issues to set up and my pixelfed instance still won’t federate despite my best efforts. I’m pretty sure i know the issue, i just need to get around to fixing it.

Last thought, the raspberry pi is a pretty impressive little pc for it’s size and price point but you might find yourself quickly burning through resources depending on the number of active users you have and how heavily you use it.

zerodawn,

Learning how to use your pi to run a reverse proxy to a self hosted blogging site would give you plenty of hands on starter experience. Run docker and portainer and mess with docker config files from a webgui to see what work and what doesn’t.

arudesalad,

Could you give somd examples of something to selfhost? I am only really aware of selfhosting lemmy and other fediverse stuff

themachine,

Replace existing online services you use with self hosted ones.

themachine,

Replace existing online services you use with self hosted ones.

zerodawn,

You could set up a dns based ad-blocker like pihole and a vpn like wireguard to tunnel your phone back into your home network so you have ad-blocking on the go, too. That’s a semi beginner protect with plenty of tutorials to pick from.

You could run nextcloud, syncthing, or immich to make your own cloud at home but that might need more than a basic pi setup.

arudesalad,

I actually set up pihole today!

zerodawn,

It’s a great software to run. I like to watch youtube tutorials that explain things step by step so i can understand what happens. If i find a good video i’ll see what other software that channel may have a tutorial on and if that software may interest me.

wreckedcarzz, (edited )
@wreckedcarzz@lemmy.world avatar

So, I’m not new to this (omg it’s been 6+ years now wtf) but I don’t host a lot of stuff, and it’s been pretty easy to poke at; I’ve got:

  • plex
  • minecraft (bedrock and java)
  • freshrss
  • rustdesk
  • home assistant
  • vaultwarden
  • pihole
  • actual (budget software)

Running in docker containers, along with a few of the built-in plug-and-play services on my nas. Of that list, plex, minecraft, freshrss, rustdesk, and vaultwarden were very easy to setup in my situation. Rustdesk is a really good remote control program/service, vaultwarden is a fork of the bitwarden server, and plex was almost comically simple to get going as a media host.

CosmicApe,
@CosmicApe@kbin.social avatar

I'm still getting my pieces together for my first server but I'm definitely gonna look into actual!

atzanteol,

I agree completely with self hosting lemmy for a beginner. But disagree completely about ansible.

Learning to script your environment is extremely useful for stability, maintainability, and security.

ULS, in Can I build a NAS out of a desktop? [Request]

Another option is to use openmediavault.

I haven’t looked at truenas.

Corgana,
@Corgana@startrek.website avatar

TrueNAS is very good at being a NAS. I used it for some time but eventually moved to CasaOS because it’s better at being a home server.

patchexempt,

I hadn’t heard of CasaOS before; looks very cool. I am currently on TrueNAS and it’s been fine, but I had been running it in a VM because it wasn’t a good fit for running other things along side it. This seems like an interesting solution, thanks!

Corgana,
@Corgana@startrek.website avatar

No problem! I really like it!

jandefris, in Those who are self hosting at home, what case are you using? (Looking for recommendations)

Using a U-NAS NSC-810A. Not the cheapest, but I love having hot pluggable disks with my TrueNAS build.

www.u-nas.com/xcart/cart.php?target=product&p…

PeachMan, (edited ) in Could someone explain how to set up a lemmy instance with ansible for an absolute beginner
@PeachMan@lemmy.world avatar

Agree with others here. Ansible isn’t for beginners and neither is a Lemmy instance.

Try some other projects first, maybe some docker containers that involve a reverse proxy.

For example, NextCloud is a very useful thing to set up as a project, but I would say that you specifically need the new Pi 5 with plenty of RAM for that. The Pi 4 doesn’t handle a full NextCloud installation well.

arudesalad,

I have the pi5 with 8gb of ram. Is that enough?

PeachMan,
@PeachMan@lemmy.world avatar

Oh yeah I think so. Honestly NextCloud is slow on any platform, so don’t be surprised if you’re not impressed. But it’s a neat project to set up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #