Passing a Physical Disk Drive to a Proxmox VM
Вставка
- Опубліковано 12 вер 2024
- #ProxMox #VM #Hypervisor #DiskDrive
Full steps can be found at i12bretro.gith...
01. Log into ProxMox VE, either at the console or the web UI and launch the web shell
02. Take note of the VM ID that the physical hard disk will be connecting to
03. Run the following commands
list hard disk devices and ids
lsblk |awk 'NR==1{print $0" DEVICE-ID(S)"}NR≫1{dev=$1;printf $0" ";system("find /dev/disk/by-id -lname \"*"dev"\" -printf \" %p\"");print "";}'|grep -v -E 'part|lvm'
copy the /dev/disk/by-id.... for the device to passthrough
add the disk to the VM, update the VM ID as needed
usage:
qm set ≪%VM ID%≫ -≪%VIRTUAL DEVICE%≫ ≪%DEV DISK ID%≫
qm set 100 -scsi1 /dev/disk/by-id/scsi-360026b902ad1ae00293167790419d3f2
04. Stop the VM and Start it fresh for the new configuration change to take effect
05. Verify inside the guest OS that the physical disk is connected
Source: pve.proxmox.co...)
Connect with me and others ###
★ Discord: / discord
★ Reddit: / i12bretro
★ Twitter: / i12bretro
Thank you for posting your videos. Huge help!
You're welcome, thanks for the comment
We can even map Graphic cart to this VM, so no need to use VNC console :)
work great without losing data
thank u bro 👏👏
Awesome, glad it was helpful!
Hey thanks for the video what if I have file in it and don’t want to format it , I just want to add it as a drive like d drive and access all my files
It should work just the same assuming the drive is already formatted in a file system the VM OS can read.
@@i12bretro thank you are right it worked I appreciate your videos
Glad to hear it worked. Thanks for the comments!
Quick unrelated question would GTx1080ti gpu pass through work on macos bigsur VM or am I wasting my time
Wasting your time. Here is a really good resource for what GPUs will work with which version of MacOS
dortania.github.io/GPU-Buyers-Guide/modern-gpus/nvidia-gpu.html#pascal-series-gtx-10xx
This is a noob question. I have only started to learn Proxmox and hypervisor in general. How do you get dark theme on Web gui? :D
It's unofficial, but really good. Here's how you install it ua-cam.com/video/HlfWnkrVFQE/v-deo.html
Keep getting sata6 error
Thank you so much. works well on VM.
How about LXC containers?
I tried the same method to pass a drive to LXC in proxmox but got the following error:
Configuration file 'nodes/vira/qemu-server/102.conf' does not exist
I've never tried with LXC. I'll have to look into it and see
I haven't had a chance to fully test this, but I believe LXC config files are located in /etc/pve/lxc/