thecoffeehobbit

joined 9 months ago
[–] thecoffeehobbit@sopuli.xyz 2 points 1 month ago (1 children)

You need to check in with your doctor. A prescription drug did the exact same to me a few years ago.

[–] thecoffeehobbit@sopuli.xyz 4 points 2 months ago

Yeah, I'm planning to spin them down so infrequently that it shouldn't matter in the long run.

[–] thecoffeehobbit@sopuli.xyz 1 points 2 months ago (1 children)

I currently have exactly this setup but I really want to migrate to a single machine :)

[–] thecoffeehobbit@sopuli.xyz 8 points 2 months ago (2 children)

I'll consider this!

[–] thecoffeehobbit@sopuli.xyz 2 points 2 months ago

I'm possibly biased by the amount of initial fiddling with all the disks and pcie cards and hunting down where the noise was coming from. Will keep in mind.

[–] thecoffeehobbit@sopuli.xyz 1 points 2 months ago (2 children)

This could be an option I guess - however the current case is a HP z440, which is SO convenient for building in that I need an extra good reason to get rid of it. Zero screws, just latches. Carrying handles.

[–] thecoffeehobbit@sopuli.xyz 2 points 2 months ago

Thanks - from what I see myu CPU doesn't support VT-d, only VT-x, which at a glance makes it not suitable for passing through these drives safely. I'll get to dismantling the NAS VM setup actually.

[–] thecoffeehobbit@sopuli.xyz 6 points 2 months ago

Thanks! This sounds like an option.

[–] thecoffeehobbit@sopuli.xyz 3 points 2 months ago (5 children)

I'll gladly take the advice on the NAS VM, I see so many tutorials virtualising TrueNAS and not a lot of the opposite viewpoint. If it's not a good practice I'd indeed rather recycle that setup while I'm at it.

I don't need to keep using Proxmox, or TrueNAS for that matter. If I need to DIY this with bare metal Debian, I will. My constraint is to have both always-on services and on-demand HDD backed services on the same machine. Sky is the limit after that..

Scheduling doesn't sound the best indeed, which is why I'd ideally want a simple button that I can click from a GUI.

[–] thecoffeehobbit@sopuli.xyz 3 points 2 months ago

Not an option, because it will also run some essential services off SSD's. :/

44
submitted 2 months ago* (last edited 2 months ago) by thecoffeehobbit@sopuli.xyz to c/selfhosted@lemmy.world
 

Hiya,

I have a bit of a dilemma with my DIY NAS rig. I thought I was being clever by getting the cheapest 8TB seagates in existence for a RAIDZ1 pool, but I have to conclude they're Fucking Noisy^TM^. I'm very sensitive to the noise, unable to relocate the rig further away from my sleeping space and I never need the spinning drives at night anyway.

I run Proxmox with the drives passed through to a TrueNAS VM. I'm willing to turn this setup upside down to get a super convenient way to put the drives to sleep and wake them up exactly when I want to. Heck, I'll write my own webapp to do it if I need to, but I rather ask around first because this has to be a reoccurring thing.

I know it's possible to put drives to sleep with Linux. I know it reduces their lifespan and I don't care, I need to sleep. :) I'm unsure how exactly it should be done when the drives are passed through to a VM.

Do you put your drives to sleep? What tricks have you used to achieve this conveniently? Let me know!

E: Should have clarified, but there are other, SSD-backed services on the same machine that need to stay online regardless of what is going on with the spinning drives.

E2: Thanks all! Ended up dismantling the VM disk passthrough setup and going with hd-idle for now. It does what it says on the tin and even works nicely together with smartmontools even though it warned against it. Still need to setup network shares via LXC and recreate all the snapshot tasks I had going on in TrueNAS. But that's non-urgent. I may well also look into better insulation soon, the case is indeed not ideal as it is right now.

[–] thecoffeehobbit@sopuli.xyz 18 points 2 months ago (1 children)

Practically every house and apartment has (access to) a sauna. If not inside the apartment, there will most often be a shared sauna in the basement.

About the UK, I'm going to go a bit deeper and note that it was somehow eye-opening that there's a whole society that actually just daily drives English. For my whole life before the visits to UK and later US, English was the language of the internet and some specific international situations where it was most people's second language. Until well into my mid-20s, I basically didn't have real life contact with any community that would just speak English natively, despite speaking it myself fairly okay-ish.

 

Hi, Long time Mac user here, recently switching my personal devices to Linux. My work unfortunately does not support this, mandating work be done on the provisioned device and it has to be Mac or Windows. So, I'm finding it a bit hard to get up to speed when coding on Linux. I've tried GNOME, KDE, Hyprland and find no obvious heaven in any of them. I have two external 27" monitors fwiw. My personal PC has Arch and KDE for gaming reasons, but I'm also looking to code more on open source tools to avoid personal vendor lock-ins.

In other companies I've visited I've seen varied policies, one runs stock Ubuntu, one mandates Fedora with user choice for DE/WM, many use Macs but allow for Linux if desired. So, I'd want to run a small survey. Keeping in mind all the aspects of using a device at varied software work, so coding, email, chat, managing servers, having online meetings, sharing screens, making presentations: if you use Linux for work,

