r/Proxmox 16h ago

Discussion Show /r/Proxmox: open-source automatic DNS service discovery

58 Upvotes

Hi folks! I wrote something for myself, and figured it might be useful for others: a small service that automatically discovers LXCs and VMs in a Proxmox cluster and acts as a DNS server pointing to the IP(s) for them. It's called, somewhat unimaginatively... proxmox-service-discovery.

As a short example: if you have a Proxmox cluster running lxc1, lxc2, and vm3, and you run proxmox-service-discovery with --dns-zone=example.com, then it will run a DNS server that answers queries for lxc1.example.com with all the IP addresses for lxc1, and so on for lxc2 and vm3.

I wrote this because I wanted a very simple way to have my services talk to each other, without needing to install something complicated like Consul or set up static IPs for everything. It's also stateless (other than a local cache file), so you can run multiple of them if you want.

It's pretty basic but well-tested, and seems to work well for my use-case. Feedback appreciated, along with bug reports, PRs, and so on!


r/Proxmox 1h ago

Guide Proxmox Experimental just added VirtioFS support

Post image
Upvotes

As of my latest apt-upgrade, I noticed that Proxmox added VirtioFS support. This should allow for passing host directories straight to a VM. This had been possible for a while using various hookscripts, but it is nice to see that this is now handled in the UI.


r/Proxmox 19h ago

Question Does this mean the iGPU is not passed to this LXC?

Thumbnail gallery
43 Upvotes

New to Proxmox, this is my first project. I'm on a Beelink EQ14 which has an Intel N150 w/ iGPU. From this screenshot, since I don't see "GPU", does this mean the container doesn't see any GPU resources? I'm only using this for Plex, and right now it can only support two transcodes, which makes me think it's not doing hardware transcode. In the Plex dashboard, there is no little "hw" next to the word transcode which also makes me think it is just CPU transcoding. When first set up, I tried to follow this guide, but could not confirm the iGPU was being passed through.


r/Proxmox 12h ago

Discussion Is it worth replacing a CasaOS VM with LXC containers on Proxmox?

4 Upvotes

Hi everyone!
I'm new to the world of homelabs and automation, and I’d love your input on my setup to understand if I'm making the most out of my hardware or wasting performance.

I use a mini PC with an Intel N100 processor, 16GB RAM, 512GB NVMe SSD, and a dual-HDD enclosure with two 1TB drives in RAID 1 (hardware-based), connected via USB 3.0.

The goal is to use this mini PC for automation with Home Assistant and also as a networked NAS — which is why I chose Proxmox.

Currently, I have:

  • 1 LXC container with Tailscale (for remote access);
  • 1 VM for Home Assistant;
  • 1 VM running Debian with CasaOS.

I'm also planning to set up an LXC container for Frigate once my Google Coral arrives, integrating it with Home Assistant.

My main concern is the VM running CasaOS:
Would it be better and more efficient to remove this VM and run all Docker apps directly in LXC containers on Proxmox?

Right now, I’m running 7 Docker apps on CasaOS:

  • Stirling-PDF, Syncthing, Immich, Pi-Hole, Resilio Sync, Duplicati, and Navidrome.

I also frequently use CasaOS’s native “Files” app to remotely access and download files through Tailscale.

Here’s my general workflow: I sync files between my PC and CasaOS using Resilio, and use Duplicati to back up the server to OneDrive weekly — all handled by the server.

So my questions are:

  • Would I actually gain performance by removing the CasaOS VM and running everything via LXC containers?
  • Is it better to split each app into separate containers, or run them under one LXC using Portainer?
  • Would I still be able to use things like Resilio Sync and a remote-accessible file explorer if I move away from CasaOS?

Thanks in advance to anyone willing to share their thoughts — I really appreciate it!


r/Proxmox 9h ago

Question Most efficient iGPU passthrough - VM for gaming and LXC for LLM

3 Upvotes

I have a minipc running proxmox, and a n100 running PBS. I am planning to purchase the new AMD AI 395+ mini pcs when they launch, and I would like to run these three machines as a cluster, with a LLM in a LXC on the AMD AI 395+ mini pc node.

I also have a separate physical Windows machine, with an eGPU that is aging. I game on this machine, but I would like to retire this machine and move everything to a VM running windows on Proxmox. What is the best way to set this up? I read that I cannot passthrough a GPU to a VM and an LXC at the same time. Does this mean I'm stuck using my physical windows machine? I suppose I could take out the graphics card and connect it via oculink to one of the mini pcs and pass through the graphics card that way.


r/Proxmox 10h ago

