zbvod

导航

服务器直通用scsi

qm set 101 --scsi1 /dev/disk/by-id/wwn-0x6b083fe0c24108002da4b6e12038f9fa

ls -l /dev/disk/by-id/

vmid是TrueNAS虚拟机的编号,x是编号,若此虚拟机没有sata设备,则从从0开始,xxxx为硬盘识别码
qm set --sata[x] /dev/disk/by-id/[xxxxxxx]

qm set 103 --scsi2 /dev/disk/by-id/wwn-0x6b083fe0c24108002da4b6ba1de67520-

qm importdisk 102 /var/lib/vz/template/iso/openwrt-23.05.2-x86-64-generic-ext4-combined local-lvm

qm importdisk 103 /var/lib/vz/template/iso/openwrt.img local
qm set 100 -sata1 /dev/disk/by-id/ata-ST2000DL003-9VT166_5YD5BZPV

1-xYlpWk3pzgL3tXlfVkmjUqIESoCVSwOx592pNw1NzDCl5hCQS33Bay6dnjZ2J9g5

posted on 2024-04-07 20:55  尚书李部  阅读(15)  评论(0编辑  收藏  举报