Skip to content

Support more disks in VM#1208

Open
jgus wants to merge 1 commit intonix-community:masterfrom
jgus:more-vm-devices
Open

Support more disks in VM#1208
jgus wants to merge 1 commit intonix-community:masterfrom
jgus:more-vm-devices

Conversation

@jgus
Copy link
Copy Markdown
Contributor

@jgus jgus commented Feb 12, 2026

This adds support for much larger numbers of disks in VMs. In my case, I wanted this so I could verify a config before deploying to a multi-array server.

The core limitation is that qemu virtio-blk-pci disks occupy a PCI slot each, and a large array can quickly exhaust available slots. This uses a PCI-to-PCI bridge to add another 32 slots, and, if we have more than 31 disks, starts daisy-chaining more bridges onto that.

  • Expanded the device name list up to /dev/vdzz
  • Added a PCI bridge (or a daisy chain of them), and added flags to each disk device to attach it to the appropriate bridge
  • Added an example with a zpool with 36 disks to test/demonstrate

@jgus jgus force-pushed the more-vm-devices branch 2 times, most recently from d7af84a to 7e9b063 Compare February 24, 2026 00:59
@jgus jgus force-pushed the more-vm-devices branch from 7e9b063 to 44d88df Compare March 24, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant