[Gluster-users] remove snapshot when one peer is dead

Strahil Nikolov hunter86_bg at yahoo.com
Sun Jun 25 19:11:52 UTC 2023


Next time try the delete command with ‘force’ .
Best Regards,Strahil Nikolov 


On Sunday, June 25, 2023, 8:30 AM, Stefan Kania <stefan at kania-online.de> wrote:

fixed:

setting both quorum settings to "none" restart glusterd and then I could 
remove the snapshots and the peer


Am 19.06.23 um 13:01 schrieb Stefan Kania:
> Hi to all,
> 
> i have a volume where one peer is dead and I now would like to remove 
> the dead peer, but ther are still snapshots on the volume when I try to 
> remove the peer I gozt:
> --------
> root at glfs1:/run/gluster/snaps# gluster peer detach c-03.heartbeat.net
> 
> All clients mounted through the peer which is getting detached need to 
> be remounted using one of the other active peers in the trusted storage 
> pool to ensure client gets notification on any changes│
>   done on the gluster configuration and if the same has been done do you 
> want to proceed? (y/n) y
> peer detach: failed: c-03.heartbeat.net is part of existing snapshot. 
> Remove those snapshots before proceeding
> --------
> 
> When I try to remove all snapshots I get:
> ----------
> root at glfs1:/run/gluster/snaps# gluster snapshot delete all
> 
> System contains 6 snapshot(s).
> 
> Do you still want to continue and delete them?  (y/n) y
> 
> snapshot delete: failed: glusterds are not in quorum
> 
> Snapshot command failed
> ----------
> 
> How can I remove all snapshots with out quorum?
> 
> Stefan
> 
> ________
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users




________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users at gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20230625/7a9a1360/attachment.html>


More information about the Gluster-users mailing list