Air Cooled edition
previous:
>>105601484READ THE WIKI! & help by contributing:
https://wiki.installgentoo.com/wiki/Home_server
/hsg/ is about learning and expanding your horizons. Know all about NAS? Learn virtualization. Spun up some VMs? Learn about networking by standing up a OPNsense/PFsense box and configuring some VLANs. There's always more to learn and chances to grow. Think youโre god-tier already? Setup OpenStack and report back.
>What software should I run?Install Gentoo. Or whatever flavor of *nix is best for the job or most comfy for you. Jellyfin/Emby/Plex to replace Netflix, Nextcloud to replace Googlel, Ampache/Navidrome to replace Spotify, the list goes on. Look at the awesome self-hosted list and ask.
>Why should I have a home server?De-botnet your life. Learn something new. Serving applications to yourself, your family, and your frens feels good. Put your tech skills to good use for yourself and those close to you. Store their data with proper availability redundancy and backups and serve it back to them with a /comfy/ easy to use interface.
>Links & resourcesCool stuff to host: https://github.com/awesome-selfhosted/awesome-selfhosted
https://reddit.com/r/datahoarder
https://www.labgopher.com
https://www.reddit.com/r/homelab/wiki/index
https://wiki.debian.org/FreedomBox/Features
ARM-based SBCs: https://docs.google.com/spreadsheets/d/1PGaVu0sPBEy5GgLM8N-CvHB2FESdlfBOdQKqLziJLhQ
Low-power x86 systems: https://docs.google.com/spreadsheets/d/1LHvT2fRp7I6Hf18LcSzsNnjp10VI-odvwZpQZKv_NCI
SFF cases https://docs.google.com/spreadsheets/d/1AddRvGWJ_f4B6UC7_IftDiVudVc8CJ8sxLUqlxVsCz4/
Cheap disks: https://shucks.top/ https://diskprices.com/
PCIE info: https://files.catbox.moe/id6o0n.pdf
>i226-V NICs are bad for servers>For more SATA ports, use PCIe SAS HBAs in IT modeWiFi fixing: pastebin.com/raw/vXJ2PZxn
Cockpit is nice for remote administration
Remember:
RAID protects you from DOWNTIME
BACKUPS protect you from DATA LOSS
redpill me on why I shouldn't buy this to replace my ISP router?
Can the USG-PRO-4 still get updates?
ยฃ45 lads...
>>105621937>ยฃ45because I'm going to buy it first
>>105621966I mean you can, but there's tonnes available on ebay for around that price. They seem to be getting dumped as e-waste big businesses. My question is why? Are they out of support from ubiquiti now (the usual reason tech gets mass dumped)?
>tfw fell for the Thinkcenter meme
>i5-6500T/32gb ram/265gb NVME + 2.5 HDD
>installed arch + kde
>installed cockpit for webUI
>Set small RAID for the HDDs and set NFS/SMB share
>custom aliases and script to use as utility box over SSH
>podman for CF-connector + Jellyfin + Pi-Hole
>retroarch + bottles for gayming
>sunshine for streaming
My issues are mainly choppy streaming and slow access, because this is done over some cheap chink generic USB 2.0 2.4 GHz WiFi dongle/adapter, I'm getting like 3MB/sec when transferring files.
Second, I need it connected all the time since sunshine won't work when there is no monitor connected
>Didn't buy those ghost plugs
Third, arch is truly a timesink distro, I spent 3 hours trying to figure out how to get hardware decoding and it turns out the mesa drivers are not installed by default.
All in all it's pretty nice experience.
What else can I do?
>>105622329I think you fell for the meme of being a retard.
>>105622329>thinkcenter memesounds like you fell for the intel meme, they haven't made a decent cpu in a long time
should have bought a threadripper
>>105622469>>105622363>must buy enterprise hardware
>>105622329you fell for the way too outdated hardware meme
get an 8500t or 9500t
>>105622549show power usage
>>105622484Maybe don't buy a usb 2.0 wifi dongle. I'm not sure if going above that is dipping into the enterprise.
>>105622563Why? Its about 50 watts idle with a Dell PERC H730 and 4 3.5 disks.
>>105622609not him
don't believe you
>>105622329>installed archbased af
>>105622609lmao, prove it.
>>105622614i am him, i also don't believe him
>sauce?!?!I've owned many, as well as some antique proliants. 200W idle if you're lucky. Pray the fans don't spin up.
>>105622365>My main concern is that the pci ports will be so old that it will be hard to find parts that will workpci is pci. pcie is fully backwards compatible.
at worst new pcie cards will run at slower speeds though given you're probably looking at pcie3 its unlikely to pose much of an issue
When setting up OPNsense with Unbound, AdGuard and local DNS resolution which configuration is better:
OPNsense uses AdGuard as its DNS server, which then forwards to Unbound, and Unbound finally queries an external DNS server (e.g., 1.1.1.1)?
or
OPNsense uses Unbound as its DNS server, which forwards all requests to AdGuard, and AdGuard then queries an external DNS server (e.g., 1.1.1.1)?
>forwarding and then forwarding and then yet more forwarding
jfc
>>105623459can't you just point DNS to 1.1.1.1 (or 9.9.9.9) and skip all that? you can still use ublock origin in firefox, and that kills ads way better than a DNS blocker.
Any experience with Minisforum iron, mainy reliability and schizo anecdotes on how they call home?
does anyone know how to safely remove danboorus autotagger? Its eating up resources and i don't need it anyways. I tried removing it from docker-compose.yaml but i cannot upload things when its removed which defeats the point.
>>105621918 (OP)Pic related is my home server sitting behind my living room TV.
Radxa Rock5b, 32GB ram + 4TB Nvme drive & the OE passive heat sink case.
Running Armbian v25.5 (with the stable mainline kernel)
QBittorrent WebUI for downloads & DDClient to apply openDNS Adblock config.
Samba for SMB sharing over my LAN & infuse on client devices to handle metadata for movies & tv shows.
Setup is totally headless with configs done via SSH or X11 window forwarding to my MacBook.
Although I really like the RK3588, hardware acceleration isnโt fully implemented on the mainline Linux kernel yet. The 8 core CPU is still plenty fast for remuxing movies but if you want to take advantage of the dedicated video encoding VPU, youโd have to either wait for mainline support or use Rockchipโs vendor Linux kernel (at the potential expense of stability).
Overall, really happy with the setup. Idles at 37ยฐC & totally silent. Full hardware support for the 3588 is slowly but surely being added to the mainline Linux kernel & everything is absurdly stable
8/10. Highly recommended to people who like to tinker
close your eyes...
imagine you had one single 2.5 inch 2TB hard drive as your nas...
now tell me... is it SSD or HDD?
>>105626395ssd. I have a 2TB qvo hanging off the back of my desktop unused for the past few months.
>>105623685>that? you can still use ublock origin in firefox, and that kills ads way better than a DNSRunning Unbound (or any local resolver) gives you faster DNS through local caching and reduces reliance on third-party upstream servers. It also lets you define internal zones, set up split-horizon DNS, override public records (useful for self-hosted services or testing), and create custom entries without touching external DNS. Gives you full control over how DNS works on your network.
>>105623459im the anon from yesterday.
just pick whichever, its easy to swap it around later and you probably wont find a reason to anyway.
>>105626654>faster DNS through local cachingyou OS already does that. you didnt think your PC resolved 4chan.org every single time you refreshed the page, did you?
>reduces reliance on third-party upstream serversoh im sorry, were you planning on resolving 4chan.org yourself? maybe get the mods to DM you the gateway every once in a while?
the rest is true tho so i guess you get partial credit.
>>105626395i have 8 1tb enterprise hdd's in my r630
>>105627068>maybe get the mods to DM you the gateway every once in a while?wat
>>105627146saying "local DNS reduces reliance on upstream DNS" is like saying "my router reduces my reliance on my ISP". like, what the hell do think your router is plugged into? when you ask Unbound/adguard/whatever to resolve 4chan.org, how do you think it does that?
Thoughts on the Ryzen 5 8600G? Seems like it has pretty good idle watt.
If one had a w10 node that had access to a samba share hosted by a debian/*ubuntu system, what's the ideal choice of program to run natively in windows for the purpose of backing up any given filesystem/zpool to a specified folder on the windows machine? Like how I would use g/rsync (+chronjobs) to do the same thing from linux to linux?
>>105618260How serious is the threat/consequence of sharing pirated media here? I'd like to share my whole music library but that would by my primary concern, and 2nd would be how owner and group appear for my files after they're downloaded onto another system, as now everything I have is myname:myname.
>>105627188Probably better to compare it to a caching web proxy than just your ISP, but yeah, your browser/os doesn't typically cache the web.
>>105627725>browser doesn't typically cache the webnot sure what browser youre using but i frequently have to hit 'em wit' the ol' Ctrl+Shift+R to fix broken websites.
see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
>>105627747Looks like that relies on headers? The website would have to tell you if it's fresh or not? In that case it's exactly like dns caching. TIL
>>105621976Probably just people upgrading to something better.
Apparently, people tried to get OpenWRT running on them so if someone can carry that forward they should have a future at least even if Ubiquity ends support themselves (not sure if they have or not).
https://forum.openwrt.org/t/openwrt-support-for-the-ubiquiti-usg-pro-4/228635
You may be able to run other third-party firmware too, not sure if other router distributions have been ported or not. I'd probably try to avoid Ubiquiti's software anyway.
I've been trying all day to get a hello world website working on my newly-minted old laptop server. I can successfully ssh into it, but I cannot access it from a browser. I cannot for the life of me figure out what I'm doing wrong.
Any tips, /hsg/?
Can I put a rack in a closet? Or will I need to vent it somehow for airflow? Also the circuit for the light in there is 15A, but it only powers a few lights (which with LEDs draw little power now), so I can just get an outlet installed. Or will I need a 2nd circuit? It's right next to where the fiber comes in so it'd be ideal (I'm getting the 5Gbit).
>>105628397Can you:
curl http://localhost
Could be as simple as a firewall configuration issue? You might have to allow access with Ufw or Firewalld or whatever it's running.
>>105628547Doing that on the server gets me a "welcome to nginx" html file; on my workstation it gets me a
`curl: (7) Failed to connect to localhost port 80: Connection refused`
Turning off the workstation's ufw doesn't seem to effect this at all.
I recently upgraded my desktop workstation's GPU and now have a spare RTX 2070 Super sitting in a box.
I have a home server with a Ryzen 5700X and 64GB ram but no dGPU. It is currently running Immich, Nextcloud and being used to store backups. What are some additional use cases if I added my old RTX 2070 Super to the server? From what I understand it's a bit weak for running LMs.
Does GPU-accelerated facial recognition make a big difference for Immich?
Don't suggest media server as I've already delegated those duties to my i5-9100 SFF Lenovo.
>>105628704The firewall on your server. I meant and localhost is your computers machine so that won't work on your workstation. I only said to try that over SSH to see if the server is actually running.
On your workstation you would go to http://192.168.X.X where that's the IP address you're using to SSH into the machine.
my skullcanyon nuc runs esxi and keeps randomly rebooting, i have replaced the broken fan and I have no idea what to do to fix it.
should I just go the 1-2U server route?
also, is exsi still free after the broadcom merge?
>>105628673So this is apparently completely unfixable
Let it be known that a failed umount on shutdown can completely and irrecoverably nuke your btrfs
Goddamn what a joke, am I better of just using ntfs?
>>105629001Sounds like something more involved happened here. A failed unmount won't cause this alone, there are backup superblocks.
>>105629023idk, I only even discovered it was a failed unmount when checking the logs the next boot.
Can't find any way to get it to mount now, trying to mount with backup root give something about global root already existing.
>>105622329dont know why anyone is telling you to upgrade your hardware, it's obviously your rust thats the bottleneck here. though an update for your system is basically within the realm of "free" to 200 dollars
>>105629052>your rust thats the bottleneck hereIt's the cheap wifi, When connected to ethernet I get around ~50MB/sec
I'm not complaining but using it for watching 1080p is more than enough.
Game streaming is limited to 720p though, but I'm downscaling it anyway.
Also this whole thing is free, the only thing I paid for was the 3d printed case, and the M.2 to SATA adapter.
>>105628673>>105629001>>105629041Alright it did mount with rescue=all at least.
Files still seem intact, no idea why it wouldn't mount. Even the most recent files I copied onto it seemed fine.
I don't have a drive big enough to store everything for a reformat, so still kinda fucked.
>>105628673Test your ram. I had issues with btrfs caused by faulty stick.
i hate uefi so much
*refuses to elaborate*
>>105629315Turns out it doesn't need rescue=all, just rescue=ibadroots
What is the intelligent (or at least MOST intelligent) way to buy used HDDs?
And I don't mean refurbished stuff, I mean going on a second hand website and seeing a post where some dude is selling hard drives in bulk.
The kind where the picture is super compressed and features just a stack of these drives on a table somewhere.
Are there any practical ways to make sure on-location that it's reasonable?
>Why not just get refurbished stuff?
I live in a small country, and the smaller it is the more niche niches are
>>105629906>Plug it the HDD>Read SMART info>Decide whether the info provided is good enough for you>Back everything important up multiple times to avoid disks dying
>>105629967>to avoid data loss from disks dying*Is what I meant.
>>105629967I figured as much, but I meant more along the lines of "how to do that"
Say I go to this person's house and I want to check the drives before taking them with me, could I get away with using a laptop, some chink sata-to-USB cable and Smartctl? (Or whatever else gets the same job done)
I'm worried about USB/SATA shenanigans obscuring something I should know in advance.
>>105627543robocopy + task scheduler
>>105629093>servers on wifiim not an elitist but this is one thing i find truly horrifying
>>105630013>I'm worried about USB/SATA shenanigans obscuring something I should know in advance.Yeah, from my testing USB to SATA don't support SMART.
I had to use eSATA to SATA
>>105630049It's a stupid idea from a latency perspective but it should be doable if your WiFi isn't complete crap. Being complete crap is their issue. You can get decent bandwidth out of WiFi 5 (802.11ac) which is ubiquitous at this point. Wifi 6 (802.11ax) and Wifi 7 (802.11be) only improve things further. Their problem is clearly the crappy USB 2.0 2.4 GHz dongle. You should be able to get at least 50mb/s under ideal conditions.
>>105622329>>tfw fell for the Thinkcenter meme>>i5-6500TIs there anything you have trouble with besides the bandwidth issues? I had a Thinkcenter with he same cpu but wose specs and i had flawless hardware encoding/decoding for jellyfin. Unless i was scrubbing i would have no issues using it. Had two drives connected with their own usb thing and used LAN. Its a nice option i think but facing a potential HDD upgrade i needed more connectivity so i got a more traditional setup. But still, 3MB/sec is very weird.
>>105630080Fuck
So assuming I could bring a laptop with me that only has usb (A and C) ports on it (excluding HDMI and SD card, naturally) my only real option for double checking the drives on location is to ask the seller if they have a computer I could use to check the smart data, right?
>>105630080>Yeah, from my testing USB to SATA don't support SMART.Must depend on the controller that's on the USB to SATA adapter/enclosure. It worked fine for me and i could even set spindown timers.
>>105630049>im not an elitist but this is one thing i find truly horrifyingWhy?
Other than bad speed, but realistically 3 MB/sec is more than enough for basic SSH, playing file over NFS.
Even gaming is fine, somewhat.
The reason It's on wifi,
1. I can get it in cooler location
2. I can set it up next to my TV so I can actually use the big monitor for movie night
3. Running wires isn't an option for me, and I'm already reaching it over wifi from my laptop
If I get better place, I can just connect it directly.
>>105630195>Is there anything you have trouble with besides the bandwidth issues?Not at all, it's solid experience over all.
Maybe because I've installed arch on it, but i checked the BIOS and cpufreq and I don't seem to be able to get over 2.8 GHz when doing something.
So I guess this is the limit for me.
>But still, 3MB/sec is very weirdIt's the adapter mostly, since it's USB 2.0 and uses wifi4, max speed is about 54 Mbps, I tested with iperf3, and I'm getting around 33 Mbps
Anyone uses proxychain?
I have docker running service exposing socks5 proxy.
I want mpv to use that proxy for playing URLs.
Not sure if this is the right tool though.
Is it?
>>105623459>Unbound, AdGuard, local DNS resolution, upstream recursive DNS serverThe presumed need to include all of the above already sounds retarded.
Figure out what you want your setup to do and pick the solutions accordingly, not "here's a list of solutions, how can I shoehorn all of them together into some kind of half-sane setup".
>>105630330>Why?because it fills up your house with more wifi traffic, slowing down every other wifi device?
>>105630404>slowing down every other wifi device?I don't have smart home.
My wifi devices are (laptop/phone) and this.
Why do you feel the need to wifi everything? even your fridge?
file
md5: 5588c97c2e65b11c2e280d42ee38d39f
๐
>>105630330>Not at all, it's solid experience over all.Good to hear but im with the other anon on this one.
I don't know your situation but using anything else would be better than wifi. If possible use those outlet things that route through the electrical network. Wifi is just terrible for this. Its for things that need wireless transmission for moving things. But your server is stationary and chances are these outlet thingies can connect it to network anyways. Please consider them.
>>105630455>If possible use those outlet things that route through the electrical networkI tried those, and I went against someone's here that told me it's piece of shit.
I got better speed with wifi.
Though I got some tenda things.
The anon told me it should all be on the same circuit.
>>105630581>The anon told me it should all be on the same circuit.Yeah they are very situational sadly. Its just hard to see such a nice setup being cucked by networking.
Hope it works out for you some day.
>>105628730I think perhaps what I was doing wrong was, I was trying to use the WAN IP of the network rather than the LAN IP, if those are the right terms. I've set up port forwarding though, so I thought that the WAN IP should resolve to the server.
Is this a sign that something's gone wrong, or is it normal that you can't use the WAN IP from within the network?
Captcha: MGTND
>>105630455those things are even more unreliable than WiFi.
>>105630648>cuckedI cucked myself by marrying for a start.
And yes, but even then I'd be botteneck when connecting to it from my laptop which is also over Wifi.
Hopefully when I get better place to put all those together it would be nice.
I mean I posting from my kitchen, because i don't have proper battle-station.
>proxmox
The most bloated recommendation I've ever heard in my life.
>>105630426only thing connected to my wifi 99% of the time is my phone
because wifi is shit. its always been shit. it always will be shit.
>>105630696this
t. wifi hater
>>105630350you can try this, but my immediate concern is that mpv isnt linked to yt-dl like it is to ffmpeg, so i suspect intercepting mpv's libc calls wont do anything for those (which also means the URL that yt-dl hands to ffmpeg will have a proxy/no proxy mismatch).
if you put yt-dl inside a container and use the proxy for the whole container, then you can replace yt-dl with a script that pipes it into/out the container. but you would still need to use proxychain for ffmpeg.
if youre willing to do that, then arguably a more elegant solution is to put mpv in its entirety inside a container, and then get the window to render on the host, which isnt very hard to do since X11/Wayland work over sockets anyway.
>>105630966I did and it worked perfectly fine.
proxychains mpv <url>
It even used cloudflare DNS, which depending on what you want might be a downside.
And for the record, mpv handle yt-dlp/ffmpeg as subprocess so for proxychains it's one command.
>if youre willing to do that, then arguably a more elegant solution is to put mpv in its entirety inside a container, and then get the window to render on the host, which isnt very hard to do since X11/Wayland work over sockets anyway.No wonder /g/ call /hsg/ sysadmin cosplayers.
>>105631075glad it worked anon.
>>105630662>I think perhaps what I was doing wrong was, I was trying to use the WAN IP of the network rather than the LAN IP,Lookup "hairpin NAT". Assuming you setup port forwarding correctly then this should work but your router has to route it directly to your LAN instead of it going onward through your ISP and looping.
my ngnix webui is on 192.168.1.11:81 (port 80 and 443 is what its listing to)
how do I make it so when i type in container.ngnix it'll reverse proxy to 192.168.1.11:81 ? I can't use adguard to resolve that since it automatically uses port 80 or 443
>>105631851you cant have a hostname resolve with a port, thats not how that works. you can only get adguard to resolve container.nginx to 192.168.1.11. and im not sure why you think adguard using ports 80/443 play a role here, DNS uses port 53.
im sure whatever youre trying to do can be easily done with nginx, but im not sure what it is youre trying to do. can you about more specific about which machines/VMs/containers are running which software?
>>105631851just add a vhost for whatever.domain to nginx to reverse proxy the web ui
and then tell your dns that whatever.domain is on 192.168.1.11
how are you using nginx but not know how to do that? presumably thats half the reason you're running nginx at all?
wtf does an nginx webui do anyway and why would it not be set up that way by default
>>105631851>how do I make it so when i type in container.ngnix it'll reverse proxyby using a reverse proxy
Have old j1900 board and at idle it draws 20w while everyone else is reporting 10w. Tried jumpstarting psu with paper clip and with no load so all the components disconnected it draws 10w. Is that normal? It's old dell psu from p4 times.
>>105632298PSU is burning 10 watts? You should get a new one i think.
>>105632204but nginx is a reverse proxy.
r330
md5: b4f7a0d239bd711bdef0b431b6308a78
๐
>>105622563it's 14nm LGA1151 (low IO socket, the same is used in consumer CPUs), so it's pretty power efficient.
My R330, with 1x DIMM 1x SSD and after gutting the second PSU, read as low as 25W idle at the wall.
>>105632455how fucking hot does that thing get jesus. why not put it in a plastic bag and seal it shut. why not set up a bunch of hair dryers and blast them directly into the intake.
Very stupid question:
If I connect two devices to a simple, unamanaged switch, would data from one to the other only go through the switch or would it still go through the connected router?
The context is that I have a home server and a PC, both have 2.5Gb RJ45 ports but they're connected through my ISP router which (iinm) only supports 1Gb per port.
If I were to get a simple, unmanaged switch that's advertised as supporting 2.5Gb per port and connect these two devices to it as well as the router, the bottleneck would be 2.5Gb rather than 1, right?
I'd also appreciate any other insights on small, dumb switches for home use.
>>105632455Some more power data, picrel is R330 with 2x 3.5" HDD, 1x 2.5" SSD (system), 1x M.2 SSD in PCIe (cache for HDDs), 1x Mellanox ConnectX-3, running monerod (SSD) and some HTTP downloads (HDD) (so not idle, but not 100% util either).
>>105632504what are you talking about, it doesn't get that hot at all. It's a low power CPU platform, like 80W TDP max, my proper tower workstation with E5v4 gets much hotter and louder that this.
>>105632455>at the wallI see what you did thar
>>105632298Entirely normal me thinks
Even modern ATX PSUs are fucking shite at low loads and you're talking a PSU that was probably 75% efficient best case assuming it was properly loaded.
I'm actually surprised it didn't immediately shut off as some old PSUs require a certain percentage load to even be stable.
>>105631262Thanks man, I was worried because the description made it sound like tor related process which isn't what I want.
>>105631351nta, but for home server usage, it add too much overhead, and prevent access to certain hardware if you do passthrough.
Though bloated is big word here.
I'd say over complicate simple process would be better.
I mean it's hypervisor OS for enterprise settings not home server.
>>105632698>it add too much overheadSuch as?
>prevent access to certain hardware if you do passthroughSuch as?
>I'd say over complicate simple process would be better.In what manner?
>I mean it's hypervisor OS for enterprise settings not home server.What hypervisor would you recommend for home server?
>>105632698>prevent access to certain hardware if you do passthroughYou mean me allocating a GPU to a VM means I won't be able to simultaneously use it somewhere else? wooooww, didn't know proxmox was this "overcomplicated"
>>105632513data only goes through the switch
>>105632867>What hypervisor would you recommend for home server?proxmox
>>105632867>reddit spacing
how do I make frigate (my cctv docker container) to be hidden in a custom internal docker network, and I access it using ngnix proxy manager (which is on internal docker and lan network), but problem is frigate docker container needs access to the LAN devices to access the CCTV feeds but I don't want IT to be accessable by the lan devices, only through the ngnix proxy manager
does proxmox have in browser display server support? e.g. can i get a DE from my browser?
>>105633071proper application of firewall rules
I want a USB DAS for 5 bays with RAID5.
I plan to plug it in to a PC to back up files from the NAS (access NAS via PC, write from PC to DAS) in addition to other backups, this would be to repurpose older smaller drives that are not worth drive bays in my NAS itself.
Does anyone review these or is there some kind of list that explains how they work exactly? None of the manufacturers really explain anything.
I'm talking about specifics like....
Sleep timer exists Y/N? If so, what is it? Can it be adjusted? Can it be disabled easily without weird software?
On power loss and restore does a button need to be pressed to bring it back on?
Power brick or built in PSU?
If USB is removed from the host, will the drives power down? (I plan to turn it on/off via a USB hub with switches)
Proprietary or easily replaceable fan?
Because this is for backups I don't really care about throughput too much in MB/s but instead if it becomes a usability headache I'd rather just buy new big externals and retire my sets of smaller disks. If I can find something that works how I want it to, that would be great though.
My ideal would be
No sleep timer.
PSU switch on back for on/off. Not a button.
Built in PSU, no power brick.
Unit powers down when USB disconnects.
Easy to replace fan.
>>105633050>No meaningful answerNigger.
>>105633424>reddit tier slur
file
md5: b6c2b2c1d53587a427b1da955610a260
๐
I urge you to have some mercy on your server. Looks like my API rape has created some negative pages on my local booru. It also looks like adding new posts resets this situation but i now get why there are rate limits.
>>105621918 (OP)What's the current meta for 10 gig SFP nics ? My ghetto NAS's realkek 2.5gig NIC has become horrendously unreliable and will drop link speed for no reason no matter the cable.
What's a decent pick that's cheap and still relatively power efficient ?
>>105633776power efficent will be modern ones unfortunatly
intel x710-DA is a good choice if its compatible drivers work with the OS you're using it on
>>105633742>It also looks like adding new posts resets this situationNever mind. Is permanent lol
>>105633963saaaaaaaaaaaaaaaaaaar
>>105634412pls understand sir, you are of low caste and work at tim tims sir. you clean the needful from the place of designation sir.
>>105633742>local BooruOh shit, why didn't I think of that?
That's going on the ever-expanding todo list
>>105634432Do not use one of those small immature boorus. I did and i regret it. In my case i used szubooru and it began to have unacceptable slowdowns after 40GB of data. Something about the database is just terrible. Reading data was very slow too.
Im using danbooro right now and while its also not perfect, you cannot disable the auto tagger and going too fast on the API seems to make empty pages(seems like its 1520 ghost posts), its very fast still. I have imported 140gb and its still as fast as when it was fresh.
Its also a very fun programming project. I have to write a lot of tools that don't exist for danbooru and im all for it.
>>105633776I bought multiple Mellanox ConnectX-3 and so far worked perfectly with Windows, Linux Mint, Unraid and Proxmox. I am using DAC-cables, whole system with Intel N100, single stick of RAM, 4 Sata SSDs draws about 13 watts idle. A few watts more when the NIC is under load but still very efficient
>>105634501>>105633851Thank you anons. What would explain the massive price difference between the two ? leaning towards the cheaper stuff considering this is a ghetto build.
Any recommendations for decent fiber modules to go with those ?
>>105634427>won't post hand>calls others pajeetsPeak nigger behaviour.
>>105634523No idea about the price difference, I bought refurbed and went for Mellanox because they were cheaper and good enough for my use case. Might be different if you are running VMware or other pro stuff which only has a smaller compability range regarding NICs.
They should have pretty broad compability regarding SFPs, I would just google some options once you have decided on the NIC. If the cabling is not longer then 3m you should consider a DAC cable as well, since it needs less power compared to fiber modules
>>105634542post penene saaaaaaar
>>105634480Looks like you CAN disable the tagger in but the docs dont say how
Anyone have ideas how to make your server control speakers volume and what's being played on it?
>have OSMC in a RPi4 connected to TV for movies, music, whatever, streaming from my server
>everytime I turn it on it starts checking for my library
>can't seem to change password
>ssh into it
>can't even ls
The SD card is corrupted, isn't it?
>>105627320I did Mr. Negative Nelly. Thank you for sharing anon!! I cannot afford storage so I use a bunch of discarded laptops stacked on top of each other running a samba LXC containers! Electricity is basically free but any new tech imports in my country cost about 3 weeks of salary :<<<
>>105634682saar post penene and butene saar
>>105634594Ok i can only recommend danbooru now. I went against my morals and used AI to figure this out but make this file and write this in there and the AI tagger will be disabled. To remove it completely you need to remove it from docker-compose.yaml
# config/initializers/disable_autotagger.rb
module Danbooru
class Tag
def self.autotag(*args)
# Override the autotag method to do nothing
end
end
end
>>105634755sir pls understand friend, i must see penene.
What's the point of busybox container?
thoughts on my completed docker containers
>>105634978To build on top of
>>105634999bad ip schema and networking
>>105632455how stable is that vertical server situation? because that honestly looms like a really sleek way to do things
>>105633742>>105634480what happened to using hydrus? i remember that being shilled on here a lot
>>105635490>how stable is that vertical server situation?works very well, no problems with it.
You just have to put it on some wood slats to elevate it slightly to level, and to not scratch the floor.
Also you have to tuck it between something like i did, 1U on it's own it could easily fall on it's side if you nudged it.
>because that honestly looms like a really sleek way to do thingsthanks, i don't have much space, and this is the best i came up with. Normally using rack server chassis means more space is needed, but in my case in vertical position it actually takes much less usable space than any tower build would.
Rack servers being generally very cheap while having all the nice enterprise features is a cherry on top.
>>105635452meaning? it works fine, they're all dynamic ip's except the adguard and ngnix
>>105635695Anon have you got your MD1200 set up so that the fans are nice and quiet?
>>105635820yeah, i've soldered a DE-9 to DIN-6 cable to control the fans over serial port.
I only fill it with up to 5 disks, so it's ok, but i'd imagine if you filled all 12 slots you'd have to raise the fan level adequately to cool them.
The only fans MD1200 has are the ones in two PSUs in the back. For noise level and cooling a JBOD with a row of fans just behind the backplane would probably be a better idea, i saw some Supermicro model posted here with such fan configuration.
But for now i only use MD1200 for offline backups once a month. I'll need to expand soon though, then i'll run it 24/7.
im pretty new to this selfhosting stuff.
i set up some docker containers on my tiny ass server.
the server is literally jsut dockerserver.local.
how do i make it so i can have each docker container be something like jellyfin.local?
i understand there is some way to do it so its jellyfin.dockerserver.local.
but how would i go about making it not be a subdomain?
>>105635866How are you sending your commands over serial? Through something like crontab or a service? I'm currently doing mine through cron but it can be a bit finicky sometimes so if you have a different method I am all ears.
I'm currently running mine with 12 disks and its fine temperature wise with running the fans at 20%. Are you running yours with one control module or two?
A guy on serve the home did a test for power consumption with various controllers / psu / fan speeds
2 psus, 1 psu powered, 1 contr, stock = ~34w
2 psus, 1 psu powered, 2 contr, stock = ~43w
2 psus, 2 psu powered, 1 contr, stock = ~49w
2 psus, 2 psu powered, 2 contr, stock = ~57w
2 psus, 1 psu powered, 1 contr, 20% = ~26w
2 psus, 1 psu powered, 2 contr, 20% = ~35w
2 psus, 2 psu powered, 1 contr, 20% = ~37w
2 psus, 2 psu powered, 2 contr, 20% = ~50w
2 psus, 1 psu powered, 1 contr 25% = ~27w
2 psus, 1 psu powered, 2 contr 25% = ~36w
2 psus, 2 psu powered, 1 contr 25% = ~39w
2 psus, 2 psu powered, 2 contr 25% = ~51w
>>105635941for now i just call a script once after powering on the JBOD. The setting sticks most of the time, but i recall sometimes it resetting and having to run the script again, not sure what causes that.
>I'm currently running mine with 12 disks and its fine temperature wise with running the fans at 20%.nice, that's good to hear!
>Are you running yours with one control module or two? just one, i've gutted the second one to save power, as you're already mentioned. Sadly you can't really gut the second PSU completely, the power consumption could go even lower, but the JBOD would panic by overriding the fan speed to 100% every few seconds, and you loose half the cooling. Having both inserted and only one plugged to power should be fine though.
I'm trying to run this software when I turn on my server, but I can't figure out how to launch it once booted. To open the software you have to run a .jar file. Is there a way to automate this?
>>105636518systemd service file with a target of multi-user
First homeservernon here. If I want a declarative/code based infrastructure I have to use nix? Or can you use terraform? Ansible is the only one I used before and I hate it
I'd like also to have a GUI where I can create users and limit their access to folders and services. Even better if I can do things like read-only
Security is crucial for me, I see most people use docker but the lack of isolation worries me. Hardware is going to be a T480s so I dunno if it can handle many VMs
>>105636715the bait is my cock when your mom is in heat.
>>105635925If you use bridged networking and host a dns resolver/server then you can give them whatever up you want and name them whatever you want.
>>105623459I have the mimugmail adguard plugin directly on the opnsense box. Works flawlessly. No unbound or nothing else.
Google the mimugmail plugin on opnsense forum.
As for better, I dont know what that means.
I use Hagezi++pro blocklist + a huge porn blocklist.
These are my upstream dns servers:
https://dns.digitale-gesellschaft.ch/dns-query
https://dns10.quad9.net/dns-query
Cant remember the last time I saw an ad on my home network.
This might be a weird question, but does anyone use their server as a programming machine as well? My college had an Ubuntu server that we could do some programming on via either using editors like nano or vim, or using VS Code and connecting it to the server. Though most of the time it was more of just a dropbox.
Anyway I want to start dipping my toes into running a server, but I also need a device I can code and compile on. I don't really mind using the methods I did while in college.
Before anyone asks why I don't use the PC I'm currently using, it's because this is for entertainment and I like to keep things separated. And I have the spare PC anyway.
>>105637380Yes, I have an ubuntu machine I ssh in and do all my programming/ml research on. When I'm away from home I just VPN into my network then ssh connect to it.
>>105637454Do you also use it for multi media or anything else?
>been wanting to build a NAS for a while but Australia is a bit of a shithole when it comes to sourcing parts; eg. we don't have a local distributor for Supermicro interested in selling to consumers/end-users and the one company that does so for ASRock Rack has zero stock available and appears to have no plans to obtain more
>Ended up scouring eBay and Gumtree etc. for months without success, before giving up and importing an ASRock Rack C246 mobo from Japan at a cost of ~400 AUD; a few mATX options had cropped up in that time but because the NAS needs to be SFF and there was just nothing else I'd seen in an ITX size to that point (at least for less than a grand, or hardware from this century) I figured fuck it, and hit 'But It Now'
>Meanwhile, high capacity HDDs have largely failed to scale up in size while remaining still so fucking expensive that I had to put a hold on assembling the NAS anyway, and so that mobo plus all the other parts I've accrued now have been sitting in a drawer for over a year
Anyway, today I randomly stumbled upon a refurbished Supermicro 5019A-FTN4 unit for $200, which is more or less the exact mobo I was hunting for (except it comes with a free 1U chassis, PSU, some RAM, an SSD, etc.) and although I don't even need it anymore I bought it already because I'm a damn moron. /blog
>>105637526I have a separate box for my truenas/arr stack/plex. The utilization of my compute machine can be pretty high for long periods of time while I run experiments, so I'll always have that as a separate box
>>105637569Doesn't sound surprising. I was actually trying to ask that originally and somehow forgot to put that part in there.
>>105637380What you're describing is by far the most popular way people code on. Unless what you're doing compiles instantly and is intended to only run in the environment you made it on.
>>105637547Yeah you are a moron. Just buy HDDs and use them until you fill them up, then replace them. There is no "but I want-". Only buy after you need.
>>105634656A telltale sign is "cannot find lib x.so" randomly when trying to do anything on the terminal
>>105637547what an idiot lmao
>>105622329get a pcie wifi card they only need like one lane for full speed, ax210 is ol reliable
also you'd probably be better off just gayming on ur main pc and leaving the thinkcenter headless, i5-6500t wasn't the best gaming chip even when it was new
>>105627606almost all the music on nicotine+ (soulseek) is pirated. also when a user requests a song from you they just get the file, they don't get your linux user:group metadata.
>>105634619pactl and ffplay
>>105638793>pcie wifi card they only need like one lane for full speed, ax210 is ol reliableI tried salvaging one from some old laptop, but it didn't fit.
And the thinkcenter didn't have any antenna wires.
And I don't think it's USB2 that's the limiting, just shitty wifi in general
>gayming on ur main pc;_;
I don't have gaming PC, I use T60 as main PC.
The thinkcenter is the strongest hardware I have.
>>105637380yeah i use vscode with remote-ssh to run projects on my server, bc the server has 128gb ram and twice as many cores/threads as my gaming pc
>>105637547sell the asrock and spend the money on some drives
Is plex good for hosting audiobooks or is there something better?
What are you running on your home server?
>NAS
>HA
>VPN
>Jellyfin
>Pi-Hole
Anything else? worth getting it on?
>>105639133Things you could set up
>*arr suite>transcoding of your media >a homepage linking to all your stuff>your own firewall>your own metasearch engine like SearXNG>your own local language translator like Libretranslator>DNS, DHCP etc>remote desktop gateway i.e Apache Guacamole>your own seedbox>dedicated game server>automated backups>home automation via something like homeassistant>home security with an NVR like FrigateThere are loads of things you could do if they're worth it to you.
>>105639133Plex, qBittorrent, Homebridge, Suwayomi, Kavita, Actual, FreshRSS, Grafana, Immich, Flexget, and various self-made utilities.
What's a good image gallery software I can host for public web viewing? I'm an HDR artist, and while I can upload SDR versions of my stuff just about anywhere, I want a place to host the unmolested HDR versions of my files. The files in question are "Ultra HDR" JPEGs (ISO 21496 gain-mapped JPG).
I've considered the various booru software, and I know that some of them do "support" these HDR JPEG files (or at the very least don't strip the necessary metadata). And if they can be interfaced with by viewer apps like Gallery or Anime Boxes, that's a plus. But they all seem to be somewhat clunky for the end user to browse, and apparently they're all a fucking nightmare and a half to set up.
There may be less anime-focused programs that still have tagging. I want to make sure, if they can't interface with Anime Boxes or Grabber, that they have a good web UI.
>>105635490>what happened to using hydrus?Its more of an desktop program than a server one. There are frontends for it but hybooru at least needs hydrus to be disabled to update its own DB or something. Plus its janky as fuck so even if you need to write your own scripts do to things via the API it still feels less like its going to fall apart at some random time. Also you can scrape faster with alternative means. Mainly being gallery-dl with a script to upload tags and stuff via your boorus API. Very fun project that is.
Also nevermind what i said about the autotagger. Disabling it is a whole ordeal and it looks like right now its a required component. With the config/initializers/disable_autotagger.rb file i managed to disable it but i could only upload via the site and not via API. However my monkeypatching knows no limits so we'll see who gives up first.
>>105635490>what happened to using hydrus?Its more of an desktop program than a server one. There are frontends for it but hybooru at least needs hydrus to be disabled to update its own DB or something. Plus its janky as fuck so even if you need to write your own scripts do to things via the API it still feels less like its going to fall apart at some random time. Also you can scrape faster with alternative means. Mainly being gallery-dl with a script to upload tags and stuff via your boorus API. Very fun project that is.
Also nevermind what i said about the autotagger. Disabling it is a whole ordeal and it looks like right now its a required component. With the
config/initializers/disable_
autotagger.rb
file i managed to disable it but i could only upload via the site and not via API. However my monkeypatching knows no limits so we'll see who gives up first.
>>105635490>what happened to using hydrus?Its more of an desktop program than a server one. There are frontends for it but hybooru at least needs hydrus to be disabled to update its own DB or something. Plus its janky as fuck so even if you need to write your own scripts do to things via the API it still feels less like its going to fall apart at some random time. Also you can scrape faster with alternative means. Mainly being gallery-dl with a script to upload tags and stuff via your boorus API. Very fun project that is.
Also nevermind what i said about the autotagger. Disabling it is a whole ordeal and it looks like right now its a required component. With the
config/initializers/disable_autotagger.rb
file i managed to disable it but i could only upload via the site and not via API. However my monkeypatching knows no limits so we'll see who gives up first.
For TrueNAS I want the following
>Encrypted datasets (private / admin / personal)
>Encrypted datasets (family / shared) where I give passphrase to family/etc
If the server goes offline and needs to reboot, I'd like family/friends to be able to access it somehow and unlock the the shared datasets. Is there a way to do this without giving them admin privileges? For example I wouldn't want them to mess with configs/ACLs/logins/etc, literally just be able to unlock datasets I give a passphrase for. I know they can otherwise reinstall the OS and get admin access that way but that's not what I'm worried about I just want some way to be able to call a relative up and walk them through unlocking the dataset they use without me having to go do it myself.
If I can't do this I might just buy a Synology or whatever for the shared home stuff.
>>105639517>if you need to write your own scripts do to things via the APIfor other boorus i mean
>>105639854ZFS has built-in permissions mechanism.
For example, you can create a "family" UNIX user, and give it "load-key" and "mount" permission to "/nas/family" dataset. Read through `man zfs-allow`.
I haven't tested it, but i wonder if you can then login as this "family" user through web interface and mount the dataset in GUI instead of CLI commands.
How do I check the health of the refurbished HDDs I got off Amazon (probably not actually refurbished)
>>105640325Use S.M.A.R.T
https://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology
>>105640343isn't SMART data usually wiped before selling though?
>>105640325Run them for a few weeks, ideally stress test them with heavy read/write cycles. See if any of them fail or show signs of failure before you use them for any real data. And obvious check SMART, some vendors wipe it some don't.
>>105640398You're never really ever going to know the health of a HDD even new ones. It could have been dropped for all you know. Pick an appropriate redundancy level for your data and disk and back it up if its important.
To my knowledge only OEM can wipe SMART (I think this arcane knowledge is beyond untrustworthy chinamen)
>>105640418I suppose he could use dban to write a full disk a few times. You would probably pick up any errors that way.
>>105640626If the drives are already about to die yeah hitting them with dban or something similar would probably push them over the edge. At the very least you'll see uncorrectable sectors or something similar pop up and could just RMA them. I haven't bought used HDDs in years but that was the way I used to do it.
>>105640398yeah, refurbs typically have SMART data wiped. What you want to do is run a long SMART test, or `badblocks -s -w -b 4096 /dev/sdX` if you've schizo like me and don't trust the firmware (SMART test is done entirely on-device).
Test failure is enough reason for return/replacement.
Question anons,
I got a bunch of old CPUs and mobos from a junkyard (pentinum g2020, athlon fx8350, i5 4670k etc.), 13 all in all
I'm thinking of building a cluster to run ATPs but I have no idea how to set it up and if it would be worth it based on the power cost.
I wanna do it so I don't have to rely on my uni's cluster scheduling restrictions.
Any advice, tips or links?
>>105639256>*arr suiteWhat does this do differently than qbittorrent with rss feed?
>transcoding of your mediaLike jellyfin? I have it installed, but I just use a function that use ffmpeg to transcode and broadcast it locally over TCP.
>dedicated game serverLike nvidia?
>>105640776Hope they're not very large HDDs. badblocks takes like a month to do three passes against a 16 TB drive.
>>105640818what is an atp
>would be worth it based on the power cost>fx 8350lmao
>>105640832it's just 2x 2TB HDDs. no worries.
>>105640895Automated theorem prover
Also idk about the power efficency, that's why I'm asking
My power costs 0,032703 euro/kWh + 1,724 euro (monthly fixed)
My primary concern is if these various processors can be networked
>>105640928And I'd probably be running it 24/7 if possible
If I open a 4096x4096 .bmp image on SMB in truenas and change a pixel and re-save it as a new file, like 4k4k 001.bmp original, then 4k4k 002.bmp for the new one, and it differs because the pixel has changed, does ZFS compression work with context from the original file making it only take up a trivial amount of new space, or do I need to enable actual deduplication for that? Would deduplication even reduce filesize of the new file?
>>105640818Power consumption is irrelevant if it gets you started, and you already own the hardware, the primary consideration here is not power consumption (not directly) but rather cooling. Running multiple systems will output more heat and that is not exactly welcome in late June for many people.
If cooling isn't a problem and you're not footing the bill for AC (or people you care about, if the school pays it then fuck them though since you're paying to be there, mooch what you can) then it can be worth experimenting with but if you want to run something seriously you would want to invest in micro PCs instead. Just an average motherboard will consume a few watts doing nothing and that's the kind of stuff you cut down on with more efficient systems. Not necessarily modern systems, but ones purposefully built to be low consumption. The likelihood of any of your dumpster picks being efficient hardware are low.
>>105640976Micro pcs? Whitch would you reccomend?
Also I'm not from freedom land, you can see I did power accounting in euros.
>>105640928>My power costs 0,032703 euro/kWhfucking nordics
mine is 10x that
anyway i dont know specifics but yes they can all be clustered together
you'll want (at least) one node dedicated to managing the cluster, and shared storage (nfs)
look into slurm, i was going to play with that on my shitbox distcc cluster but never got around to it
>>105641038Interesting, will take a look, thank you
And btw it's Croatia
>>105641008Don't have any recommendations but this is the sort of thing you'd be looking for.
https://www.reddit.com/r/homelab/comments/19f8hz7/first_proxmox_ha_cluster
These computers are popular with places like hospitals and other buildings where lots of individual computer stations are needed but space is at a premium. You can find them used/refurbished online or go buy something like a NUC brand new.
>>105641038I live in the Nordics and mine isn't that cheap.
Although I have a variable plan so my price changes from month to month.
Just RDP into your laptop connected to your TV my dudes
>>105640398SMART DATA can be wiped?
How bad is this?
https://pastebin.com/9nQrkvZ7
Is it just bad sectors? I'm not hearing any clicks, and speed look fine and access data as well.
I recall some issues with the OS it was installed on it (Vista? I think). it was formatted as NTFS
So I deleted the partition table & formatted it as ext4.
Should I be worried? or its just errors from aborted tasks, such as attempt at wiping the drive or running check disk, etc?
>>105641992>pending and reallocated sectors is non-zeroReturn that shit.
>>105641589I use RDP on my VMs
I feel like HDD prices have been ass for a while now.
I genuinely can't open this nigger
https://youtu.be/u1M4UVLWaN4?si=l0N7fEGR27SpV0EI
>>105642057The world is in a weird spot right now where literally every business has collectively decided to quit giving a fuck about what it costs them and just look for ways to jack up prices.
Ever since orange man came in the excuse has been tariffs, no matter if a red cent hasn't been paid or inventory was already in the country.
Some used HDDs have gone up in price like 50-75% for quite literally no reason.
>>105642256I sell robots and automation to customers here in the USA.
Per my clients the biggest price increases for supplies have ALL come from domestic supply chains. ALL.
Zero from China, Japan, Korea. Lol.
America is the Jews we made along the way.
>>105642603If a $80 Chinese part becomes $180 part because of Tariffs, you can raise the prices of your domestic parts if they're lower than $180. It's just basic economics.
>>105622329Switch over to gig ethernet and SSD. It will cost you a pretty penny but will solve your problem.
>>105642660That's called not actually being interested in business.
You don't actually want to make things so you'd rather sit on your ass in inventory waiting for the "right" customer.
This type of shit is why I really hate western economies nowadays. Everyone wants their bag for the least effort. Meanwhile Chang will do backflips to sell you something.
>>105642801Businesses exist to make money.
If all of your competitors jack up their prices, you can jack up your prices too.
>>105642703I'm not complaining.
If anything it's satire how people here keep shilling enterprise hardware, when cheapest options can do the same while keeping the small form factor.
>>105642815They can also make money by selling more.
>>105642845As if there's some kind of a magical market that exists by keeping price stability.
If you make a part that is needed, you can raise prices while undercutting tariffed products that get stuck in customs and still make a killing.
>>105641992>SMART DATA can be wiped?Yes, but not by just any random asshole.
>How bad is this?33 rellocated and 27 pending means it has unresolved issues.
Zero fill it and then do a read test. Pending sectors should clear and either go away or become reallocated ones.
>>105642879>Zero fill it and then do a read test. Pending sectors should clear and either go away or become reallocated ones.Shouldn't formatting it solve it? or am I missing something here?
Nothing on it is of value, I just have it mounted as /mnt/hdd and set it up as NFS share.
Do I need to run anything first like fsck or something? maybe badblocks?
How would zero filling it help?
Since I'm looking at 5 hours or something.
Thanks for replying btw.
>Yes, but not by just any random asshole.You need special hardware?
>>105642954Zero filling will force the drive to write to all sectors. When it comes across a sector it can't write and verify it will replace it.
Not zero filling it will mean the drive will eventually come across the problem sectors in the future during actual usage and drives can become unresponsive when dealing with them. It's better to deal with them now rather than later.
file
md5: 2836927c97c583c6e783a64f8cb595dc
๐
Changing the options like below kills the autotagger. Despite there being multiple "official" ways to disable it, the only way to do so is going against the devs and changing this option.
What the fuck are the devs smoking? Anyways finally done and my last post on this shit issue.
>>105643086So this process is manged in the firmware level of the HDD?
Do I just dd if=/dev/zero of=/dev/sda
I will probably need to stop the NFS server and unmount the drive before doing this, right?
After doing it, do I need to run something else like badblocks?
>>105643126>So this process is manged in the firmware level of the HDD?Yes, entirely.
Drives do most things internally these days.
>I will probably need to stop the NFS server and unmount the drive before doing this, right?Probably, do whatever you'd do before unplugging it.
>After doing it, do I need to run something else like badblocks?It wouldn't hurt but could be a waste of time.
>docker service was spamming 6 gorillion logs per second because of typo in timezone in docker compose, updating compose didn't update already created file
remember to docker logs your shit guys
oidc
md5: 0cae8ba774175588ef7b0667eaf8da79
๐
kinda surprised by gemini tb.h
asked it whether I should store user data/handle auth for a social network purely from a db or by using a OIDC service like zitadel and it said use the service.
maybe this shit isn't retarded after all
>>105643172>Drives do most things internally these days.Even old drives?
I think this one is from 2012.
>It wouldn't hurt but could be a waste of time.why is it a waste of time?
>>105643438>Even old drives?No, old drives were different.
>2012This is modern technology.
>why is it a waste of time?I said it could be. Not that it is.
You have backups of the data and are just hosting replaceable media on it, a quick zero fill should suffice and if no issues pop up scanning after zero filling may not be worth the extra time.
If you don't care about the extra time, it's worth doing a read test after the zero fill and checking SMART again to see how values (if any) changed as a result.
>>105643492>This is modern technology.Ah, I thought 2012 is too old for this.
And what if nothing changed?
>>105643347yeah you should spend a lot of extra time setting up an auth service rather than just making usernames and accounts for each service yourself. you should ask it if you're too lazy to actually set it up and keep it maintained.
>>105643650i am too lazy, that's why i asked it to make the decision for me.
honestly a managed service is not the dumbest thing when i think about it. it's not just usernames and passwords, it's integrating that shit into an auth system that does a ton of shit out of the box and is maintained by security people.
i always hear about not doing auth whenever possible, well this is how i avoid doing auth.
>>105621918 (OP)My home server is Windows and support ends in 4 months...
>>105643719time to migrate then
>>105643719extra stability!
adguard is cool, not nessessary for me but having just fun
is there a way to have docker compose create volumes in /var/lib/docker/volumes like with normal docker rather than creating them where the compose file is without having to change the volume paths to absolute paths?
>>105640820>What does this do differently than qbittorrent with rss feed?Manages your media.
>Like jellyfin? I have it installed, but I just use a function that use ffmpeg to transcode and broadcast it locally over TCP.No, like trancoding it to remove languages, subtitles, changing it from x264 to x265 etc.
>Like nvidia?Lol no. Like hosting a dedicated game server that you and your friends can play on.
>>105642879>Zero fill it and then do a read testnta anon.
But isn't this what badblocks do?
>>105621918 (OP)>Single Board, as small as possible>ECC RAM>Single 10G Ethernet (Copper, not SFP)>Additional 1G Ethernet (Copper, not SFP)>2 Drive connectors, be it SATA or NVMeDoes something like that exist?
>>105644484Badblocks does a few things one of them is a multi-pattern write+read test if you want, bur you can do the single pass zero fill and read back in Badblocks if you want.
>>105644578Ah got you, I think you can specify how many times and what badblocks can use to write.
I used it once long time ago and it crashed my server, which revealed I had faulty CPU and not shitty hdd.
Would you suggest using something like e2fsck instead though?
You can use it to blacklist those dead sectors.
Hello, how much would an SSD or HDD 1 PB server cost (in estimate)?
>>105644825Bad sectors get replaced by the drive firmware.
When your host (regardless of OS) wants to access a previously bad sector like sector 17361 or whatever, that sector from the host's point of view is actually already fixed. It is still sector 17361 but the drive avoids the old location and uses a good one from its reserve zone and this is invisible to the host PC.
Blacklisting bad sectors is something you would only need to do on OLD drives, not new ones. As far as I know anything made in the last 20 years (yes, ~2005 and even before) doesn't ever require such things.
If you know you had a head crash and have a "bald spot" with tons of bad sectors, and notice the rest of the drive works fine, you might partition around large areas to still use what's good but that's not really viable. If a drive is at that point, it's probably junk. Not that it "can't" work if babied, but it won't be worth the effort.
>>105644945Considering 24TB spinners go for around $500, you are looking at a minimum of $25,000 if you buy new and have some spares on hand. Maybe 18K if you're buying refurbished.
SSD would be much more.
>>105644945>>1056449701PB Raid 0 Irrecoverable Data Loss Speedrun any%
>>105644970>Blacklisting bad sectors is something you would only need to do on OLD drives, not new ones. As far as I know anything made in the last 20 years (yes, ~2005 and even before) doesn't ever require such things.Nice to know that.
I always learn something from this thread.
Like how routers actually have unmanged switches, so even if it brick, the switch part can still work.
I'll dd out and see how it work.
Honestly I don't think it would make much of difference performance wise.
And all these errors are probably from aborted scans and attempted system checks that was canceled.
And most are just old-age thing, I mean this barely have a year of power-on time.
>>105644394So you want it to point to /var/lib/docker/volumes but don't want to point it to /var/lib/docker/volumes?
Local searx has been timing out a lot recently. Even when I switch the search engines it pulls from. I'm the only one who uses my instance and don't even make that many searches. Is it over? Have the search engines got extra stringy about using their api?
>want to upgrade server
>don't have to upgrade server
what to do, /homo server general/?
>>105645149Searxng just werks for me.
>>105644970Would the long term costs be better or worse with SDD instead of HDD's if the use case is a small number of rewrites but a large number of reads?
>>105645157Upgrade it anyway
>>105645171What search engines do you use? And yeah I'm using searxng. I tihnk something might be messed up. Before when a search engine refused it would still respond with the others. But now it seems like as soon as one rejects I get a time out for all search engines.
is this normal or dangrous to have this many unsolicited connections to my opnsense?
I set my opnsense as the DMZ from my isp router
>>105645270Brave, duckduckgo, google, qwant.
Apparently my google and qwant are refusing requests tho, so its just been brave and duckduckgo accepting.
Not sure if this is the best place to ask, but here goes:
Recommend me good OpenWRT-native routers with at least Wifi 6.
>>105640464>I think this arcane knowledge is beyond untrustworthy chinamenlol no
>1300 pending sectors
>3000 uncorrectable
Yet btrfs scrub says everything is fine.
0 reallocated sectors too.
>>105645391Anything with a mt7981
Should be $50 or less
>>105645630whcih filestem to use? btrfs or ext4?
to nitagte bad sectors
>>105645689WD Purple, SATA
>>105645149>>105645300I think it's because I switched to caddy and internal tls by default (which was a mistake but a few services depend on it) and was still accessing it through http. For whatever reason that seems to have matter but only like a quarter of the time
I installed Ubuntu server. Now what?
>>105645645What about the GL.iNet Flint 2?
>>105646265Sure that works.
>>105645959I don't wanna.
>>105645291your destination shouldn't be RFC space, it should be your WAN IP, so you did something fucked up. if you were seeing your WAN IP then yeah that kind of denial volume is normal even still.
>>105645793>ssh/sftp (terminal or gigolo gui from client ubuntu system)>zsh w/ auto-completion>zfs if you have the hardware/desire>nfs with autofs for linux machines>smbd for windows machines>rsync + chronjobs for backups >tailscale (self sign machines/users/modify access list/2fa your tailnet)>deluge + deluged + deluge_web>plex>audiobookshelf>navidrome>nextcloudIn that order. Go nuts.
>>105646580>zsh w/ auto-completionCan't state how nice this is.
>nfs with autofs for linux machinesWhy autofs? and what does it do?
>smbd for windows machinesIt's annoying how windows SMB/CIFS have a nice authentication and discovery but shit speed compared to linux NFS faster speed but shitty authentication, AKA non existing.
>deluge + deluged + deluge_webI use qbittorrent but both are solid options.
>plexJellyfin
>>105646818autofs deals with managing mounting/unmounting the nfs shares if you're using it or not, which helps deal with some hanging issues. Learn linux yt channel covers it more verbosely.
>>105646818https://www.youtube.com/watch?v=Na_jKeVWzrc
What are the consequences of not using LVM?
>>105647328I mean if the most complicated thing you want to do is play with logical volumes, there are other tools that can do cooler things, like zfs.
>>105646839>>105646857I still don't see how autofs is useful.
>>105647328if you have to ask then there are no consequences
>>105638834Is there a way to access, upload or download stuff from nicotine remotely if I wanted to host media from my headless server? I can map the share via nfs with my client but I turn that off at night.
>want to have linux server
>want to have a network storage that I can connect to via Windows
>want to be able to install Windows software and run the software on said server from client pc
Is this possible? If so what do I need to do? I've had a job where there were network storage but I don't think any software was ever installed on it for the users and it was just for files.
>>105647971Just run a windows vm on the server?
>>105648004I guess I could do that. Now to look up how to install VMs on a server.
>>105645959>forgot I've been meaning to go to libgen to look for a book until I see this post>can't connect>apparently it's been down for daysWas this suppose to be a cheeky comment?
>>105645157Build two more identical servers so you can have an HA cluster.
I'm retarded. I got a Dynu hostname and a SSL cert from one of those free 90 day sites. How do I now connect the hostname to my home Emby instance?
>>105648234point domain at home ip (use ddns client)
install caddy and setup reverse proxy to emby. caddy handles ssl cert renewal for you automatically.
forward port 80/443 to whatever local ip caddy is running on in your router
assuming you're not behind cgnat, that complicates things
>>105648004Is this niche or am I googling wrong? When I look into it I get either tutorials for installing it while using a DE or running Ubuntu Server via a VM.
>>105648098Don't you need 15 for good protection?
With three, if one fails, you can't have a majority anymore.
>mindfactory (biggest german hardware retailer) always shipped within 24h
>they add an option to pay 6โฌ to send packages out on the same day (not express delivery, just handing it over to a shipping company)
>not picking this new "option" now leads to 3 day old orders still not being processed
i hate late stage capitalism. I need the cables for my HBA ffs
>>105649456In germany?
Got few question if you don't mind.
>>105649497sure, no idea if i can answer most of them though, since i am just starting out with home servers.
>>105649507I know this is well out of the scope of this thread, but I tried other boards and didn't get anything.
I'll be traveling to dortmund, and staying there for 3 months or so.
What's the best way to get internet? (I don't want to be stuck to whatever my accommodation provides)
I assume torrenting is illegal?
>>105649538if you want good, reliable internet, your best bet is probably DSL with a contract that you can end per month. I know the Telekom provides that. I don't know if DOKOM21 (apparently a big provider in Dortmund) does.
You will probably have to order that in advance though, so it's ready on time.
the only alternative would be 5G i think. but you are gonna have a data volume of like 300GB a month there and like 50Mbit. the Congstar Homespot is one i know of but haven't used.
>I assume torrenting is illegal?yes, use a VPN
why the fuck kubernetes so fucing difficult
>>105649698it's the SAP business model.
make the software incredibly complicated, unintuitive and generally shit to use. then have people pay you for training, certification, tech support and consulting.
>>105649538>I assume torrenting is illegal?Torrenting is perfectly safe and legal.
Big gaming studios use torrents in game launchers to distribute downloads among users to save bandwidth (making other players help seed content) and lots of software offers optional torrent downloads to lighten the load on direct download servers. For example if you go to download Ubuntu, you'll probably see offers to download via torrents. Many of them are officially seeded by universities.
What might be illegal are torrents of other material, like some shitty Hollywood slop, but you're better off just not even watching that junk. If you do, that's a (You) problem, not a torrenting one. That would be equivalent to speeding in your car then blaming the pavement for your speeding ticket.
BUT OFFICER, THE PAVEMENT MADE ME DO IT! ALL I DID WAS ROTATE MY TIRES! I SWEAR IF I WERE ON SAND OR IN MUD I WOULDN'T HAVE BEEN GOING SO FAST BUT THE PAVEMENT, DUDE, IT MADE ME GO SO FAST. THIS ROAD SHOULD BE ILLEGAL!
>>105649676>DSL with a contractI don't think I can get this.
Since I'm a foreigner.
>5G i think. but you are gonna have a data volume of like 300GB a month there and like 50MbitBoth seems fine to me really.
Is it just sim card and i plug in to router?
Because I'm looking for a disposable option, and I think my phone support USB tether so there's that.
>>105649745I watch only BDSM porno
>>105649782>Is it just sim card and i plug in to router?yeah, it should be plug&play. you can also use one of those small MiFi devices like picrel.
if you're inside the EU, you can just get a SIM card from your country and use it, since roaming is free within the EU. if you're from outside, you're gonna have to get a new one. you'll probably either want to order one in advance or grab one from the airport i think. germany has introduced a police state law a few years back, that buying a SIM card now requires an ID and i don't know if they accept foreign ones.
>>105649698It has a high learning curve but it's actually not that difficult once you get over it. A lot of it is quite simple in fact.
>>105649923>germany has introduced a police state law a few years back, that buying a SIM card now requires an ID and i don't know if they accept foreign ones.Based 88.
How much does this cost to buy?
I'm fine with passport handing though.
Many accommodations offering wifi, but none state if they have ethernet port or no.
Also what shop/store that's recommended for buying niche tech related stuff? or you just order online.
When running sunshine, Is there a way to lock the screen while still being able to stream the games?
like if someone connected to the sunshine server, locally with a monitor.
They can see the desktop/game, correct?
>>105649996>How much does this cost to buy?you're gonna have to check on that yourself. i don't use mobile data
>Many accommodations offering wifi, but none state if they have ethernet port or no.if it's an AirBnB or hotel, it's almost guaranteed that there is no ethernet available (except for hotel lobbies sometimes)
>Also what shop/store that's recommended for buying niche tech related stuff? or you just order online.i'd just buy online. Amazon, Alternate, Mindfactory, often Ebay. they're all fine generally.
I generally use this website to look for hardware: https://geizhals.de/
should be simple enough to use without understanding german or with a translator
Finally increased the quota on my media pool from 4 gigs to 8 gigs. I feel like a big boy now actually taking a bite into my 40 gig pool size.
file
md5: 62308d171b8fb9dc7639ac9dc391f9e3
๐
>>105644394You define a volume and then later when you are adding containers you add the volume as a mountpoint or something among these lines. Its possible, yes.
What can I selfhost to proxy webradio streams?
> inb4 usecase?
Farming simulator doesn't recognize all streams