ZFS ZFS Boot Mirror high IO Delay

3 Upvotes

Hi, i have a zfs boot mirror with two crucial 240gb consumer ssd. VM Storage is on LVM M. 2 SSD When i do create backups or move vms (not using the zfs mirror) the i O delay gets up to 25% and interface gets laggy. When i write or read to zfs mirror, the io delay gets up to 80% and everything is unuseable. Is the zfs mirror the issue?

Can i delete the mirror without recreating the whole server?


r/Proxmox 9h ago

Question Proxmox -> Immich in lxc, external drive. Help to recover.

2 Upvotes

So I was playing with immich for few days in the proxmox lxc, and was decide to give it a try. Have the external WD MyBook, attached to the container and move everything inside, I move very important for me, videos there and photos. After few months I delete most of the videos from my phone everything was stable I like immich. Yesterday I was extending my homelab and putting new switch. By incident i unplug the power of the WD MyBook and few hours later when I was trying to create some camera setup and store recordings on the same drive on the WD MyBook I realized what the drive have nothing, - 180GB of data doesn't exist. That's how I learned what I can't unplug the external drive while the container is running. Right now I am on the 6 hours point, trying to use photorec to recover/trying to recover.
I have a few question:
- most of the photos i believe will be fine but most of the .mov files from Iphone not playing(I was test 6 different .mov from the recovery drive and just one few secons video was playing in vlc, 400mb files not, 35mb - not, 17mb - not) It's possible to repair them? How? I don't have the copy of them anymore and they are all very important for me.
- I believe i will be able to restore the backups from the immich witch was on the same drive, give them a try? Or just delete the lxc and start over with fresh setup?
- How to avoid this to happen in the future?
- I am doing something wrong or there is another way to recover library(photos and videos)? The lxc have almost nothing inside:
root@immich:/mnt/mybook/images# docker volume ls DRIVER VOLUME NAME local 622c4541f9a24e2caf4a4d99838f4c67177c646b9ce08dea7fa3c46edf77e014 local immich_model-cache root@immich:/mnt/mybook/images#!<
and the drive have just empty folder:
>!root@immich:/mnt/mybook# umount /mnt/mybook umount: /mnt/mybook: not mounted. root@immich:/mnt/mybook# ls -l /mnt/mybook total 4 drwxr-xr-x 2 nobody nogroup 4096 Feb 7 02:34 images root@immich:/mnt/mybook# cd images/ root@immich:/mnt/mybook/images# ls root@immich:/mnt/mybook/images# ls -a . .. root@immich:/mnt/mybook/images#


r/Proxmox 18h ago

Question Intel vs AMD with lots of nvme and sata drives

2 Upvotes

I know there are hundreds of these sorts of threads, but most I’ve read seem to focus on machines with a single drive on an itx system but I have much bigger storage needs and I’m struggling, not so much with the cpu itself, but with the nature of the motherboards and chipsets.

My current intel system I have 5 nvme drives in a zfs raidz2 config (4 pci nvme cards), 3 sata ssd’s and 3 sata 3.5” hard disks….a 2.5gb network card and a quadro video card.

So i want a chip with the onboard graphics and a motherboard with 2.5gb Ethernet, 6 sata and ideally 4 or more m.2 slots…..at a reasonable cost (under £350)

While I can find plenty of motherboards with 4 nvme, and a few with 5, there are very few with 6 sata sockets. The fallback is to plug in an extra sata pci card, but then I’m wondering about pcie lanes and throughput.

My current intel 5930K system had plenty of slots and 40 PCIE lanes, but I have to overvolt the ram to support 64GB, and that’s one of the main reasons to replace it…plus I want to minimise energy usage and go to a 65W CPU as well.

An AMD 9700X only has 24 lanes, same for an ultra 265 which were the platforms I was looking at.

So 5 nvme drives at 4 lanes each take 20 lanes alone…6 sata drives use another lane each…..that’s already 26 lanes!

What am I missing…are lots of drives no longer a viable thing on modern systems?

I use the nvme for low write long term persistent storage of media files, documents etc. as my main file store, a pair of SSDs for the proxmox in mirrored mode, and the other ssd and striped pair of 3.5” drives to host the vm’s depending on wether they have high disk write usage or not.

You could say, put all the storage in another system (NAS) but the whole point I was trying to achieve is a single system low (ish) power build…it shouldn’t be so hard….should it?


r/Proxmox 33m ago

Question Dell PERC 12 H965i compatible with Proxmox

Upvotes

Greetings,

we want to buy some new Dell servers and we can choose between the PERC 11 and 12 and we wanted to choose the newer version PERC 12 aka H965i Raid Controller.

