/r/homelab

Photograph via //r/homelab

Welcome to your friendly /r/homelab, where techies and sysadmin from everywhere are welcome to share their labs, projects, builds, etc.

Homelab Wiki

HomelabSales


Labporn Diagrams Tutorials News


Subreddit Rules

  • Please see the full rules page for details on the rules, but the jist of it is:

  • Don't be an asshole.

  • Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.

  • No memes or potato images.

  • We love detailed homelab builds, especially network diagrams!

  • Report any posts that you feel should be brought to our attention.

  • Please flair your posts when posting.

  • Please no shitposting or blogspam.

  • No Referral Linking.

  • Keep piracy discussion off of this subreddit.

  • All sales posts and online offers should be posted in /r/homelabsales.

Wiki

  • Before posting please read the wiki, there is always content being added and it could save you a lot of time and hassle.

  • Feel like helping out your fellow labber? Contribute to the wiki! It's a great help for everybody, just remember to keep the formatting please.

Discord

  • We have an official, partnered Discord server which is great for all kinds of discussions and questions, invite link is clickable button at the top of the sidebar or right here.. Come and say hello!

Related Subreddits


Message the moderators

/r/homelab

714,441 Subscribers

1

gpu passthrough is not working propertly (xcp-ng 8.3)

hey i passthroughed a 1660ti and something is off
the vm doesnt recognize it somehow, but its there.

https://preview.redd.it/p6iw91k20cyd1.png?width=743&format=png&auto=webp&s=1e30f6a98156673f52a1fff136fcac073ebf3a5f

0 Comments
2024/11/01
18:15 UTC

1

Simple Windows LTO Backup CLI

Hey folks,

When I bougt my LTO drive I seen that there is no much for windows to hadle it. Or some bloated backup software, or dirve killer LTFS.

Considering that, I would like to introduce my latest project, MaksIT.LTO.Backup – a cli tool written in c# aimed at simplifying backup and restore processes for LTO tape drives. It’s got built-in handling for organizing files, creating backup folder descriptors, and managing the tape loading/unloading process efficiently. Thought some of you in the sysadmin/IT (and mostly homelabbers) crowd dealing with LTO backups might find it handy.

It's a very first share, as I ended to write and test it only exactly right now. There is still a big room to improve, also becouse I can test it only on my current LTO6 HP drive. But Agile saying that bad product is better than no product. In this days I'm going to compile several ready to use release binary files too.

Contributors are welcome! You can support by writing code, debugging, providing drives and tapes to test, or giving me some money ))), in the end simply your votes on this post can help a lot to find people interested in as usrs or dev entusiasts who can contribute and improve!

Features recap:

Key Features

  • Load/Eject Tapes: Handles the safe loading and unloading with TapeDeviceHandler.
  • Structured Backup: Organizes file metadata, writes to tape in structured blocks. Backups from local drives and from SMB shares.
  • Restores: Reads from tape and reconstructs the original file structure. Restore to local drivs and to SMB share
  • Supports Custom Block Sizes: Works with various LTO generations (e.g., LTO-6), allowing for custom block sizes.
  • File Descriptor Management: Manages metadata like file paths, sizes, creation times, etc.
  • End-of-Backup Markers: Uses zero-filled blocks to mark backup ends, helping with integrity checks.

System Requirements

  • .NET8 or higher
  • JSON Configs: configuration.json and descriptor.json (auto-generated)
  • Compatible LTO Tape Drive & Drivers

How to Set It Up

  1. Clone the repo:

    git clone https://github.com/MAKS-IT-COM/maksit-lto-backup
  2. Make sure .NET8 SDK is installed.

  3. Adjust a configuration.json file with basic settings, like tape path and backup sources. Here’s a quick example:

    {
      "TapePath": "\\\\.\\Tape0",
      "WriteDelay": 100,
      "Backups": [
        {
          "Name": "Normal test",
          "LTOGen": "LTO5",
          "Source": {"LocalPath": {"Path": "F:\\LTO\\Backup"}},
          "Destination": {"LocalPath": {"Path": "F:\\LTO\\Restore"}}
        }
      ]
    }

Running the App

Navigate to the project directory and run:

dotnet build && dotnet run

