Requirements:
- you must have installed proxmox with root on zfs - aka when you installed proxmox you installed it on a zfs filesystem
mount /dev/nvme0n1p2 /boot/efi/
mkdir /boot/efi/EFI/zfsbootmenu/
agent: 1 | |
balloon: 0 | |
bios: ovmf | |
boot: order=hostpci0;virtio1 | |
cores: 24 | |
cpu: host,hidden=1,flags=+pdpe1gb;+hv-tlbflush;+aes | |
efidisk0: local-zfs:vm-100-disk-0,efitype=4m,size=1M | |
hookscript: local:snippets/hookscript.sh | |
hostpci0: 0000:06:00,pcie=1,rombar=0,romfile=RTX3090-OG-Founders.bin | |
hostpci1: 0000:08:00.4 |
#!/bin/bash | |
INACTIVE_THRESHOLD=1800 # 30 minutes in seconds | |
CHECK_INTERVAL=1 # How often to check disk activity, in seconds | |
SAMPLE_DURATION=1 # Duration for iostat to collect data, in seconds | |
DEBUG=1 # Set to 1 to enable debug mode, 0 to disable | |
LOW_ACTIVITY_THRESHOLD_READ=5000 # Threshold for read activity in kB/s, adjust as needed | |
LOW_ACTIVITY_THRESHOLD_WRITE=5000 # Threshold for write activity in kB/s, adjust as needed |
Recovering your system using a ZFS snapshot involves rolling back to the state of the system when the snapshot was taken. This process can vary depending on what exactly has "fucked up" in your system. Here's a general guide on how to recover:
Why? I don't know, but it was the last set of commands that I ran before things started working again, mostly from what I read online the issue seemed to be caused by storage issues, and I did have some corruption going one which I fixed but still had this issue, these last commnands fixed it apparently:
service pve-cluster stop
service corosync stop
service pvestatd stop
service pveproxy stop
service pvedaemon stop
{ | |
"battery": { | |
"charge_rate": { | |
"min": 250, | |
"max": 2500 | |
}, | |
"extra_readouts": false | |
}, | |
"cpus": { | |
"cpus": [ |
Source: https://www.reddit.com/r/jellyfin/comments/cig9kh/nvidia_quadro_p400_passthrough_on_proxmox/
Ok, finally got it working. I'll provide a writeup here of my steps. But these are for Proxmox with an Ubuntu 1810 container only. If you want to use a different setup, you will have to figure it out yourself.
apt install pve-headers-$(uname -r)
# Home assistant - frigate card - prevent touch inputs when casting to Google Hub | |
# The reason I need to prevent touch input is because for some reason playback doesn't work | |
# and I need static cards that don't start playback when I click on them as the frigate cards do | |
# there is no option to turn that off so this script can be injected into the dashboard to | |
# prevent touch input on those cards only | |
let result = []; |