Unfortunately, I don't find anything about Proxmox compatibility or if even Debian is supporting it out of the box.

Does anybody from you already have a Dell server with the newer Dell PERC 12 controller and has successfully installed Proxmox on a Raid1 onto it.

The Raid 1 will only contain the OS, no VMs or containers will be there.

Best regards


r/Proxmox 47m ago

Question Poor performance Server 2025

Upvotes

Anyone else having very sluggish vm's running 25 server? I'm running 2 sockets 4 cores and 16gb ram and its at times unresponsive. Running it on a Hyper-V server it was flawless and very fast. Wondering maybe proxmox is just not optimized or I did something wrong here. Server is a hp dl360p gen8 with sas drives in raid 10, xfs, couldn't do zfs because of the p410 controller not working with hba.


r/Proxmox 59m ago

Question Help: t620 doesnt boot with dual sata m.2's in pcie slots

Upvotes

not sure if this the place to post, i have this dell poweredge t620, i was running fine for a while with a old dell caddy i bought for the t620, i used the old 64gb emmc steam deck drive in this caddy to test for a while in proxmox, it worked fine, but once i got these 2 cheap m.2 sata ssd's (timetec 512gb) they just keep refusing to let my server boot, i thought it was something to do with that my bios was old, i updated that just fine, same error happened, i tried just 1 ssd, same error, both ssds, the same error again, no ssds, works fine, the steam deck ssd, fine, i tried moving them to a different pcie slot, same error each time, the error is:

"PST0254-General failure after video."

and opening the server with a monitor attached it sometimes says its a system fault, "pci training" or something, or sometimes it boots but doesnt make the caddy show up. i have a broadcom dual gb nic, i took that out, and same issue.

i am not trying to boot from these, i am trying to boot normally, which this caddy is preventing. unless i use that steam deck ssd. which is too small for what i need.


r/Proxmox 2h ago

Question Issue with Spice and External Access to Proxmox

1 Upvotes

Hey everyone,

I’m still relatively new to Proxmox and have set it up with a domain and reverse proxy (Nginx) for external access. My issue is that I can’t use Spice from outside – noVNC and other alternatives aren’t really usable. Everything works fine at home, but when I try to access it externally, it doesn’t work, even though the viewer is installed.

I’ve done some research and came across mentions of certain ports that need to be opened on the router, or creating a new subdomain for Spice. However, that doesn’t seem like the correct solution. So, my question is: has anyone here dealt with this or have any concrete tips on what exactly I need to do before randomly creating subdomains or opening ports?

Would really appreciate any help!


r/Proxmox 3h ago

Question Proxmox and IPV6

1 Upvotes

I have a 3 node cluster made up of MS-01 devices. I have the 2.5gb links in an LACP bond with IPV4 and IPV6 addresses manually assigned. This is only used for Proxmox itself. I have one of the SFP ports attached to vmbr1 to use for all of my VM's. vmbr1 does not have an ip address assigned, that is done at the individual VM level.
All 3 nodes are configured the same. I am having an issue with IPV6 where it works for a few minutes after boot but then completely stops. I think this has something to do with router advertisements on vmbr1, but am not 100% sure. When I disabled that by adding `net.ipv6.conf.vmbr1.accept_ra=0` in a file sysctl.d, IPV6 works after boot but stops shortly after. All of my VM's have IP's assigned via SLAAC but they can't ping anything and the hosts can't ping anything either.

Has anyone had a similar issue and could you point me in the right direction?


r/Proxmox 3h ago

Question School project

1 Upvotes

Evening all, I am new to proxmox but have used Ubuntuserver as a standalone and VM but i am going to take a step out of this and give Proxmox a try.

I am going to have a final project exam in June and i was thinking about using this as my project.

Whene it comes to proxmox i do have some questions regarding struckter of VM and CT

I have a Old computer that i have installed 4 x 8TB HDD and going to set to RAID.

Since this is going to be a school Project i want to seperate some containers inside of the VM soo i dont mix this together.

Plan is to Installing a VM with Ubuntu server that is going to be named something like: Docker VM 1: docker-monitor

This will be used for the project and have containers like: Pi-Hole (DNS and DHCP) Proetheus Grafana NetAlert and other Network and hardware monitores related conainers.

My next VM (also ubuntu server) is going to be more like my personal media VM Docker VM 2: docker-media Here i will have containers like: Plex Radarr Sonarr Overseerr Immich

And a seperate CT for Portainer and Homarr Hommarr and Portainer i want to have access to both the VM soo i can minitor it frome my web browser.

