I used a 2 TB SSD for troubleshooting once upon a time. Now I want to use the same SSD in one of my VM as a passthrough device. The problem is, the system keeps trying to use the drive and craps out until I remove it.
Without knowing any specifics, It could be a number of things.
If you don't need what is on the SSD, you may want to put it in another computer, and wipe it.
- The BIOS may have that ssd higher in the boot order than your proxmox. And it is trying to boot a bad OS
- The SSD could be in your /etc/fstab and causing errors
- Your 2 TB SSD still has old filesystem signatures, partitions, or metadata (from the troubleshooting days) that Proxmox/Debian automatically scans, mounts, or tries to import (via udev/udisks, blkid, ZFS, LVM, etc.). That scanning causes the host to “crap out” as soon as the drive is detected.
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
The drive is in fact an NVMe drive.Is the drive an NVMe and are you using PCI(e) passthrough (for other) devices? Adding (or removing) PCI(e) devices can change the PCI ID of the other devices. This can break an existing setup when you add the drive. Also, make sure the drive is in a separate IOMMU group.
Is the drive connected via SATA and did you do a PCI(e) passthrough of a SATA controller? Make sure no other drives are connected to that same controller and make sure there are no other devices in the same IOMMU group.
Or are you trying to do disk passthrough? Make sure to use /dev/disk/by-id or something instead of /dev/sdb as those are not stable.
Don't (auto) start any VMs that use PCI(e) passthrough. Look at the new PCI IDs and in which IOMMU groups they now are. Adjust all the passthrough mappings for all existing VMs accordingly.The drive is in fact an NVMe drive.
"Adding (or removing) PCI(e) devices can change the PCI ID of the other devices. This can break an existing setup when you add the drive. Also, make sure the drive is in a separate IOMMU group."
Not sure how I can fix any of that.
We use essential cookies to make this site work, and optional cookies to enhance your experience.