Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find namespace by uuid #944

Open
caroav opened this issue Nov 12, 2024 · 0 comments
Open

find namespace by uuid #944

caroav opened this issue Nov 12, 2024 · 0 comments
Assignees

Comments

@caroav
Copy link
Collaborator

caroav commented Nov 12, 2024

In the initiators, e.g. in linux, it is not easy to correlate between the block device and the nsid that we have in the gw. One way to do it is for example:

  1. run cat /sys/block/nvme1n2/nguid ===> and get the nguid
  2. Then list the namespaces in the gw, and look for a ns with this uuid.

An easier way would be to provide a cli that will find information about a namespace by uuid. E.g. "namespace find -uuid X" - it should look in all subsystems, and return the namespace properties (subsystem, ana grp, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants