This message was deleted.
# longhorn-storage
a
This message was deleted.
n
hi! If you want to do this once, you can delete the problematic lhsnap objects. For example:
Copy code
kubectl -n longhorn-system  delete lhsnap -l longhornvolume=PVC
Or if you want to exclude a specific snapshot from deletion process you can do something like this
Copy code
for i in $(kubectl -n longhorn-system  get lhsnap | grep PVC | grep -v LATEST-SNAP | awk '{print $1}'); do kubectl -n longhorn-system delete $i ; done
l
@curved-piano-98970 certainly also consider upgrading Longhorn.