Convert LVM disk to ZFS to passthrough to VM

cheezburger

Member
Sep 20, 2020
20
0
6
33
This is a long winded tale, but in short:

Originally had 4x HDD passing through to my VM 101 and each was a ZFS. The VM was TrueNAS and I handled a RAID pool within the VM.

One of the HDD became faulty (/dev/sda) so I replaced with a new hard drive (originally /dev/sdf).

However, I think I followed the wrong guide to partition it and when I did so it is now showing up as a LVM, while all other HDD are showing as ZFS.

I've recently recovered my server from a critical failure, and now the NEW drive is showing under /dev/sda.

Is there a way that I can easily convert this drive to ZFS (nothing on it so don't mind clearing it) and then mounting it into my VM 101?

Even if there was a guide someone could point me to, would be a great help!
 
I ended up passing it through without converting as no one could assist.
It works but is showing up as "Usage: partitions" while the other drives are showing up as "Usage: ZFS".

Hope this doesn't cause any errors.