[SOLVED] How to add phyzical disk in to guest operating system?

Mucip

Renowned Member
Apr 4, 2016
87
8
73
Hi,
Is it possible to add phyzical drive in to guest operating system.
I use Proxmox 6.2.4 and I'm very happy with it. I have Debian and one Win10 guests.

I need e disk storage. I want to add 6 TB extra disk in to Proxmox and mount it in Debian guest? Like "/mnt/extra6TB"?

Regards,
Mucip:)
 
hi,

yes it's possible.

for example if your disk is /dev/sda on the PVE host, then you can add it to a VM like so: qm set VMID --scsi1=/dev/sda. (scsi[N] can be different number, check your vm configuration to see if it's free)

beware that this will prevent guest migration.
 
Last edited:
no, only from command line.
 
Hi,
My VM id is 100 and scsi0 is full.

Than I need to use this command;

#qm set 100 --scsi1=/dev/sdb


Regards,
Mucip:)
 
if /dev/sdb is the device you want to passthrough, then yes.
 
you're welcome. please mark the thread [SOLVED] by editing the title prefix.