view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I have also got a dell optiplex and Proxmox and a Debian machine with mostly Arr in containers.
I also have 3 old HDDs that I'm using for it, of various sizes (2x1tb and 3/4tb)
I have used a powered usb3 to sata connector to hook them up to the Dell. As in I have 3 usb to sata connectors, and each one also has a plug socket. I've got those 3 plus my Dell in a 4 gang extension lead so it's only using 1 plug socket in my kitchen. They were about £15 each on Amazon.
I have had a gotcha from using usb that destroyed my setup.
I now have a working solution that will stop this happening again:
So I have 3 usb-sata HDDs hooked in via the usb ports. I set up Open Media Vault as a VM. Then I passed through the USB drives to the OMV VM.
Those drives are then shared via SMB (I've just added NFS) to everything that needs it via the OMV VM.
I can then access the HDDs via this SMB share in Proxmox for backups if that's what you wanna do.
Now the reason I've done it this way is because originally I had the drives in Proxmox. I gave them names and then put those names in the Fstab of Proxmox. One of the drives "forgot" it's name and Proxmox wouldn't then boot because one of its drives wasn't accessible.
You could get around this by adding an option to the end of your fstab, I think the option is "nofail" but I'm not 100% so just check up on it.
I've used this option in my Debian VM Fstab to mount the NAS drives so my Arr stack can see them, and even got my Squeezebox server using them too. I'm using CIFS so I can see the drives on my Windows PC so I can manage the storage on my desktop.
So there you go, usb HDDs with passed through usb sockets to OMV VM is how I do it. If one of the drives fails OMV still runs and I just find I have no media in Plex and have to figure out why my drive isn't working anymore.
I’m not familiar with using USB drives, but on any bare-metal system don’t use
/dev/sdX
but instead use/dev/disk/by-id/<big long disk identifier>
in your fstab/cryptab etc. Even if you switch ports/bays, or your devices come up in a weird order after a reboot, config always points to the same physical disk. Way less stuff breaks.There a dozens of us!
So I guess I can build a new VM and this won't impact too heavily on my computational power (mostly Jellyfinn streaming 1080p stuff), correct?
Is there any way around the impending... running out of USB? Would a usb-C dongle be a nono?
Either way, thanks for the great answer.
Yeah the new VM should just draw from your remaining RAM. My Debian VM is only using a few GB (6? 8?) but my Dell (I have a 7050 so it can't be so different from yours) still has 10gb to play with.
As for the running out of USBs I guess you could run a usb hub to one of the usb ports and just pass through the one, although I don't know if that would break something.
I don't think they do a powered usb c to sata but I could be wrong. I've used 3/4 of the ports on the back for HDDs, and the remaining one for my ZigBee stick for Home Assistant VM and have one spare (on the front) plus the usb C. I have passed that usb C through to a VM for a usb c to 3.5mm (to send music to speakers) in the past though.
You could try a usb to sata (powered) and a usb c to usb a to plug in to the usb C socket I guess, try that? I have a few usbc-a adapters knocking around the house so if you're the same you could try it for nothing
I was hoping for some Proxmox magic dynamic allocation of resources, CPU cores and RAM between the two VMs. I have 16Gb RAM anyway so I should have plenty...
I guess I'll play around starting from those much needed USB to SATA powered cables.
If you want Proxmox to dynamically allocate resources you'll need to use LXCs, not VMs. I don't use VMs at all anymore for this exact reason.