From there, you'll see an application menu with options to load tape, backup, restore, eject, check device status, and erase tape.

Code Highlights

  • Application Class: Manages core functions like LoadTape, Backup, Restore, etc.
  • TapeDeviceHandler: Handles tape operations, including positioning, writing, and reading.
  • BackupDescriptor: Keeps track of file metadata, like block info for each file on tape.

Error Handling

Any errors are logged to the console, and it’ll prompt you to check the tape device connection/settings.

It’s all open source under GPLv2, so feel free to check it out, suggest features, or fork it on GitHub. Appreciate any feedback or bug reports!

GitHub Repo: MAKS-IT-COM/maksit-lto-backup

0 Comments
2024/11/01
17:29 UTC

0

Server board for less than $200?

I wanna host my sites, run a cloud serever, a plex server and my ai stuff plus i wanna practice docker and all that too ima noob at this. So any recommendations?

4 Comments
2024/11/01
17:14 UTC

1

Weekly r/homelabsales Summary - 2024-11-01

The last weeks [For Sale] posts in r/homelabsales

Posts that have not met the rules of HLS or have completed are not shown.

^(Bot Feedback? - Checkout the pinned post in my profile)

CAN

-ANY-

ON

QC

EU

-ANY-

NL

UK

-ANY-

UK/YORKSHIRE

US-C

-ANY-

IA

IL

IN

MI

MN

NE

OK

TN

TX

TX-

WI

US-E

-ANY-

CT

DC

FL

GA

MA

MD

NC

NC/VA

NH

NJ

NY

NYC

OH

PA

RI

VA

US-W

-ANY-

CA

CO

OR

0 Comments
2024/11/01
17:00 UTC

1

Opinion(s) Requested - Hardware Replacement

I would like to pick some brains / braincells / etc.

I am currently running several pieces of hardware. I would LIKE to replace all of them with a single unit but, I wanted to get a thought or two on which direction to go.

MACHINE 1 (Custom Built Years Ago - Repurposed):
- Ryzen 3 3600G
- 16GB DDR3 Ram
- (Forgot the video card... Old one though)
- 2x 16TB Helium Drives
- 1x 1TB SATA 6 HDD
- 1x 480GB SSD (Cache)
- 800 Watt PSU

This machine is running TrueNAS Scale, Jellyfin, and Cloudflared.

MACHINE 2 (HP Elitedesk G3 Mini):
- Intel i5-6500T
- 16 GB DDR4 Ram
- 256 GB SKHynix SSD
- 1 TB Teamgroup SSD

The EliteDesk is running Windows, Foundry VTT Server, MeshSense (Meshtastic), and another BSS & Mail Server.

Ideally, I would like to condense and have a single Tower (if possible & currently) but would consider a rack-mount unit if needed. At the moment, I don't have the space to place this thing in isolation for sound. What would you all recommend?

  1. Ideally, I would like to scale it a little bit.
  2. I would love for it to be budget friendly but... I know also realistically that may not be the case.
  3. I would like some headroom before I have to actually scale / upgrade it.

I probably have about $250 - $300 to spend at the moment. Yes, I know it's definitely not a LOT by any means and can be a stretch for what I would like to do. Hell, if needed I could swap out the CPU / Motherboard and use the rest of what I have for now.

Some of the stuff I considered adding to my self-hosted service(s):

  1. Nextcloud or like
  2. RomM
  3. Adding plex on top of Jellyfin
  4. I would like to expand on my storage. I am about out. 2x 12 TB in raid, i'm about 300GB shy of at cap. lol
0 Comments
2024/11/01
16:44 UTC

1

Can I have tower workstation running outside?

I live near Greenville, SC. The temperature almost never gets below freezing, but sometimes it does.

My living space is limited, and noise workstation is issue.

So, I'm thinking to build small shed outside of the house, in the shade, and to put workstation into it. Workstation runs 24/7, runs VMs.

What do you think? What kind of issues I need to think about?

Here is what I thought of:

1. Dust

Not a big deal. Will clean regularly. Not sure, if I should build a shed in a way to install some kind of air filter in it.

2. Condensation

