Hi,
I just face a weird behavior when trying to play around with TrueNAS VM share iSCSI storage to Proxmox.
I'm currently running lastest stable TrueNAS Scale as a VM in my Proxmox Server. I use the CLI command:
to passthrough my hard drive to TrueNAS. Within TrueNAS, I create a ZVol with iSCSI share and add it back to STORAGE in Proxmox. I also create LVM within that iSCSI share from Proxmox and install Windows Server on it. Weird behavior happened when I try to shutdown the TrueNAS VM to reboot the whole system.
TrueNAS VM stuck and did not let me shut down. I used "qm stop VMID" to stop it manually but was not able to , so I just shutdown the Proxmox server and reboot.
After reboot, I WAS NOT able to start TrueNAS VM as the error stated
I panicked and tried to figure out what happened. After running:" ls -l /dev/disk/by-id/" I found out that ALL OF MY DRIVES had been changed from "ata-ST8000DM004-XXXXXXXX-XXXXXX" to "scsi-SATA-ST8000DM004-XXXXX" so I have to detach all the drives and reattach it. Luckily no data was lost and TrueNAS show as if data just been resilvered???????
Hope someone come to this thread and can help me explain what happened to my system or what I did wrong so that I don't mess up again
I just face a weird behavior when trying to play around with TrueNAS VM share iSCSI storage to Proxmox.
I'm currently running lastest stable TrueNAS Scale as a VM in my Proxmox Server. I use the CLI command:
Code:
qm set 100 -scsi1 /dev/disk/by-id/ata-ST3000DM001-XXXXXXXX
TrueNAS VM stuck and did not let me shut down. I used "qm stop VMID" to stop it manually but was not able to , so I just shutdown the Proxmox server and reboot.
After reboot, I WAS NOT able to start TrueNAS VM as the error stated
Code:
kvm: -drive file=/dev/disk/by-id/ata-ST8000DM004,if=none,id=drive-sata0,format=raw,cache=none,aio=native,detect-zeroes=on: Could not open '/dev/disk/by-id/ata-ST8000DM004': No such file or directory
TASK ERROR: start failed: QEMU exited with code 1
I panicked and tried to figure out what happened. After running:" ls -l /dev/disk/by-id/" I found out that ALL OF MY DRIVES had been changed from "ata-ST8000DM004-XXXXXXXX-XXXXXX" to "scsi-SATA-ST8000DM004-XXXXX" so I have to detach all the drives and reattach it. Luckily no data was lost and TrueNAS show as if data just been resilvered???????
Hope someone come to this thread and can help me explain what happened to my system or what I did wrong so that I don't mess up again
Attachments
Last edited: