适用版本: Proxmox VE 8 / 9 · Intel & AMD 均适用
难度: 初级 · 耗时: ~10 分钟
Proxmox VE 9 默认不在 Web UI 中展示硬件温度,对 Homelab 玩家来说是个小遗憾。本文提供经过验证的完整流程——安装传感器、修改 Dashboard、取消订阅弹窗,以及更现代的外部监控方案。
一、安装温度传感器
SSH 登录 PVE 节点,依次执行:
适用版本: Proxmox VE 8 / 9 · Intel & AMD 均适用
难度: 初级 · 耗时: ~10 分钟
Proxmox VE 9 默认不在 Web UI 中展示硬件温度,对 Homelab 玩家来说是个小遗憾。本文提供经过验证的完整流程——安装传感器、修改 Dashboard、取消订阅弹窗,以及更现代的外部监控方案。
SSH 登录 PVE 节点,依次执行:
本文记录一次真实的 PVE 8.4.19 → PVE 9.2.2 原地升级过程,包含踩坑、源配置细节,适合国内用户参考。
| 项目 | 值 |
|---|---|
| 升级前版本 | pve-manager/8.4.19 |
| 升级后版本 | pve-manager/9.2.3 |
| 内核 | 6.8.12-25-pve → 6.14.x-pve |
| Debian | Bookworm → Trixie |
| 镜像源 | USTC(中科大) |
| Ceph | 未使用 |
| 容器 | 无 |
原版的openwrt磁盘容量太小,安装了两个插件, 磁盘容量就报不足了, 需要扩容磁盘
旧的博客PVE之openwrt的ext4格式扩容为2025年的博客,当前环境进行升级,核心步骤未变
PVE服务器版本
# root@:~# pveversion -v
proxmox-ve: 8.4.0 (running kernel: 6.8.12-15-pve)
pve-manager: 8.4.14 (running version: 8.4.14/b502d23c55afcba1)
cat /etc/config/network
注意:eth0为内网网卡,虚拟的局域网网卡,eth1为外网网卡可以上网的网卡
对应net0为内网网卡,net1为外网网卡
下面配置本版本只修改了option ipaddr '172.16.1.1'这一项
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd69:b7e9:1122::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '172.16.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
原版的openwrt磁盘容量太小,安装了两个插件, 磁盘容量就报不足了, 需要扩容磁盘
PVE服务器版本
# root@:~# pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.8.12-8-pve)
pve-manager: 8.3.4 (running version: 8.3.4/65224a0f9cd294a3)
原版的openwrt磁盘容量太小,安装了两个插件, 磁盘容量就报不足了, 需要扩容磁盘
PVE服务器版本
# root@:~# pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.8.12-8-pve)
pve-manager: 8.3.4 (running version: 8.3.4/65224a0f9cd294a3)
某些比较好用的openwrt没有持续维护以及不需要使用一些插件, 所以选择安装原版openwrt,然后自选插件进行安装配置
PVE服务器版本
# root@:~# pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.8.12-8-pve)
pve-manager: 8.3.4 (running version: 8.3.4/65224a0f9cd294a3)
PVE安装版本
# root@:~# pveversion -v
proxmox-ve: 8.1.0 (running kernel: 6.5.11-7-pve)
pve-manager: 8.1.3 (running version: 8.1.3/b46aac3b42da5d15)
在PVE系统中通过
USB3断开连接外置存储的时候经常莫名的断开, 对外表现就是访问存储的目录出现IO错误, 需要重启系统才能再次识别磁盘。
PS: 即使用UUID挂载磁盘也存在IO错误问题
journalctl -r | grep 'USB disconnect'
Nov 15 22:53:04 xxxxx kernel: usb 4-4: USB disconnect, device number 2
Nov 15 20:42:20 xxxxx kernel: usb 4-4: USB disconnect, device number 1
某天发现
zfs status -v出现
zpool status
pool: data
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
scan: resilvered 10.4M in 00:00:05 with 0 errors on Sat Oct 26 13:40:01 2024
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sdd1 ONLINE 0 0 0 block size: 512B configured, 4096B native
sdd2 ONLINE 0 0 3 block size: 512B configured, 4096B native
sdb ONLINE 0 0 0