Since I'll have it running 24/7 - should not happen. The only concern here is if power outage will happen at night and the server gets cold - then it's possible. I have UPS to keep it running for 8 hours.

3. Temperature

The outside temperature here can be 25F - 90F. I'm sure the workstation can work just fine in that temperature. Not planning to have AC / heater.

4. Insect

Will have screens.

Anything else I should think of?

Is there anything about grounding I need to do? Especially considering, that sometimes we have powerful thunderstorms here...

5 Comments
2024/11/01
16:25 UTC

3

Jetkvm vs pikvm

There is a project called jetkvm on kickstarter, they claim 30-60ms latency, where pikvm is 100-200ms. Do you guys feel its worth the risk of paying for kickstarter. Thanks.

3 Comments
2024/11/01
15:55 UTC

1

Lenovo ideapad gaming 3 15arh05 Gy535/gy536 mn-d191 Need photo of what components is in that

I scratched off a component in there and i dont know what it is pls if you have the similar model let me know. And for the experts, my laptop screen dint work but there is still keyboard backlights, it happened after i scratched off that component is it possible to fix? And does the trace need fix too? Because i scratched that too.

0 Comments
2024/11/01
15:41 UTC

0

Dell R520 Not Recognizing Hard Drives After a Few Months of Inactivity – Need Help!

Hey everyone,

I’ve got a Dell R520 server that I hadn’t used for a few months, and now it’s not recognizing any hard disks. All the cables are connected properly, the green lights are on, and there aren’t any error signs. I’ve tried all of the basic stuff, but no matter what I do the server doesn’t recognize the disks. Could anyone help please?

1 Comment
2024/11/01
15:40 UTC

0

R740xd Front panel change

I have r740xd with front panel 2.5x24, need to change it to 3.5x12 Is it enough to change backpanel or need full new chassis ? Any recommendations what I can do ? I have high performance heatsinks, so mid panel can’t fit

2 Comments
2024/11/01
15:20 UTC

0

Qotom Q20331G9-S10

I got gifted this fine piece of hardware. I’m wondering if the SIM slot can be backup LTE and what antennas do I need for this hardware?

0 Comments
2024/11/01
14:54 UTC

25

Homelab evolution

After many years of acquiring random hardware the lab is slowly taking shape. Dell NX 3240 with 512 gig of RAM two gold xeons. Dell r240 running Truenas scale for shared storage. Fortinet 100e along with the 125D switch and two E access points. Two Dell R230s as backups in the event of a catastrophic hardware failure. Running PBS off-site with an ubiquity air fiber link

7 Comments
2024/11/01
14:45 UTC

2

Help me get a server rack or server tower for Homelab

For running services like NAS, Private DNS (e.g., PiHole), Network security (PFSense), and virtual machines (ProxMox) efficiently

specs would go something like this:
16 core cpu

32gb ram

2tb hdd

4 Comments
2024/11/01
13:41 UTC

1

HP ProLiant ML310e Gen8 v2 question about RAID

I need to set HP ProLiant ML310e Gen8 v2 as RAID 1 file server in tiny office.

My only option is Windows Server, because besides file server role I have to run specific windows software on it.

Everybody in this sub keep telling that B120i is crap and it is better to avoid using it. But why is that?

And what are my options then?

6 Comments
2024/11/01
13:31 UTC

2

60W idle on Xeon 2650L V4 + 4 HDDs + GTX1660, can I reach less?

I've tinkering with my Unraid Settings for a while, but I cannot find out what's drawing so much power.

Everybody's been telling stories how they get 30W on similar builds and I cannot pinpoint what the main fault of my setup is.

I've got the following:

  • 1x Xeon 2650L V4
  • Machinist MR9A (not Pro, not S, just the basic A)
  • 32GB ECC REG RAM DDR4
  • 4x 3.5" HDD (3 of 4 in use)
  • 1x M.2 SSD
  • 4x 120mm fans + 1x 140mm fan + 1x CPU fan stuck to the radiator, all of them constantly at 50% or 30% rpm thanks to resistor connectors
  • GTX 1660 6GB (Idling at 5-7W according to the system)
  • Endorfy Vero L5 Bronze 80 Plus 500W PSU

There are no VMs running, only a dozen of active dockers, sometimes some LLMs when needed.

