差異處

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

連向這個比對檢視

兩邊的前次修訂版 前次修改
tech:pvetips [2024/04/11 11:16] – 調整格式 jonathantech:pvetips [2024/04/13 23:46] (目前版本) – [Move Disk 出現 timeout 議題] jonathan
行 717: 行 717:
   * 也可調整為 writeback 模式後(Host Page Cache:enabled, Disk Write Cache:enabled), 進入 VM 內使用 wget -qO- bench.sh | bash 進行效能測試來比對調整後的結果 \\ {{:tech:20231018-0605.png|}}   * 也可調整為 writeback 模式後(Host Page Cache:enabled, Disk Write Cache:enabled), 進入 VM 內使用 wget -qO- bench.sh | bash 進行效能測試來比對調整後的結果 \\ {{:tech:20231018-0605.png|}}
  
 +===== Move Disk 出現 timeout 議題 =====
 +  * 參考 - https://forum.proxmox.com/threads/how-do-you-move-large-disk.117633/
 +  * 當 VM Hard Disk 透過 Disk Action -> Move Storage 到 NFS 的 Storage Exp. pvs-253-nfs 結果等 60 秒出現 timed out 類似以下的訊息<cli>
 +create full clone of drive scsi0 (zfs-raid:vm-106-disk-0)
 +Formatting '/mnt/pve/pbs-253-nfs/images/106/vm-106-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=536870912000 lazy_refcounts=off refcount_bits=16
 +TASK ERROR: storage migration failed: unable to create image: 'storage-pbs-253-nfs'-locked command timed out - aborting
 +</cli> 
 +  * 主要的原因就是 pve-253-nfs 這 Storage 速度太慢, 無法在 60 秒內建立出 500G 的磁碟空間(preallocation).. 所以可以設定對這 storage 不要 preallocation, 作法如下<cli>
 +pvesm set pbs-253-nfs --preallocation off
 +</cli>這樣針對 pbs-253-nfs 這 storage 就不會在搬移前進行 preallocation.
  
 ===== 讓 PVE 6 安裝 CentOS7 的 CT 移轉至 PVE 7 的妥協做法 ===== ===== 讓 PVE 6 安裝 CentOS7 的 CT 移轉至 PVE 7 的妥協做法 =====
  • tech/pvetips.txt
  • 上一次變更: 2024/04/13 23:46
  • jonathan