Skip to content

Feature request: Support multilpe disks (namespaces) per target #40

@ghormoon

Description

@ghormoon

Currently if you attempt to connect more disks from the same target (combination of hostnqn+hostid+nqn but different deviceID/UUID) it will fail, as the connection already exists (and will likely have similar issue when disconnecting)

Some storages allow you to connect multiple disks for one hostnqn and that would end up behaving like multiple namespaces on single nvme device. We need to implement some sort of identification/tracking of mounts to only connect/disconnect nvme on the first connection/last disconnection and only rescan and mount when adding/removing secondaries.

It would also open up path to support of other access modes, so keep that in mind when designing the handling.

I'm willing to have a look into it if nobody else does it sooner while I'm working on other PRs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions