3-2-3-6
MountPoint 遷移 解決方法
來源:FB Proxmox VE 伺服器虛擬化管理平臺
- XC 加掛 MountPoint 後是不允許 migration 的,
因為 pve 認定那是 local file system 無法 migration 的
解法:
- 可以 migration , 只要確定 migration 過去的node 有那個 mount point
mp0: /pvestorage//srv_tftp,mp=/srv/tftp,shared=1
重點 shared=1
- 用 lxc.mount.entry 的模式,
是可以欺騙 pve 然後允許你 migration 的喲,
但是你的 share storage 要確定兩邊都有喲如果你
請看第一行第二行 這個是我從 mp0 轉換成為 lxc.mount.entry:
#mp0: volume=/data/storage/downloads,mp=/storage/downloads
lxc.mount.entry=/data/storage/downloads storage/downloads none bind,create=dir 0 0
