Hello there, this is my first post, so forgive me if I’m wrong.
First of all, my problem:
Each time I reboot Proxmox or TrueNAS, my pools become corrupted in some way, and TrueNAS is not able to recognize the disks to assign them to the pool.
Here’s an example of the error:
What I have
I’m running TrueNAS Scale, up to date, virtualized on Proxmox, also up to date.
This is a home server with the following specs:
Motherboard: Gigabyte B560M D3H
CPU: i5-11400
GPU: NVIDIA 2060
RAM: 32GB
Proxmox boot: 256GB NVMe
For Proxmox VMs: 512GB NVMe
Disks: 6 x WD40EFAX, connected directly to the motherboard
VM Configuration:
The QEMU setup is very straigh forward:
root@pve:~# cat /etc/pve/qemu-server/113.conf
agent: 1
boot: order=scsi0
cores: 4
cpu: x86-64-v2-AES
memory: 16384
meta: creation-qemu=8.0.2,ctime=1696522098
name: truenas
net0: virtio=BC:24:11:2F:52:39,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
#For True nas boot
scsi0: VMs:vm-113-disk-1,size=32G
#Disk for pools
scsi1: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N0_WD-WX62D30RDL6E,backup=0,serial=WD-WX62D30RDL6E
scsi2: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N0_WD-WX62D302FTVU,backup=0,serial=WD-WX62D302FTVU
scsi3: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N0_WD-WX52D108SP45,backup=0,serial=WD-WX52D108SP45
scsi4: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N0_WD-WX52D103RPE6,backup=0,serial=WD-WX52D103RPE6
scsi5: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N1_WD-WX12D415NN4K,backup=0,serial=WD-WX12D415NN4K
scsi6: /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N0_WD-WX52D105RK2R,backup=0,serial=WD-WX52D105RK2R
scsihw: virtio-scsi-single
smbios1: uuid=3b4c0821-16c0-47e8-a897-4fba42f3e7ee
sockets: 2
startup: order=2,up=30
vmgenid: 214b4ed9-2ae1-4db1-ad0a-d9973d57aaf0
Storage Setup:
I have two pools due to different disk read/write speeds:
Archivum (RAIDZ2): using disks 1, 2, 4, and 6
Volatile (Stripe): using disk 3 or 5 (I can’t remember exactly)
One of the disks serves as a hot spare.
Additional Info:
I’ve run SMART tests on all disks, and they all passed without any issues.
I’ve noticed that after every reboot, TrueNAS has trouble recognizing the disks and I don’t know how to manually reassign them.
Any ideas on what could be causing this issue?
I’m not sure if it’s related to the VM configuration in Proxmox or something with the way the disks are passed through to TrueNAS. Any advice or guidance would be much appreciated!
I’m kinda noob, so I’m not really sure what kind of logs do I need to provide.