Hi, Im in a quest to have the VM (OpenMediaVault) as direct access to two dedicated disks as possible.
I really want OMV to have S.M.A.R.T access to the disks but its not possilbe with the current setup.
Maybe I can use smart if i passthrough the whole LUN divice as stated on ovirt. org?
Adding a DirectLUN Disk (lun passthrough)
How is this added in Proxmox?
Searched the web but cant find a proxmox config that passes throug the LUN.
Thanks!
Current config:
root@server:~# cat /etc/pve/qemu-server/100.conf
root@server:~# ps -ef | grep "kvm -id 100" | sed -r 's/ -/\n-/g' | grep scsi
I really want OMV to have S.M.A.R.T access to the disks but its not possilbe with the current setup.
Maybe I can use smart if i passthrough the whole LUN divice as stated on ovirt. org?
Adding a DirectLUN Disk (lun passthrough)
<devices>
<disk type='block' device='lun' rawio='no' sgio='unfiltered'>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' target=0' unit='0'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'/>
</devices>
How is this added in Proxmox?
Searched the web but cant find a proxmox config that passes throug the LUN.
Thanks!
Current config:
root@server:~# cat /etc/pve/qemu-server/100.conf
balloon: 2048
bootdisk: virtio0
cores: 2
ide2: local:iso/debian-8.8.0-amd64-netinst.iso,media=cdrom
keyboard: sv
memory: 6144
name: OMV
net0: virtio=9A:8F:3C:80:9A:4B,bridge=vmbr0
numa: 0
onboot: 1
ostype: other
scsi2: /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K2HRAYS5,size=3907018584K
scsi3: /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K2AAV0V5,size=3907018584K
scsihw: virtio-scsi-pci
smbios1: uuid=d5aabc1c-c6d5-4033-b473-90495217ad23
sockets: 1
usb0: host=1-10,usb3=yes
usb1: host=2-4,usb3=yes
virtio0: local:100/vm-100-disk-1.qcow2,size=31G
root@server:~# ps -ef | grep "kvm -id 100" | sed -r 's/ -/\n-/g' | grep scsi
-iscsi initiator-name=iqn.1993-08.org.debian:01:82e57f89a6bb
-device virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5
-drive file=/dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K2HRAYS5,if=none,id=drive-scsi2,format=raw,cache=none,aio=native,detect-zeroes=on
-device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=2,drive=drive-scsi2,id=scsi2
-drive file=/dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K2AAV0V5,if=none,id=drive-scsi3,format=raw,cache=none,aio=native,detect-zeroes=on
-device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=3,drive=drive-scsi3,id=scsi3