What DE or WM (and distro if relevant) do you use for your actual, professional work?

Was this a choice by you or pre-selected by the employer? Do they allow you to work on your own device if desired? (Excluding freelancers obv.)

Do you need to balance stability vs. customisability? Or is that a no-brainer for you? (="Have you ever had to cancel a meeting because an Arch update broke your screen sharing?")

How much time do you find reasonable to put into maintaining/developing your setup?

Did distro choice (or lack thereof) impact your choices for DE/WM?

Do you feel like your code editor, language stack, or job profile has an impact on the choices? For example, is your profile very specific ("I go to dailies and turn tickets into code / I work alone for weeks at a time researching stuff"), allowing you to optimise the setup further?

Anything else you'd want to highlight about this?

Edit: Takeaways so far

  • Immutable setups ftw
  • Arch is stable enough though
  • Type of work affects distro choice more so than DE choice (I do backend webdev, my deliverables are very platform independent, so I didn't think about this much)
  • Plenty of XFCE users out there!
  • Zero mentions for Hyprland!
 

Hi Lemmy! First post, apologies if it's not coherent :)

I have a physical home server for hosting some essential personal cloud services like smart home, phone backups, file sharing, kanban, and so. I'm looking to re-install the platform as there are some shortcomings in the first build. I loosely followed the FUTO wiki so you may recognise some of the patterns from there.

For running this thing I have a mini-pc with 3 disks, 240GB and 2x 960GB SSDs. This is at capacity, though the chassis and motherboard would in theory fit a fourth disk with some creativity, which I’m interested to make happen at some point. I also have a Raspberry Pi in the house and a separate OPNsense box for firewall/dns blocking/VPN etc that works fine as-is.

In the current setup, I have Ubuntu Server on the 240GB disk with ext4, which hosts the services in a few VMs with QEMU and does daily snapshots of the qcow2 images onto the 960GB SSDs which are set up as a mirrored zfs pool with frequent automatic snapshots. I copy the zpool contents periodically to an external disk for offsite backup. There’s also a simple samba share set up on the pool which I thought to use for syncthing and file sharing somehow. This is basically where I’m stopping to think now if what I’m doing makes sense.

Problems I have with this:

  • When the 240GB disk eventually breaks (and I got it second hand so it might be whatever), I might lose up to one day of data within the services such as vikunja, since their data is located on the VMs, which are qcow2 files on the server’s boot drive and only backed up daily during the night because it requires VM shutdown. This is not okay, I want RPO of max 1 hour for the data.
  • The data is currently not encrypted at rest. The threat model here is data privacy in case of theft.

Some additional design pointers:

  • Should be able to reboot remotely in good weather.
  • I want to avoid any unreliable or “stupid” configurations and not have insane wear on my SSDs.
  • But I do want the shiny snapshotting and data integrity features of modern filesystems for especially my phone’s photo feed.
  • I wish to avoid btrfs as I have already committed to zfs elsewhere in the ecosystem.
  • I may want to extend the storage capacity later with mirrored HDD bulk storage.
  • I don’t want to use QEMU snapshots for reaching the RPO as it seems to require guest shutdown/hibernation to be reliable and just generally isn’t made for that. I’m really trying to make use of zfs snapshots like I already do on my desktop.

My current thoughts revolve around the following - comments most welcome.

  • Ditch the 240GB SSD from the system to make space for a pair of HDDs later. So, the 960GB pair would have both boot and data, somehow. (I'm open to having a separate NAS later if this is just not a good idea)
  • ZFS mirror w/ zfs-auto-snapshot + ZVOLs + ext4 guests? Does this hurt the SSDs?
  • Or: ext4 mdadm raid1 + qcow2 guests running zfs w/ zfs-auto-snapshot? Does this make any sense at all?
  • ZFS mirror + qcow2 + ext4 guests? This destroys the SSDs, no?
  • In any case, native encryption or LUKS?
  • Possibly no FDE, but dataset level encryption instead if that makes it easier?
  • I plan to set up unattended reboots with the Pi as key server running something like Mandos. Passphrase would be required to boot the server only if the Pi goes down as well. So, any solution must support using a key server to boot.
  • What FS should the external backup drives have? I'm currently leaning into ZFS single disk pools. Ideally they should be readable with a mac or windows machine.
  • Does Proxmox make things any easier compared to Ubuntu? How?
  • I do need at least one VM for home assistant in any case. The rest could pretty much all run in containers though. Should I look into this more or keep the VM layer?

I'm not afraid to do some initially complex setting up. I'm a full stack web developer, not a professional sysadmin though, so advice is welcome. I don’t want to buy tons of new shit, but I’m not severely budget limited either. I’m the only admin for this system but not the only user (family setting).

What’s the 2025 way of doing this? I’m most of all looking any inspiration as to the “why”, I can figure out ways to get it done if I see the benefits.

tldr: how to best have reliable super-frequent snapshots of a home server’s data with encryption, preferably making use of zfs.

view more: next ›