Hard Drive Pass-through not seeing partitions

joedoge

New Member
Jun 6, 2020
1
0
1
22
I am running an Ubuntu 18.04 VM which the install disk is on my PVE server local storage. I am trying to do pass-through of the hard drives on the PVE server (not the install SSD) to give the VM direct access to the storage and zfs management of the disks. The disks actually came from a FreeNAS pool, but that's not the issue. From the PVE server running Buster, I can import the ZFS pool without a problem:
1591468468301.png

After I export from the PVE server, and try to import from the Ubuntu VM, I see this:
1591468514517.png


What I believe is the probable cause is that the Ubuntu VM is not seeing all the partitions. Here is an lsblk from the PVE server (notice all the 4TB disks have 2 partitions from ZFS):
1591468609415.png

Now notice the lack of partitions from the same command from the VM:
1591468643666.png

I also ran an fdisk -l /dev/sdc just to see if it is lsblk messing up but I get this:
1591468703302.png

Anyone familiar on how to fix this and get the VM to see the partitions on those two disks in order to import the ZFS pool?

*Edit: I am also aware that I should add the disks by-id as stated here: https://pve.proxmox.com/wiki/Physical_disk_to_kvm
I have done this and triple checked that correct ID's were passed through (and not just single partitions).
 
Last edited:

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
6,177
418
103
Hi,

can you please send the VM config?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!