2023/02/04
2023/01/10
前一陣子發生了一件很OX的事
試了很久 現在做個記錄
因為有幫別的部門架了一台proxmox
而且那個部門也有一台nas
因此我就在那台nas上開了nfs然後用pbs備份
他老兄在某一天竟然進到nas把我備分用的那個nfs裡的資料砍了
然後第二天就出現了如下的error
ProxmoxBackup Server 2.3-2
2022-12-29T00:00:00+08:00: starting garbage collection on store nfs418
2022-12-29T00:00:00+08:00: task triggered by schedule 'daily'
2022-12-29T00:00:00+08:00: Start GC phase1 (mark used chunks)
2022-12-29T00:01:03+08:00: marked 5% (1 of 17 index files)
2022-12-29T00:04:14+08:00: marked 11% (2 of 17 index files)
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk c3fe251560dcd2cc5aef7cfbd6669d0dd9ca7491c455f537efc6d319b09892ec, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 6dc29793341c20c7c80910a73893501b034a0e29c14a444d214d835ccffc0d16, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 1f81c244f9b7816ab37d3ef7ffdcd10443eb1bddb3fa44e036186b73f1fee33a, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 95c7e6747d43b5b516e1768a1f258f352aeb47b23fd46575440dc3d820d1b253, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 9513a7e5c650245d3344115115b21285cc8f426e5284fa04159ea96e49856535, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 68b2b40dd3bacba9e649c67862011934bc7f048d8ea2d35fbd95c39f9d5cf7c4, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 494608d49f57039fd7a8378e1a2a2cf6bb0688773a525addc2f54507a94cd11d, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 09eab384d5f3cbf657db1c0750ef52be2f1dbdf134f977a24dc095382b6e25ed, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
2022-12-29T00:04:14+08:00: WARN: warning: unable to access non-existent chunk 9c1208d43242276c75a4f65f41054e4bc0e7e1144a61c951902bb8df94f055c9, required by "/mnt/nfs418/vm/108/2022-12-27T15:45:38Z/drive-virtio0.img.fidx"
..........................................
後面還一大堆
本來是想說把pbs上的datastore砍了重建應該可以解決問題
forum上也是醬說的
結果不是
我砍了datastore重建
甚至在nas上再開另一個nfs後再重建datastore
過沒几天又會出現如上的錯誤
最後的解決方法是直接重裝一台新的pbs
問題才解決
無言中
2022/07/29
proxmox-backup-client restore --repository root@pam@10.0.0.1:8007:test host/test-pbs-almalinux8/2022-07-29T06:23:05Z aaa.pxar /tmp/test
2021/10/01
在synology的nas裝好 pbs後
要更新出現以下的錯誤
Err:4 http://download.proxmox.com/debian/pbs bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD4BA3917E23BF59
Reading package lists... Done
W: GPG error: http://download.proxmox.com/debian/pbs bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD4BA3917E23BF59
E: The repository 'http://download.proxmox.com/debian/pbs bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
應該是GPG key 沒有裝
以下指令安裝
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
再update就沒問題了
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye#Install_Proxmox_VE
2020/11/01
延續之前的問題
synology有提供docker的套件可以使用
之前一直都是使用proxmox的LXC
所以沒想去玩docker
想說玩看看
使用上滿方便的
直接安裝後就可以用了
倉庫伺服器是直接連到 hub.docker.com
利用關鍵字search就可以找到相關的映像檔
於是搜尋了一下 找到 好几個 proxmox backup server
有些並沒有在維護 所以要使用時請自行考量
這次選了這個
https://hub.docker.com/r/mslookup/proxmoxbackupserver
看起來一直有在更新
下載之後佈署
佈署過程在進階設定有二個地方要設
連接埠要設定好對應
要設定開几執行指令
開机完成後要更改 root的密碼
在詳細資訊 - 終端機 - 新增 執行指令
新增完成後執行
就可以修改 root 密碼
修改完成後到
https://nas_ip:8007
即可使用修改完成的密碼登入
之後如果有更新
可以直接在網頁管理介面上下指令更新
apt update
apt -y upgradde
某些更新完成後需要重開
另外還有一個問題就是
如果nas 更新 重開後要記得再手動把容器開機
2020/10/20
原本用來備分的server 在週六掛點
因為已經過保好几年 也不修了
打算在synology的vmm起一個pbs
碰到一個很怪的問題
只要我給超過4T的disk
使用XFS
安裝過程都沒問題
但裝完後一定無法開机
如以下畫面
詢問官方的回答
https://www.synology.com/zh-tw/dsm/feature/virtual_machine_manager#supports_OS
因為debian沒有在官方的support os
所以不提供任何support
雖然這是料想到的答案
但還是有點不爽
想到用另一個方式來做
試了給三個5T的disk
然後用 zfs 0 安裝
安裝過程沒問題 也能開機
應該只能醬處理了
2020/07/14
今天在測試 proxmox backer server (pbs)
感覺把之前一直敲碗的功能補上了
裝好後必須設定datastore
目前是一定要使用目錄 絕對路徑 所以只能先到OS把外部的storage mount 進來再設定

再來就是proxmox 要怎麼掛進來用
如果升到 pve-manager 6.2-9
在add storage時就會看到 Proxmox Backup Server可以用
只是要掛上去時試了一下
注意一下要輸入的值
https://www.proxmox.com/en/downloads/category/proxmox-backup-server




