Comment on Am I corrupting my data?
possiblylinux127@lemmy.zip 3 weeks ago
I hope you have backups
Never should you pass disks though by VM. The disk and SMART data is not passed though so ZFS has no way of knowing disk status. It also has more overhead than just passing though a PCIe device.
I would strongly recommend that you fix this ASAP
thelemonalex@lemmy.world 3 weeks ago
Yes, that’s why I’ve posted this question, and I immediately powered the entire NAS off, as to avoid any damage. It’s currently still powered off, until I find the best way to move forward. What I’m afraid of is that if I try to import the pools that were managed by the TrueNAS VM into a bare metal TrueNAS install, or Proxmox, that it won’t work correctly, or that I could lose data.
uncloaked@sh.itjust.works 3 weeks ago
This might be a late reply but if your motherboard supports iommu you can pass your motherboard’s sata controller as a pcie device that is how my current TrueNAS VM is setup
thelemonalex@lemmy.world 3 weeks ago
Thanks, I’ll keep it in mind
possiblylinux127@lemmy.zip 3 weeks ago
I would just pickup a simple PCIe sata card. They are fairly inexpensive and are idea for what you are doing.
Going forward, make sure you keep backups of important data.
thelemonalex@lemmy.world 3 weeks ago
Yeah, it won’t happen again. I think I’ll migrate to managing ZFS directly from Proxmox, and then handle SMB in a VM or something, because I’m worried about compatibility, with the PCIe SATA card, as the system’s pretty dated.
possiblylinux127@lemmy.zip 3 weeks ago
Fair enough