Proxmox 4 beta1 - Block Device with Serial Number

baggar11

Renowned Member
Aug 14, 2015
26
1
68
Portland, OR
www.puddlehunters.net
Hi guys,

I'm trying to pass along /dev/sdb to my guest as a virtio device using 'qm set 100 -virtio0 /dev/sdb' which seems to work. But I'd like to pass along the serial number of the drive as well. So I added to that command and tried 'qm set 100 -virtio0 /dev/sdb -args serial='SERIALXX.' The command is successful, but the vm won't boot after that.

So next I found the 100.conf file in /etc/pve/qemu-server and noticed the 'args' portion wasn't part of the virtio device line. So I fiddled with the virtio0: line with no luck. I've worked with guest kvm xml files, but I'm not familiar with how Proxmox does vm settings.

Can I pass a block device with serial number to the guest? Thanks!!

baggar11
 

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!