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

Need "force" option for gluster snapshot delete #4473

Open
kohlschuetter opened this issue Feb 7, 2025 · 0 comments
Open

Need "force" option for gluster snapshot delete #4473

kohlschuetter opened this issue Feb 7, 2025 · 0 comments
Assignees

Comments

@kohlschuetter
Copy link

When trying to delete snapshots (or an entire volume, for which snapshots need to be deleted first), there can be a situation where a failed brick cannot delete a snapshot (because the entire underlying brick file system is gone, for example).

A typical error message in this case is

snapshot delete: failed: Pre Validation failed on <NODE>. Please check log file for details.

In this situation, a "force" option for "gluster snapshot delete" would be desirable.

The only reliable workaround I found was to stop glusterd for the entire cluster, manually delete the metadata directory /var/lib/glusterd/snaps/<SNAPSHOTID> for the corresponding affected snapshot on all servers, then restarting glusterd.

This of course is an undesired downtime for all other, otherwise unaffected volumes.

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

No branches or pull requests

2 participants