increase virtio device limit

D

dazigizad

Guest
Hi,

I've been looking to attach a bunch of disks to a virtual machine. Since I'm attaching the raw disk, I have to use the command line. Unfortunately, it appears that the number of virtio disks is limited to 6 (0-5):
# qm set 102 -virtio6 /dev/sdg
Unknown option: virtio6
400 unable to parse option
qm set <vmid> [OPTIONS]

Using the help indicates that 6 is the limit. As expected, the GUI enforces this limit as well. The part that interests me is that if I look at the help in the Wiki (for the non-2.0 version), it says that it supports 16 virtio disks (0-15). See http://pve.proxmox.com/wiki/Qm_manual. I've been searching for a way to bump this limit, but have not been able to find anything. Is there a way to increase the limit in the 2.0 beta so that I can attach all of my disks?

Thanks,
Dj
 
This server runs a custom filesystem that stores large amounts of data. I was looking to move it off the physical server it is currently running on. There may be a way to try and get the host OS to run the custom filesystem, but a lot of diagnostics/alarms (as they are disk-level) would need to be moved there.
 
We use disk shelves, which hold 14 disks each as the repository for Disaster Recovery backups of our client's data. Each disk is seen by the OS as a seperate drive. By using seperate drives for each client we can, if need be, just pop the drive out and take it with us.
So a limit of 6 drives would mean we would need to split up that particular vm.
Any chance of getting the limit revised before 2.0 goes final?

regards
Craig
 
Any chance of getting the limit revised before 2.0 goes final?

The needed patch (pve-to-pci bridge) is still not committed, sorry. But you can try to use different dist types (ide, scsi, virtio) to get up to 14 devices.
 
The needed patch (pve-to-pci bridge) is still not committed, sorry. But you can try to use different dist types (ide, scsi, virtio) to get up to 14 devices.

I wasn't aware of that, should work fine then.

Thanks
 

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!