[SOLVED] Cannot see, access or create config files

xelra

New Member
Feb 3, 2024
3
1
3
I'm running Proxmox in standalone mode. On the node I've create a single VM with the number 100. Everything seemed to be working fine, but then I wanted to pass through the Intel QuickSync GPU. I read that I need to edit /etc/pve/lxc/100.conf, but I have the weirdest behavior that I cannot explain.

When I browse to where I expect the config file to be, the directory is empty.
Code:
root@proxie:~# ls -al /etc/pve/lxc/
total 0
drwxr-xr-x 2 root www-data 0 Jan 13  2028 .
drwxr-xr-x 2 root www-data 0 Jan 13  2028 ..

But when I want to create the file, it says it already exists.
Code:
root@proxie:~# touch /etc/pve/lxc/100.conf
touch: cannot touch '/etc/pve/lxc/100.conf': File exists

What?! :oops:

One thing I noticed though is that the file creation dates on many of my files is far into the future. When I installed Proxmox, the system clock was in 2028. I've since fixed this, but ever since it feels like my GUI session times out randomly and way too quickly.
 
Oh, I see. I didn't know that there are containers and VMs in Proxmox. I only started out a few days ago.

I guess I'll be reading the IOMMU documentation now to figure out how to get the Intel GPU of my N305 into the VM.
 
Just for everyone's interest. I figured it out. I simply had to add intel_iommu=on iommu=pt to the kernel parameters in /etc/default/grub. Reboot after running update-grub.

Then in the VM settings in the GUI, in the hardware tab, I added the Intel GPU as a raw device with "All Functions", "Primary GPU", "ROM-Bar and "PCI-Express" enabled.
That made the GPU available inside the VM.

Since I actually needed the GPU inside a Docker container within the VM, I simply mounted the /dev/dri device into the container. Now it all works. It was pretty straightforward and I didn't run into any bugs or necessary workarounds.

I thought this might be helpful for anyone who lands here with the same issue, following that guide for QuickSync for LXC containers, but really needing one for VMs.
 
Last edited:
  • Like
Reactions: leesteken

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!