Skip to content

Applications might hang if underlying RBD image is deleted #1869

Description

@caroav

If the RBD image that is behind an nvmeof ns is being deleted, while the ns is mounted to the host, it might cause IOs to hang. We should consider 2 things:

  1. Can we add a warning in the RBD CLI to warn the user if he is about to delete an image that is used by a namespace? I think that the RBD can tell that by checking the metadata (nvmeof set something there). @idryomov?

  2. Can the nvmeof GW get the event that the image was deleted, and automatically delete the namespace? There is no point in keeping this namespace, if the image was deleted. @gbregman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions