Passthrough Physical HDD (24HDD - 36HDD)

jiawoo

New Member
May 16, 2025
1
0
1
New help for correct configuration to pass through all hard drive in Proxmox, I was try to install Xpendology as my NAS. Unfortunately Proxmox have drive limit.

I manage to passthrough 6 SATA be default, then maximum now can set only 11 SATA drive pass through, if i try continuoes to same configuration it will show can find disk.

Anyone can help advise on correct configuration

here is my configuration:

/etc/pve/local/qemu-server/100.conf
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
agent: 1
args: -device ahci,id=ahci1,multifunction=on,bus=pci.0,addr=0xb -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N5Z8,if=none,id=drive-sata6,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.0,drive=drive-sata6,id=sata6 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CG2K,if=none,id=drive-sata7,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.1,drive=drive-sata7,id=sata7 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CGSM,if=none,id=drive-sata8,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.2,drive=drive-sata8,id=sata8 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW60YR7D,if=none,id=drive-sata9,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.3,drive=drive-sata9,id=sata9 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NAVJ,if=none,id=drive-sata10,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.4,drive=drive-sata10,id=sata10 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N54Q,if=none,id=drive-sata11,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.5,drive=drive-sata11,id=sata11
boot: order=sata0
cores: 4
cpu: x86-64-v2-AES
hotplug: disk,usb,cpu
ide2: none,media=cdrom
machine: q35
memory: 8192
meta: creation-qemu=9.2.0,ctime=1746187251
name: XPEnology
net0: virtio=BC:24:11:48:80:11,bridge=vmbr0,firewall=1
net1: virtio=BC:24:11:29:0A:10,bridge=vmbr1,firewall=1
numa: 0
ostype: l26
sata0: local-lvm:vm-100-disk-1,backup=0,size=2G
sata1: /dev/disk/by-id/ata-ST4000VX005-2LY104_WFN7HL9T,size=3907018584K
sata2: /dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CFFD,size=3907018584K
sata3: /dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CGMB,size=3907018584K
sata4: /dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NFV5,size=3907018584K
sata5: /dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NCX0,size=3907018584K
scsihw: virtio-scsi-single
sockets: 2
vmgenid: f510ee27-5ef3-461d-abb2-8ac3d0b0a9e0
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



if i continue add this it show error on achi1.12, please refer to attachement
===================================================================================================================================
args: -device ahci,id=ahci1,multifunction=on,bus=pci.0,addr=0xb -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N5Z8,if=none,id=drive-sata6,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.0,drive=drive-sata6,id=sata6 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CG2K,if=none,id=drive-sata7,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.1,drive=drive-sata7,id=sata7 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CGSM,if=none,id=drive-sata8,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.2,drive=drive-sata8,id=sata8 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW60YR7D,if=none,id=drive-sata9,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.3,drive=drive-sata9,id=sata9 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NAVJ,if=none,id=drive-sata10,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.4,drive=drive-sata10,id=sata10 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N54Q,if=none,id=drive-sata11,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.5,drive=drive-sata11,id=sata11 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N54Q,if=none,id=drive-sata12,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.6,drive=drive-sata12,id=sata12 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65DRYL,if=none,id=drive-sata13,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.7,drive=drive-sata13,id=sata13 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CETP,if=none,id=drive-sata14,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.8,drive=drive-sata14,id=sata14 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW60YPN1,if=none,id=drive-sata15,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.9,drive=drive-sata15,id=sata15 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NH7N,if=none,id=drive-sata16,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.10,drive=drive-sata16,id=sata16 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NETZ,if=none,id=drive-sata17,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.11,drive=drive-sata17,id=sata17 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NEZD,if=none,id=drive-sata18,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.12,drive=drive-sata18,id=sata18 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65C8NE,if=none,id=drive-sata19,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.13,drive=drive-sata19,id=sata19 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW65CFL7,if=none,id=drive-sata20,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.14,drive=drive-sata20,id=sata20 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_WW60YPWP,if=none,id=drive-sata21,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.15,drive=drive-sata21,id=sata21 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N4ZL,if=none,id=drive-sata22,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.16,drive=drive-sata22,id=sata22 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62N64V,if=none,id=drive-sata23,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.17,drive=drive-sata23,id=sata23 -drive 'file=/dev/disk/by-id/ata-ST4000VX015-3CU104_ZW62NFL7,if=none,id=drive-sata24,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.18,drive=drive-sata24,id=sata24
 

Attachments

  • 100.comf.png
    100.comf.png
    104 KB · Views: 5
Last edited: