User Tools

Site Tools


myhelp:proxmox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
myhelp:proxmox [2025/08/01 08:44] – created - external edit 127.0.0.1myhelp:proxmox [2026/06/02 08:08] (current) ulrich
Line 1: Line 1:
-====== Other notes ======+====== PVESH ====== 
 +===== Add a pool and subpool ===== 
 +<code> 
 +pvesh create /pools --poolid PROD 
 +pvesh create /pools --poolid "PROD/db" 
 +</code>
  
 +
 +===== Add Resource Mappingse for PCI Devices =====
 +In this example we add a NVIDIA GPU.
 +  - Get PCI address <code>lspci |grep -e NVIDIA|grep VGA|cut -d. -f1
 +eb:00</code>
 +  - Get Subsystem ID from PCI address <code>lspci -vnn -s  eb:00|grep Subsystem|awk '{print $4}'| tr -d '[]'|head -n1</code>
 +  - Get IOMMU group from PCI address <code>find /sys/kernel/iommu_groups/ -type l | grep 3b:00|awk -F'/' '{print $5}'|head -n1</code>
 +  - Get Vendor ID from PCI address <code>lspci -nn -s 3b:00 |head -n1|awk '{print $11}'| tr -d '[]'</code>
 +  - Add Ressource Mapping <code>pvesh create /cluster/mapping/pci --id myGPU--description "My GPU" \
 +--map id=<Vendor ID>,iommugroup=<Group ID>,node=<nodename>,path=0000:<PCI address>,subsystem-id=<Subsystem ID> 
 +#example:
 +pvesh create /cluster/mapping/pci --id myGPU--description "GPU for XYZ" \
 +--map id=10de:25b2,iommugroup=91,node=f-c-pve01-2-224,path=0000:eb:00,subsystem-id=17aa:1879</code>
 +
 +
 +====== Other notes ======
 ==== Enable/Disable Maintence Mode ==== ==== Enable/Disable Maintence Mode ====
 <code> <code>
myhelp/proxmox.1754037860.txt.gz · Last modified: (external edit)