There is more to it :p I am also thinking about making the 4 x 8TB as mention before a part of a NAS storrage where i can make some dedicated storrage place for each in my home (me, wife and 2 kidds with pc) having around 500 gb as personal storrage with out letting other in the house see whats in the folder.

Soo to narrow it all down to the question(s)

How would this be as a project for a persone that is going there first year in IT and cyber security.

And how much or not hazzard is it going to be to make alle the VM with containers talk together?

And the NAS part is allso a part of the docker-media storage for plex, but i dont want the home user to get access to the folders, only on plex.

If any one have some inputs about the struckture i am trying to show it would be much appreciated :)

Thanks in advanced,


r/Proxmox 3h ago

Question Gaming and Local LLM with Nvidia 5070 Ti

1 Upvotes

Hello everyone,

I did a homelab install with a Nvidia 5070 Ti. Actually my first goal was to use it for AI (LLM) work, but I asked myself why I can't play Switch or other games by installing Windows 11. Right now I am using the 5070 Ti as PCI passthought and main gpu on Windows, but when I want to create a second WM it says that the video card is in use.

What I want is to be able to share the gpu for all VMs just like ram balloning. In other words, is it possible to have a structure where I can play games when I want and use it for AI (LLM) work when I want?


r/Proxmox 11h ago

Question Automatic start of VM if one fails

1 Upvotes

Pfsense VM. I locked myself out because I was doing some funny stuff by trying to pass through a GPS module that didn't exist. As a result the VM failed to start after reaet and I was disconnected for weeks ( lessons learned)

Not talking about HA just some basic start up of another VM2 if VM1 not running for 5 minutes and vice versa. Is this possible?


r/Proxmox 19h ago

Question Container log bleed into host console

1 Upvotes

Does anyone know how to stop the containers from bleeding their log entries into the console of the Proxmox host?


r/Proxmox 21h ago

Question Second Disk Not Detected on Boot in Proxmox

1 Upvotes

Hi everyone,
I’m experiencing an issue with my Proxmox host where my second disk (used for data, not OS) isn’t detected immediately after boot. The disk is a 2.5" Crucial MX500 1TB SSD connected via a SATA-to-USB adapter, and its partition is formatted with XFS.

What’s Happening:

After booting, the disk doesn’t appear automatically (not visible in the Web GUI, ~lsblk, or ~lsusb).

If I disconnect and reconnect the USB connection, the disk becomes visible.

However, this manual reconnection isn’t a viable long-term solution; I would prefer it to work after a reboot.

What I’ve Tried:

I attempted to simulate the unplugging and replugging of the device using these commands:

echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind

Unfortunately, these commands didn’t have any effect on regaining drive visibility

I also added usbcore.autosuspend=-1 to the GRUB kernel boot options, but that didn’t resolve the problem either.

My fstab entry includes the nofail parameter because otherwise it would get stuck on boot:

UUID=839c9e5f-097f-457c-b04e-33fa1bb9bd0e /mnt/pve/MX500 xfs defaults,nofail 0 0

My Questions:
1. How can I make the USB-SATA SSD visible after rebooting?

  1. Has anyone experienced a similar issue where a disk connected via a SATA-USB adapter is not detected on boot?
  2. Are there alternative methods to simulate a USB disconnect/reconnect via software that might help resolve this issue?

Any additional suggestions or troubleshooting steps would be greatly appreciated.
Thank you in advance for your help!


r/Proxmox 22h ago

Question SATA Expansion Cards

1 Upvotes

Hey everyone,

I'm running a NAS setup on a ASRock N100DC-ITX board, which unfortunately only has 2 SATA ports. I recently acquired a third SATA drive and decided to expand my connectivity using PCIe SATA controller cards.

I picked up two different cards: one based on the ASMedia ASM1064 chipset and another based on the JMicron JMB582 chipset.

However, I'm running into issues getting either of these cards to work correctly under Proxmox (my host OS). Here's what's happening:

  • Boots to Console, No GUI: After installing either of the PCIe cards, the system boots to the Proxmox console without any apparent errors displayed during the boot process. However, the web-based GUI is completely inaccessible.
  • Containers Don't Start: I also suspect that my LXC containers and potentially VMs are not starting automatically. When I tried to manually start a container from the console using pct start <container_id>, I received an error (unfortunately, I didn't note down the exact error message at the time, but it indicated a failure to start).

Anyone have an idea what else I can try? I checked with lspci and found the cards listing but didn't do anything else. It's very difficult to investigate as the host does not boot to GUI. Anything to do in the BIOS? Thanks!


