退出集群
systemctl stop pve-cluster.service
systemctl stop corosync.service
pmxcfs -l
rm /etc/pve/corosync.conf
rm -rf /etc/corosync/*
killall pmxcfs
systemctl start pve-cluster.service
cd /etc/pve/nodes
rm -rf node_name
安装,这里不详述
换源并更新
https://www.jianshu.com/p/98e87febfd5e
当然还有debian的源
deb http://mirrors.aliyun.com/debian bullseye main contrib
deb http://mirrors.aliyun.com/debian bullseye-updates main contrib
# security updates
deb http://mirrors.aliyun.com/debian-security bullseye-security main contrib
设置gvt-g
https://foxi.buduanwang.vip/vdi/592.html/
这里新版本的pve可以更改/etc/kernel/cmdline
intel_iommu=on i915.enable_gvt=1
然后
proxmox-boot-tool refresh
加入集群
恢复zfs存储池
zpool import -f xxx
编辑zfs内存限制
/etc/modprobe.d/zfs.conf
options zfs zfs_arc_max=5368709120