Hello everyone, I'm trying to add an iSCSI disk to...
# harvester
g
Hello everyone, I'm trying to add an iSCSI disk to my Harvester setup. Everything is already configured on the storage side — I have two controllers on my QSAN and I’m logging into the LUN through both of them. Multipath is enabled for failover. The problem is, I want to add the disk to my node as storage (not as volumes), and when I try to add it, I receive the following error:
Copy code
failed to update device mount e742027bf0b57aecaf83f91f76a03d4f: failed to execute: nsenter [--mount=/host/proc/6472/ns/mnt --net=/host/proc/6472/ns/net --ipc=/host/proc/6472/ns/ipc mount -t ext4 -o journal_checksum,journal_ioprio=0,barrier=1,errors=remount-ro,relatime /dev/sde /var/lib/harvester/extra-disks/e742027bf0b57aecaf83f91f76a03d4f], output , stderr mount: /var/lib/harvester/extra-disks/e742027bf0b57aecaf83f91f76a03d4f: /dev/sde already mounted or mount point busy.
: exit status 32
From what I understand, this may be caused by multipath — because Longhorn tries to add the disk by
/dev/sdX
, while multipath uses a unique device ID. It seems I need to attach the disk using the multipath ID instead of the raw block device path. Does anyone know how to properly configure this so that Harvester recognizes the disk via multipath and I can use it as a storage node-disk? Thanks in advance for your help and time!