Appearance
PVE 相关问题
直通超过6个SATA盘
想办法把J3455 弄了8个SATA口,然后想把硬盘直通给PVE下的DSM虚拟机 但执行
bash
qm set -sata6 /dev/disk/by=id/xxxx
的时候报错。查了一圈资料发现,通过这种方式直接直通最多6个SATA盘,分别是SATA0-SATA5。
然后找了一圈资料发现,直接通过方式可添加第7个SATA盘
bash
args: -device ahci,id=ahci1,multifunction=on,bus=pci.0,addr=0xb -drive 'file=/dev/disk/by-id/ata-ST500DM009-2F110A_ZA480LWF,if=none,id=drive-sata6,format=raw,aio=threads,detect-zeroes=unmap' -device ide-hd,bus=ahci1.1,drive=drive-sata6,id=sata6