Ferro's Gitbook
  • README
  • DevOps
    • Grafana_Cloud
  • OpenWrt
    • DHCP_DNS
    • GLiNet
    • boot
    • captive_portal
    • luci
    • mwan3
    • radius
    • theme
    • wireless
  • apps
    • web
  • BSD
    • Mac
  • Cloud
    • aws
    • azure
    • cf
    • gcp
    • github
    • ibm_bluemix
    • Pricing
  • container
    • docker
    • Kubernetes
    • podman
  • db
    • InfluxDB
    • loki
    • MySQL & MariaDB
    • Oracle
    • PostgreSQL
  • dev
    • AHK
    • BI
    • LBS
    • ML
    • android
    • editor
    • flutter_web
    • git
    • go
    • HTML5/BS
    • j2ee
    • js
    • js_grid
    • js_vue
    • jupyter
    • ocaml
    • powershell
    • py
    • py_GUI
    • Django
    • shell
    • snippets
    • uni
    • vba
    • wechat.zh
    • wechat_mp.zh
  • elec
    • 3D Printing
    • AC
    • MOSFET
    • battery
    • boost
    • bulk
    • metal
    • simulator
  • hw
    • GPU
    • PCI
    • arduino
    • Bluetooth
    • ent
    • Pinout
    • x86_AMD
    • x86_intel
  • linux
    • Test System
    • X
    • arch
    • fs
    • kernel
    • Memory
    • nw
    • Linux Services
    • Systemd
    • text
  • ms
    • vscode
    • windows
    • wsl
  • multimedia
    • Blender
    • audio
    • blender
    • graphics
    • home
  • nw
    • L3
    • L3_IPv6
    • SDN
    • VPN
    • dns
    • hw
    • Low Level
    • mikrotik
    • mwan
    • Openflow
    • OVS
    • pfsense
    • ppp
    • proxy
    • tsocks
    • pxe
    • Security
    • TCP
  • phone
    • Mi
    • android
  • Storage(SW)
  • vt
    • Intel GVT-g
    • PVE
    • QEMU
    • VDI
    • hyper-v
    • kube
    • libvirt
    • OpenStack
  • Web
    • IBM_MQ
    • IBM_Websphere
    • SSL
    • Apache/IBM_IHS
    • blockchain
    • caddy
    • j2ee
    • nginx
    • static_site
Powered by GitBook
On this page
  • Doc
  • qm
  • Boot
  • apt
  • Disk
  • import
  • raw disk map
  • iso
  • PCI Passthrough
  • GPU
  • SR-IOV
  • NUMA
  • Scripts

Was this helpful?

Edit on Git
  1. vt

PVE

PreviousIntel GVT-gNextQEMU

Last updated 7 months ago

Was this helpful?

Doc

  • v8: https://pve.proxmox.com/pve-docs/pve-admin-guide.pdf

  • v7: https://pve.proxmox.com/pve-docs-7/

qm

https://pve.proxmox.com/pve-docs-7/qm.1.html

qm list
qm reset/stop # immediately
qm reboot/shutdown # clean

Boot

Serial: follow debian

pve-efiboot-tool kernel list
pve-efiboot-tool refresh

apt

https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription # 8.x

Disk

dmsetup ls --tree
lvs

ln -s /var/lib/vz/template/iso/ iso

https://pve.proxmox.com/wiki/Storage

  • file + block : zfs

import

qm disk import 100 x.img local-lvm # webUI: add disk & boot order

raw disk map

https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)

find /dev/disk/by-id/ -type l|xargs -I{} ls -l {}|grep -v -E '[0-9]$' |sort -k11|cut -d' ' -f9,10,11,12
qm set 100 -scsi2 /dev/disk/by-id/ata-... # add
qm unlink 100 --idlist scsi2

iso

ls -lh /var/lib/vz/template/iso/

PCI Passthrough

  • All: https://pve.proxmox.com/wiki/PCI(e)_Passthrough

GPU

https://pve.proxmox.com/wiki/PCI_Passthrough

SR-IOV

https://github.com/strongtz/i915-sriov-dkms

apt install -y sysfsutils && cat /etc/sysfs.conf | grep -v ^#
cd /sys/devices/pci0000:00/0000:00:02.0 && grep '' sriov*

dmesg | grep VF
lspci | grep VGA

Windows Guest: All Functions + Advanced(click all)

NUMA

https://pve.proxmox.com/wiki/NUMA

numactl --hardware # both host & vm

Scripts

https://tteck.github.io/Proxmox/

Doc
qm
Boot
apt
Disk
import
raw disk map
iso
PCI Passthrough
GPU
SR-IOV
NUMA
Scripts