intel n95 pve折腾记录

最后由 Tabing010102 更新于 2024年7月11日

sriov切显卡,这里切了两个VF,一个给win10虚拟机远程用(这里parsec可以开hevc,sunshine暂时不行,且有时候会无法捕获屏幕),一个给linux虚拟机给plex硬件编解码用

proxmox | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

PCI(e) Passthrough – Proxmox VE

畅网N100十二代低功耗多网口小主机测评 开箱/拆解/烤机/温度/功耗/12代PVE安装简单避坑/SRIOV核显直通/硬解 (youtube.com)

strongtz/i915-sriov-dkms: dkms module of Linux i915 driver with SR-IOV support (github.com)

apt upgrade
apt install pve-kernel-6.2 pve-headers-6.2 pve-firmware

4316驱动:Intel® Arc™ Pro Graphics – Windows*

igpu passthrough — failed

https://forum.proxmox.com/threads/no-ipv6-on-host-but-all-vms-have-working-ipv6.115995/post-501644

host folder passthrough for linux

host中:

编辑/etc/pve/qemu-server/<YOUR_VMID>.conf,添加/修改
```
args: -virtfs local,path=/path/to/share,mount_tag=your_share_tag,security_model=passthrough
```

guest中:

编辑/etc/initramfs-tools/modules,添加
```
9p
9pnet
9pnet_virtio
```
执行update-initramfs -u

[TUTORIAL] – Proxmox storage – Host to VM folder passthrough with 9p | Proxmox Support Forum

Documentation/9psetup – QEMU

docker容器无法监听

https://github.com/moby/moby/issues/38974#issuecomment-504148014

[Bug]: Debian 11 encounters apparmor DENIED · Issue #124 · mbentley/docker-timemachine (github.com)

plex

硬件编解码,映射/dev/dri

db无法读取/读取报错,不支持virtfs

Plex media server does not start if db volume in megerfs pool – General – openmediavault

加入动漫检测

在Ubuntu上使用Plex创建专属的动画番剧库 – 天雨的博客 – Masterain (irain.in)

windows安装qemu-guest-agent失败

msdtc -uninstall
msdtc -install
; 重启再重试安装

https://forum.proxmox.com/threads/qemu-guest-fails-to-install.86030/post-557298

lxc tun/tap

PVE 7 OpenVPN (LXC) problem: Cannot open TUN/TAP dev | Proxmox Support Forum

OpenVPN in LXC – Proxmox VE

nut

Copy一下OMV下安装nut的过程:

安装依赖:

make automake gcc g++ libtool libmodbus-dev libgd-dev libusb-1.0-0 libusb-1.0-0-dev libsystemd-dev

配置

./configure --with-modbus --with-user=nut --with-group=nut --with-cgi --with-libsystemd
usermod -a -G dialout nut

libvirt配置为host关机时suspend所有guest,配置文件(/etc/default/libvirt-guests):

ON_SHUTDOWN=suspend
SHUTDOWN_TIMEOUT=90

其中,有virtiofs的guest不能被suspend(这玩意在Windows漏内存严重)

异常关机,可能需要手动清空/var/state/ups/

参考:

UPS Nut 配置教程 – Kovacs (mritd.com)

文档:

UPS.CONF(5) (networkupstools.org)

HUAWEI_UPS2000(8) (networkupstools.org)

UPSMON.CONF(5) (networkupstools.org)

WinServer虚拟机

这里装的WinServer2012R2使用virtio-win驱动189没有签名问题,高版有部分可能有签名问题

Views: 24

发布者:Tabing010102

???

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据