Skip to content

Commit

Permalink
fix(proxmox): passtrough hard drive
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Oct 8, 2023
1 parent 3387b75 commit 2091ec4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Virtualization/ProxMox/proxmox-passtrough-hard-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Passtrough a hard drive from the Proxmox host to a VM

## Find the hard drive & copy the UUID

```bash
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,MODEL
```

## Find the vm id

```bash
qm list
```

## Passtrough the hard drive as scsi

```bash
qm set $vm_id -scsi2 /dev/disk/by-uuid/$disk_uuid
```

## In case it should be removed

```bash
qm unlink $vm_id --idlist scsi2
```

0 comments on commit 2091ec4

Please sign in to comment.