I'm having an issue on a completely new install of...
# longhorn-storage
a
I'm having an issue on a completely new install of Longhorn on Rocky9. I am trying to expose two local NVME drives as Block Disks, via v2 Engine. I pass the environment check, but when I try to add the disk by path ID Disk longhorn1(00000300.0) on node ************* is not ready: failed to generate disk config: error: rpc error: code = Internal desc = rpc error: code = Internal desc = failed to add disk block device: failed to create disk bdev: failed to attach NVMe disk 00000300.0: error sending message, id 10274, method bdev_nvme_attach_controller, params {longhorn1 {PCIe 00000300.0 } 30 2 15 disable}: {"code": -19,"message": "No such device"} blkid shows that is the BDF of that drive.
a
0000:03:00.0
should be the disk path like
/dev/nvme0n1p1
a
For anyone in the same situation, turns out Rocky was formatting the drive and taking control of it/mounting/etc. I did wipefs, and it showed up within a few seconds. And longhorn seems to control it from there.
👍 2