synapse1278
@synapse1278@lemmy.world
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 4 days ago:
I have to look into that, thanks !
- Comment on My tender eyes and ears 5 days ago:
Add SonsorBlock to that and it’s just perfect
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 5 days ago:
Come on man… I spent so much time typing this from my phone, with formating and everything…
- Comment on Tips for moving from TrueNAS to Debian for a NAS? 5 days ago:
Hello, I have some experience using Debian in NAS, but none with TrueNAS.
Before anything: BACKUP !
If possible, make a full copy of your pool onto external drives, or another NAS or anything else. If it is not possible to get enough spare storage soace, then at least backup the things your really care about (personal photos, important projects, password database). Just make sure you have a valid backup in case things go terribly wrong ! I am sure everything will go well, but this will give you additional peace of mind.
Setup Debian for NAS use
There are a few things I can think of, many might be obvious, anyway:
- Install and configure network file sharing protocols: Samba (files sharing compatible with Windows, Linux, Android and others), NFS (more like network drive)
- Install: S.M.A.R.T monitoring tools
- Choose and configure filesystem. I have been using BTRFS, but since your pool is ZFS and you probably don’t want to format and start from nothing, I think you are already set on that one. I believe this is extra configuration as it doesn’t come by default on Debian.
More advanced things:
- Setup SSH for remote connection with the terminal
- Install
htoporbtopfor system monitoring in the terminal wireguardis a very nice VPN, it’s easy to configure on all platforms in order to access your NAS from outside your home
Power optimization
- Enable C-stats in the BIOS (warning in case your CPU is a 1st gen Ryzen, do not activate)
powertopis an utility to optimize power saving settings (I’ve not bothered with this until now)hdparmis an utility to manage and configure hard drives, you can use this to configure automatic spin-down after some time of inactivity, this is a bit tricky though.
Dashboards, UI, frontends
- OpenMediaVault is the first one that comes to my mind. It’s actually a Linux distro based on Debian with a web interface that allows you to do all the NAS relevant confirmations from the Webbrowser. It can also be installed on top of an existing Debian install. I have used it a long time ago.
- CasaOS, similar in concept, I have not used it.
- Another simple option to get started, get a monitor, keyboard and mouse. Install Debian with full desktop environment and configure everything in person. You can always go headless at a later time
Docker
You definitely want to install docker to run most of your services. Please, also add your local user to the
dockergroup to not have to run everything as root. Useful services I use:- Portainer: manage containers with a web interface
- watchtower: Auto-Update other docker containers
- Jellyfin: media Manager and player (similar to Plex)
- *arr, transmission, sabnzbd: sail the high seas
- gluetun: route containers traffic through a VPN
- caddy: reverse proxy, to access your container with sub-domain name, example: jellyfin.mycoolnas.net
- vaultwarden: redistribution of the Bitwarden password manager for self-loading with the premium features available.
Graphics cards
It’s been a long time I didn’t have to deal with NVidia. Debian comes by default with the
nouveauopen source driver, which works but may not give the best performance. I don’t know if it impacts transcoding performance. I suppose it doesn’t give your the NVENC codecs. Anyway, you can install the NVidia proprietary drivers and should be able to transcode.Conclusion
Debian is a solid option for a NAS, it’s been serving me well for many years. It is set and forget. However. It takes time to setup and the terminal is going to be your main configuration tool unless you go for OMV or another distro specialty made for NAS.
Your main source of information shall be the Debian Wiki. You will find step-by-step guides to install most of the things mentioned above. The Arch wiki is also a good resource, keep in mind that some files may have different locations and package different names across Linux distributions, but configuration should be similar.
Best of luck my friend
- Comment on Timesplitters Rewind, free fanmade recreation of the trilogy, enters Early Access 4 weeks ago:
OMG, so many good memories playing Future Perfect with my brother on the PS2
- Comment on Language 5 weeks ago:
- Comment on Getting too expensive 1 month ago:
- Comment on Any idea what might be going on with this print? 1 month ago:
Looks like a clogged nozzle to me. You can try a cold-pull procedure to clear it: help.prusa3d.com/…/cold-pull-mk3-s-mk2-5-s-mk3-5-… (maybe Creality has specific instructions for your printer)
- Comment on Corn me up, snake 🐍🌽 1 month ago:
Corn me up, snake !
- Comment on I love fucking pasta 2 months ago:
It is a really video. It’s like, a surprising detailed review.
- Comment on Are you even old enough to remember number 1? 2 months ago:
I used it for 9 years. When I finally changed it, everyone was already using smartphones for a while. I could navigate the menu and text entirely by touch, which was practical during classes :)
- Comment on Are you even old enough to remember number 1? 2 months ago:
- Comment on And what car did you learn in? 2 months ago:
Renault of that era are complet garbage, but still sold a tonne. This badly damaged their reputation and they took a long time to recover.
- Comment on And what car did you learn in? 2 months ago:
- Comment on chat is this real 2 months ago:
Interesting documentary about the “lofi girl” including interview of the artist who created the visuals (in French): Lofi girl : votre compagne de télétravail, star de YouTube - Le Dessous des images - ARTE | YouTube.com
- Comment on chat is this real 2 months ago:
This is actually in Lyon (France). The creator of the artwork was living there and use the view out his window as inspiration. I will look for the interview and link it.
- Comment on Dear neighbor... 2 months ago:
Something like that happened to me. A neighbor had the alarm running out of battery so it was beeping every 3 minutes or so. From my apartment this was a very faint noise but it really drove me crazy, my SO couldn’t even hear it. Lasted for at least a month, this guy was not at home. Until the firefighters showed up and forced his door and shut the alarm down.
- Comment on It's interesting to see what qualifies as a swear in different languages. 2 months ago:
In French putain is a swear, an insult and a punctuation for daily regulation conversations.
- Comment on Well organized people always plan a head 2 months ago:
It’s believed that drinking pineapple juice will make a man’s sperm taste better.
- Comment on Here’s what ads on your $2,000 Samsung smart fridge will look like 2 months ago:
No, they would definitely use eSIM
- Comment on ROG Xbox Ally runs better on Linux than the Windows it ships with — new test shows up to 32% higher FPS 2 months ago:
I was exited for the explorer tabs and virtual desktop, but OMG they are sooo bad ! In case of the virtual desktop, they even made it worse with Win11, now the animation is so slow and can’t be configured.nyou can have either slow ass animation or no animation at all which makes it very confusing to use.
- Comment on And now it's time for your favorite segment: Sex Tips w/ Mike!!! 2 months ago:
He means “women of conservatives”, conservative women may not know they have a clitoris.
Here is a picture for reference: Image
- Comment on Banana 2 months ago:
Do they taste any different from the Cavendish?
- Comment on Velma can't math. 2 months ago:
It’s a formula very useful for a tone of engineering fields, electronic, mechanics, automatic control and probably a bunch more. I used it a tone in my early carrier, including the imaginary flavor.
- Comment on Banana 2 months ago:
RIP Gros Michel 😢
- Comment on [deleted] 2 months ago:
Didn’t have time to brew coffee at home this morning. Coffee in the office is trash. I chose not to drink coffee today. But thanks.
- Comment on unforgivable bad bad mommy 2 months ago:
I WAS in the train, and I had to scroll real fast !
- Comment on A plea for help 2 months ago:
OMG, I was at work and that penis drawing made me so horny that I had to masturbate and now I’m fired :(
- Comment on Photographer combines family faces together to show genetic similarities 2 months ago:
Maybe it’s the grandma from the father’s side
- Comment on What’s wrong, babe? You barely touched your Spaghetacos 2 months ago:
*foodcrime