分類: Proxmox VE
thumbnail

VM掛載實體硬碟

ls -l /dev/disk/by-id/ nano etc/pve/qemu-server/100.conf 增加: virtio0: /dev/disk/by-id/ata-XXXXXXXX,size=XXXG
thumbnail

Fail2ban安裝設定

安裝 Fail2ban: apt install fail2ban 編輯 /etc/fail2ban/jail.local nano /etc/fail2ban/jail.local [proxmox-web-gui] enabled = true port = ht……
thumbnail

修復Proxmox 叢集未啟動

遇到:TASK ERROR: cluster not ready – no quorum? 執行: pvecm expected 1 並 service pve-cluster restart
thumbnail

Proxmox VE administration Guide

Proxmox VE administration Guide pve-admin-guide-5-2   https://pve.proxmox.com/pve-docs/pve-admin-guide.pdf
thumbnail

grub參數設定(適用UEFU/USB Boot/PCIe Passthrough/SR-IOV/GVTg)

Legacy: nano /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" 選填: pcie_acs_override=downstream AMD: amd_iommu=on US……
thumbnail

轉移PVE log

tank=儲存池名稱 zfs create tank/log zfs set compression=lz4 tank/log rsync -avx /var/log/* /tank/log zfs set mountpoint=/var/log tank/log
thumbnail

PVE來源與安裝套件

PVE安裝完成後首次步驟: nano /etc/apt/sources.list.d/pve-enterprise.list 註解掉下面這一行 # deb https://enterprise.proxmox.com/debian bullseye pve-……
thumbnail

USB Pass Through(CLI)

顯示usb裝置: lsusb 記住要的裝置 eg. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 進入QEMU VM管理: qm monitor (VMID) 進……
thumbnail

測試工具與使用

tank=儲存池名稱或目錄名稱 Bonnie++: 安裝: apt install bonnie++ 測試: bonnie++ -u root -r 1024 -s 32768 -d /tank -f -b -n 1 -s 測試大小(32768=32GB……
thumbnail

ZFS相關指令

ZFS: 建立子目錄: zfs create RAID/iscsi 建立指定容量子資料池: zfs create -V 200G RAID/iscsi/windows 設定儲存池掛載點: zfs set mountpoint=/……