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

Mucip

Renowned Member
Apr 4, 2016
71
7
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!