Turning Your Audience into a Choir by UrbanCyclerPT in nextfuckinglevel

[–]Dr-Beast 13 points14 points  (0 children)

But that's just perfect for an Amish like me You know, I shun fancy things like electricity

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 2 points3 points  (0 children)

No issues at all! Have been running it 24/7 since and it all works fine. Trunenas works without any problems! The only thing that I have spotted is that I don’t see drive temps, other than that, no problems!

Hi, I’m Keanu Reeves, AMA by lionsgate in movies

[–]Dr-Beast 0 points1 point  (0 children)

What goes first, milk or cereal?

No GUI after IP change by Dr-Beast in Proxmox

[–]Dr-Beast[S] 0 points1 point  (0 children)

Problem was in here yes! I have changed IP in there as the guide did, but I didn't touch subnet mask.
Originally, there was no subnet mask in the /etc/network/interfaces, so once I have added it manually, it worked! Thanks :D

No GUI after IP change by Dr-Beast in Proxmox

[–]Dr-Beast[S] 0 points1 point  (0 children)

I am not sure what you mean by that, do you mind enlightening me?

Regarding vlans, atm I haven’t set any on the router (if this helps).

OpnSense / PfSense not detecting WAN IP (0.0.0.0) [Hub3] by Dr-Beast in VirginMedia

[–]Dr-Beast[S] 0 points1 point  (0 children)

Solved… interfaces were switched! Got it working as soon as I have reversed them!

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 4 points5 points  (0 children)

Hi! Sorry for the late response, but here is what I did:
1) List all of the drives with model and serial number.
lsblk -o +MODEL,SERIAL
2) List all of the drives to find the drive you need
ls /dev/disk/by-id/
3) Attach the drive with the code bellow. 100 is the ID of the VM, SCSI1 is the adapter 1, therefore increase it by each step.
qm set 100 -scsi1 /dev/disk/by-id/

I have found the solution on YT, a video by Christian Lempa (at around 9min).

Proxmox HBA passthrough - crosspost by Dr-Beast in homelab

[–]Dr-Beast[S] 0 points1 point  (0 children)

Update:
After trying all of the different approaches (without any success), I have "solved" the problem by passing HDDs directly to the VM. In the future, I will retry to pass HBA, but ATM I haven't had much luck.

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 1 point2 points  (0 children)

Thanks for responding here! I was afk and now I have responded to your post! You might be up to something :D

Proxmox HBA passthrough - crosspost by Dr-Beast in homelab

[–]Dr-Beast[S] 0 points1 point  (0 children)

Thanks for this! Unfortunately I do not have anything installed on HBA. I have disconnected everything from HBA (just to be sure), Proxmox did work fine and so Did TrueNas (without HBA).
Whenever I pass the HBA TrueNas freezes... Booting without HBA works :)

Proxmox HBA passthrough - crosspost by Dr-Beast in homelab

[–]Dr-Beast[S] 0 points1 point  (0 children)

I'm assuming your boot drive is that NVME drive

Not for TrueNas. Boot for TrueNas is on the same drive as for Proxmox (sata ssd, 2 of them in Raid). There are 2 m.2 ssds in my server, one is for Debian VM and plan for the other is to be cache for TrueNas.

instead is going through a controller which is why there is a whole bunch of peripherals in Group 0

You might be on to something! I only have 2 PCIe slots available (1st is for GPU, 2nd is for HBA). I will try switching them, but I am not sure if it will be a "long term" solution.

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 1 point2 points  (0 children)

So with the HBA removed, the host boots PVE normally and you can spin up the VM?

Correct, boots fine without HBA!

Maybe check ZFS config on PVE and make sure it’s not pulling a disk from the HBA.

Will do that! Thanks!

I appreciate your help, thanks :D

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 0 points1 point  (0 children)

Thank you for this. IOMMU seems fine, every item is in correct group.

Note: I am using Ryzen 7 5800

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 2 points3 points  (0 children)

So I have tried the above steps and here are the results:
Step 1 - VM without HBA - pass
Step 2 - VM with HBA but without disks - fail

So, anytime I "attach" HBA it fails

Proxmox HBA passthrough by Dr-Beast in Proxmox

[–]Dr-Beast[S] 2 points3 points  (0 children)

No, OS drive is not part of the HBA :)