My latest findings from the BIOS and Unraid settings:

  • Cstates show C3 20% and C6 80%
  • powertop tunables set to good via scripts yesterday
  • ASPM enabled on dozens of entries, disabled only on 4 of them
  • Unraid system settings now set to Hard Power Saving
  • SpinDown after 15min on all HDDs (previously none set, to my knowledge)

All of those tweaks brought the IDLE from 77-80W to 60-63W, but it's not sufficient enough.

Is it the insufficient PSU? Is it the weird chinese MoBo? Or is it simply the CPU that's drawing so much and I have to rethink my whole setup?

I'm looking for some 8th or 9th gen i3 on LGA1151 and 16GB out of desperation, cause I'm aiming to run this thing 24/7.

Feel free to bash me if I'm naive or uninformed.

4 Comments
2024/11/01
12:27 UTC

1

UPS Battery Connector problem

Hi,

i bought this UPS (Apc By Schneider Electric Easy Ups 1600 Va – Bvx1600Li-Gr) 2 months ago and since then i've had some weird issues with it. Mostly i was confused about why it was *constantly* beeping. I looked for it on the internet but everyone was saying that it's a battery failure and that i should replace it. But, i mean i just bought my UPS, couldn't be that right? And yeah, the battery was not the problem.

Since that time every now and then (~ every 10 days) my UPS randomly shuts down. Firstly i found out about it when i came back home and saw that it was plugged into the wall but it was not working. Other times (like today it did), it randomly started beeping continuously without any reason and i had to immediately shut down my PC.

What i found out is that for some reason.... my yellow battery connector is not properly seated, even though i cannot get it "deeper" into the plug on the back of the UPS. I also came to this conclusion because i cannot hear a "tik" sound of battery plugging in, like 9/10 times. Furthermore, when this happened today I, as usual: unplugged and plugged back in my yellow battery connector, tried to turn in on but nothing happened... gave it a little wiggle to the connector and then I heard a "spark" sound. Tried again and nothing, but after a few times it started BUT what is mostly weird is that: it started to continuously beeping again and as soon after that, it started becoming quieter to the point where it shut down. I 100% felt like it was the connector that hadn't the force to stay plugged and somehow it got unplugged being inside?? Idk...

My question is now is: what to do? RMA? or is it somehow normal?

Thanks in advance everyone for help!

0 Comments
2024/11/01
12:24 UTC

1

Upgrading/Migrating Homelab

So I've done some research but wanted to get the thoughts of everyone.

Right now I have an older AMD A-Series PC as my main server plus 2 Rpi's running a variety of services. I would like to upgrade the main server to run it all. The main server runs Win10 using Stablebit's Drivepool and Snapraid. After the upgrade, I will run Proxmox with a variety of VMs and containers. My question is how to transfer the data if I am going to use the same drives. I have 4 - 3 and 4TB drives in the pool and one 4TB drive as the parity for Snapraid.

Should I get an external to transfer the data to then wipe the drives for the new system? I'm not sure of any other way.

0 Comments
2024/11/01
11:39 UTC

1

Revive Samsung SM863 SSDs with endurance management bug - Dell firmware trick does not work

Hey folks,

I've got a couple of SM863 960GB SSDs and I noticed very bad writes speed (if=/dev/zero of=/dev/<ssd> bs=8M oflag=direct gives 50MByte/sec). Read speeds are also quite bad (dd if=/dev/sdb of=/dev/null bs=32M status=progress gives 250MByte/sec)

It is known that those drives suffer from endurance management bugs. It seems to be possible to flash the Dell GB57 firmware - however for me, this does not work.

root@ryzen-1:~# hdparm --fwdownload GB57_short.fwh --yes-i-know-what-i-am-doing --please-destroy-my-drive /dev/sdb

/dev/sdb:
fwdownload: xfer_mode=3 min=1 max=2048 size=512
...<lots of dots omitted>
FAILED: Input/output error

GB57_short is the Dell GB57 firmware, truncated to 1.048.576 bytes. GB57_short starts with the bytes A3 1C 13 D6

I performed a security erase, but to no avail.

Any ideas how I can fix those drives?

