Convert LVM disk to ZFS to passthrough to VM

cheezburger

Member
Sep 20, 2020
22
0
6
32
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.
 

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!