HKL's Notes
Just Record Things. Linkedin · Github


Proxmox PVE 为VM挂载物理硬盘

By , on , tagged: 🏷️Operating  🏷️Linux  🏷️Virtualization 

1、查询物理硬盘标号 ls /dev/disk/by-id/ 假设搜到的硬盘ID为”ata-ST1000DM010-ABCDE_FGHJKL”

2、挂载硬盘到虚拟机中 qm set 100 --sata2 /dev/disk/by-id/ata-ST500DM002-1BD142_S2AKZ4ML

其中100为虚拟机ID号



Articles are licensed under CC BY-NC 4.0