0 Comments
2024/11/01
11:26 UTC

1

R740xd 3.5 HDD upgrade

I have r740xd 2.5x24 and want to upgrade to 3.5 HDD for cost per TB, I bought rear and mid bay, but Rear: My Raid Card has only small version and back holder and needed to replace it to the larger one (Which I can) Mid (Most important): I have high performance heat sink and couldn’t fit over them, CPU is 2X Xeon 6138

My questions 1- What is the difference between the regular heat sink and high performance in my case, cpu rated as 125W, so will it make huge difference ? 2- Anyway I can replace front bay to 3.5x12 ? 3- Any Ebay seller or any other platform that sell 2.5 HDD, with good quality and relatively cheap ?

Any other suggestions ? Overall I need around 36TB of storage

0 Comments
2024/11/01
10:42 UTC

1

SSD M.2 22110 - boot disk disappear everytime doing benchmark - should I replace the SSD?

DELL R730 with SSD SK hynix 1.92TB M.2 22110 (Enterprise, HFS1T9GD0FEI) in PCIe add-on card. This SSD host several VMs. ESXi runs in SD Card.

When I run SSD benchmarking (I/O) in 1 of the VMs (Ubuntu), it will crash and un-bootable as if the VM lost its boot disk. Other VMs (Windows, Suse, etc) are working just fine - until you reboot those VMs and they will appear to have lost the boot disk as well.

The only way to resolve this is by Restarting ESXi and everything will come back normal. Is this the sign of bad SSD?

0 Comments
2024/11/01
10:23 UTC

1

5600G or N100 board?

So, while cleaning my homelab i've dropped the CPU (Ryzen 2400G) and i was booking at replacing it with the 5600G, taht i can buy used for around €100, but i can get the N100 nas board from AliExpress for €150 with 16 GB of DDR5 RAM, then i could sell the old mobo and RAM and get my back. But it's worth the hassle?The only reason i amblooking at the N100 is for the low power, my old system with the 2400G was drawing around 25W at idle, the 5600G has two more corse but it's 7nm so it should be more efficient. The N100 board on the other hand has 4 × 2.5Gb (or 2 × 2.5 and 10Gb, still deciding) NICs, those are a nice bonus for future projects, but scine ther are basically no PCIe slots leaft i' m loked with what i choose basically, instead with my B450 motherboard i could upgrade as i please tanks to the PCIe slots. So, what do you reccomend?

2 Comments
2024/11/01
09:49 UTC

1

What is the differences between Dolphin PCIe and an infiniband setup?

At work I am building a real time physics simulation backend and currently it only works off one machine but we are looking to be able to run some distributed physics across multiple machines. To do this, we would need a way to do RDMA to share the data between the machines. We were originally looking at using Dolphin PCIe but I came across infiniband yesterday and it seems to be doing almost exactly the same thing where you can access a remote machines memory without going through the CPU, however it seems to be about 1/10th of the cost.

I was thinking I could be able to connect three machines with infiniband with the main server having a duel port ConnectX-4 MCX456a mellanox card and then the two other machines having a single port MCX455A card for about £350, rather than around £8000 with Dolphin PCIe.

Am I missing something? Are they doing very similar things?

One of the most important things is that we need very low latency, we are running the physics simulation at 100Hz, so I need sub millisecond latency to transfer data/be able to send messages to tell another machine to run a task. Would this be possible with the ConnectX-4 cards with infiniband?

12 Comments
2024/11/01
09:31 UTC

0

How is that Possible

Hello everyone, my Google results have been in Croatian for a few days now. In YouTube, every advertisement is in a different language, and the location is shown incorrectly via geoip. If I use mobile data or the neighbor's WiFi, everything is normal. Can piHole cause this or Active Directory. How should I proceed to find the error

9 Comments
2024/11/01
08:55 UTC

0

10 x M710Q i7-7700T

I'm about to get 10 x Lenovo M710Q i7-7700T 16gb ram 256gb m.2 ssd. They are EOL now that they aren't officially supported by Windows 11. I've already got a basic homelab(see previous post).
What exciting things can I do with them? I think one should become an OPNSense firewall.

2 Comments
2024/11/01
08:48 UTC

Back To Top