Prox and TrueNAS, get SMART working for TrueNAS [USB HDD]

dakazze

Member
Nov 25, 2022
29
0
6
Hey!

I successfully set up TrueNAS on my home Server using two USB HDDs. I know that it is not an optimal solution but for my purpose it is OK. At least the USB-enclosures and HDDs are high quality. In Proxmox SMART works fine but TrueNAS is complaining that it does not get SMART values. I also know that passing the USB controller would be preferable but I only have one and need a port somewhere else...

This is my config:
(the important disks are sata1 and sata2)

Code:
agent: 1
balloon: 6144
boot: order=scsi0;net0
cores: 4
cpu: qemu64
machine: q35
memory: 10240
meta: creation-qemu=7.1.0,ctime=1682541872
name: TrueNAS
net0: virtio=E6:25:62:F6:07:75,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
parent: qemuNachUSBHDD
sata1: /dev/disk/by-id/ata-WDC_WD10SPZX-08Z10_WD-WX12A418JZ55,size=976762584K
sata2: /dev/disk/by-id/ata-WDC_WD10SPZX-08Z10_WD-WXE2A212Z84S,size=976762584K
scsi0: local-lvm:vm-106-disk-0,size=16G,serial=123456
scsi1: local-lvm:vm-106-disk-1,size=32G,serial=123457
scsi2: local-lvm:vm-106-disk-2,size=512G,serial=123458
smbios1: uuid=90956fad-3630-4ad2-bec3-de5d8b2b8443
sockets: 1
vmgenid: 4f417945-787c-4432-ba9c-16a850879511
 
you can't passthrough smart with passthrough disk.
But SMART monitoring is done by Proxmox, available on dashboard, and send mail (after configuring postfix smtp config)
 
  • Like
Reactions: leesteken
@_gabriel oh I thought it was possible but I guess this is just another downside to my suboptimal setup.
Thank you!
With disk passthrough your TrueNAS is still working with virtual disks, not the real physical disks. That's why only PVE can monitor SMART, as only PVE is working with real disks. Only way for a VM to directly access the real physical disks would be to use PCI passthrough to passthrough a whole USB controller (or SATA/SAS controller or NVMe SSD in case USB isn't used).

And I also wouldn't use "sata1" and "sata2" but "scsi3" and "scsi4". Probably faster and there were some problems recently when using SATA.
 
Last edited:
  • Like
Reactions: _gabriel

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!