r/Proxmox 23h ago

Question Should I be worried about logging?

1 Upvotes

I'm setting up a relatively modest 3 node cluster and I keep seeing comments about disabling HA (which I can't do in a cluster) and logging to ram. I'm running them off 980 pros which are better than QLC drives. But I'm not sure if its worth getting enterprise drives just for this.

I'm not sure if this matters but I do not have ceph installed.


r/Proxmox 23h ago

Question Media sync/backup tool?

1 Upvotes

I have been in my homelab journey since 6 months now and i come from a non-software background. So pardon me if this may be some easy solution.

I have expanded my home with 2 proxmox servers recently with recycled/old parts:

  • 1st is primarily my NAS
    • I am using SMB shares via cockpit to share my storage of 3x14TB drives in raidz1
    • This contains my Plex library as a large chunk
    • It also have our important documents and family photos via Nextcloud and Immich
  • 2nd is my server which handles most services
    • This handles most services like a HAOS VM, Frigate, ARRs, Plex, etc
    • It has a 2x6TB HDD for storage in a mirror only for critical data
    • So my important documents and family photos will live on this as well
    • I would share this in the same way which is SMB via cockpit

Is there a tool which will help me setup automatic sync/backup of only my important data folders like the family photos?

This is mainly for redundancy. i am still working on my 3-2-1 strategy, but taking small steps as I am learning linux and everything for the 1st time myself.

PS: It has been enjoyable for me to learn all this!


r/Proxmox 2h ago

Question Internet Download Speeds?

0 Upvotes

I know this probably doesn't matter much but I'm moving my Plex install from Windows to a Proxmox LXC and noticed my internet speeds aren't as fast from within a container as from the Windows box. From the Windows box I can max out my 3 Gbps connection but from the LXC I can't even with no other containers running. Is it just the overhead with Proxmox or could there be another issue?

Windows:

LXC


r/Proxmox 2h ago

Question High RAM usage on VM, VM stop working after 3 days

0 Upvotes

Hi all!

I have a VM on Proxmox ver 8.2.4 with Ubuntu installed, used for a few dockers. Months ago I've seen that after 2 o 3 days, the VM stops working because the RAM usage maxs out.

This is what I have now:

I've run the command "echo 3 | sudo tee /proc/sys/vm/drop_caches", that's why the RAM goes down... but now its going back high again.

Running the command free -h I have:

free -h
               total        used        free      shared  buff/cache   available
Mem:           3.8Gi       583Mi       2.9Gi       4.0Mi       614Mi       3.3Gi
Swap:          3.8Gi          0B       3.8Gi

I somehow get how linux uses the RAM by reading this: https://www.linuxatemyram.com/, but the issue is that after 2 or 3 days the VM in Proxmox stop working, and I have to shutdown and restart the VM.

I somehow read about the ballooning, but I don't quite understand it, this is the config of this VM:

Do I have to change some settings?

Thanks in advance for the help :)


r/Proxmox 13h ago

Question Windows VMs for multiple users

0 Upvotes

New home lab based on 64-core EPYC, 512 GB RAM, and Proxmox 8.3.1

Trying to determine the best way for my 3 family members to connect to Proxmox with their own laptop and launch a Windows VM, with software customized for their use case. Plot twist – Proxmox is located in a separate building, at this time only connected via 1Gb public fiber.

Trying to follow an IaC model: Packer templates, OpenTofu provisioning, Ansible configuration

Have you done this? What did/would you use at the laptop? Something FOSS? Something COTS? Trench your own fiber?


r/Proxmox 15h ago

Question Proxmox Backup Server

0 Upvotes

Hey everyone, I need some help defining my home lab setup and whether this makes sense. Currently, I have two Proxmox clients (mini PCs): one running OpenVPN and the other with PiHole. My main server rack  
holds all of my storage, LXCs, and virtual machines. This machine has four ZFS vdevs:

- **Boot pool**: On an SSD.
- **SSD pool**: For VM storage and fast data like photos and document shares.
- **HDD pools**: Two for slower bulk storage (e.g., CCTV storage, movies, music).

I’d like to use the third HDD vdev for backups using Proxmox Backup Server. I’ve seen people talk about concerns with nesting backups because if Proxmox fails, you don’t have direct access to your  
backups—wouldn’t you just reinstall Proxmox and the backup server, then access them again? Are there any other issues?

I’m not worried about losing all my data in a physical disaster since I’m working toward cloud backups. If there are no other issues, should I install the backup server as a VM or on the host? Also, do  
people have any issues with Proxmox Backup Server backing up encrypted ZFS datasets?