差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
tech:pve8to9 [2025/11/15 23:53] – [執行升級] jonathantech:pve8to9 [2025/11/17 18:03] (目前版本) – [Proxmox VE升級後] jonathan
行 50: 行 50:
   - 更新 apt repo 設定<cli>   - 更新 apt repo 設定<cli>
 sed -i 's/bookworm/trixie/g' /etc/apt/sources.list sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
 +</cli>
   - 新增 Proxmox VE 9 免訂閱軟體來源<cli>   - 新增 Proxmox VE 9 免訂閱軟體來源<cli>
 cat > /etc/apt/sources.list.d/proxmox.sources << EOF cat > /etc/apt/sources.list.d/proxmox.sources << EOF
行 58: 行 59:
 Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
 EOF EOF
 +</cli>
   - 檢查 /etc/apt/sources.list, /etc/apt/sources.list.d/pve-install-repo.list 內容, 如果有先前的 Proxmox VE 相關軟體來源設定要移除   - 檢查 /etc/apt/sources.list, /etc/apt/sources.list.d/pve-install-repo.list 內容, 如果有先前的 Proxmox VE 相關軟體來源設定要移除
   - 更改後先執行<cli>   - 更改後先執行<cli>
行 65: 行 67:
   - 設定停用稽核訊息, 避免升級期間日誌過度膨脹<cli>   - 設定停用稽核訊息, 避免升級期間日誌過度膨脹<cli>
 systemctl disable --now systemd-journald-audit.socket systemctl disable --now systemd-journald-audit.socket
-</cli> 
-  - 如果 PVE 系統開機是在 EFI 模式且 root 是 LVM, 為避免 GRUB 無法從 LVM 開機問題, 需先執行以下命令<cli> 
-[ -d /sys/firmware/efi ] && apt install grub-efi-amd64 
 </cli> </cli>
   - 進行 Debian Trixie 與 PVE 9 更新<cli>   - 進行 Debian Trixie 與 PVE 9 更新<cli>
行 75: 行 74:
     * Configuration file '/etc/issue' -> N     * Configuration file '/etc/issue' -> N
     * Configuration file '/etc/lvm/lvm.conf' -> N     * Configuration file '/etc/lvm/lvm.conf' -> N
- * Configuration file '/etc/default/grub' -> Keep+    * Configuration file '/etc/default/grub' -> Keep
     * Configuration file '/etc/ssh/sshd_config' -> N     * Configuration file '/etc/ssh/sshd_config' -> N
     * Configuration file '/etc/default/grub' -> N     * Configuration file '/etc/default/grub' -> N
行 96: 行 95:
   * 對於叢集   * 對於叢集
     - 檢查所有節點是否都已啟動並運行在最新版本     - 檢查所有節點是否都已啟動並運行在最新版本
- - Proxmox VE 9 棄用了 HA groups,轉而使用 HA rules。如果在 PVE8 使用了 HA,在所有叢集節點升級到 Proxmox VE 9 後,HA groups 將自動遷移到 HA rules。+    - Proxmox VE 9 棄用了 HA groups,轉而使用 HA rules。如果在 PVE8 使用了 HA,在所有叢集節點升級到 Proxmox VE 9 後,HA groups 將自動遷移到 HA rules。 
 +  * 關於 Updates -> Repositories  
 +    * 如果在 Node 上面執行<cli>apt-get update</cli>出現異常, 應該是 pve-enterprise 是開啟狀態, 透過 Web Ui 可以將之關閉即可正常更新 \\ {{:tech:螢幕擷取畫面_2025-11-17_180009.png?1000|}} 
 +  * 對於 ZFS, 升級後 ZFS 版本也更新, 要針對每個 ZFS 進行手動升級 Exp. zpool upgrade local-zfs <cli> 
 +root@nuc:~# zpool upgrade local-zfs 
 +This system supports ZFS pool feature flags. 
 + 
 +Enabled the following features on 'local-zfs': 
 +  redaction_list_spill 
 +  raidz_expansion 
 +  fast_dedup 
 +  longname 
 +  large_microzap 
 +</cli>
  
 ===== 參考網址 ===== ===== 參考網址 =====
  • tech/pve8to9.1763222007.txt.gz
  • 上一次變更: 2025/11/15 23:53
  • jonathan