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

{"error":"volumeId X not found."} error on deletion. #1062

Closed
ijunaid8989 opened this issue Sep 9, 2019 · 3 comments
Closed

{"error":"volumeId X not found."} error on deletion. #1062

ijunaid8989 opened this issue Sep 9, 2019 · 3 comments

Comments

@ijunaid8989
Copy link

ijunaid8989 commented Sep 9, 2019

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs

Describe the bug

{"error":"volumeId 924 not found."}

The above error comes across when you delete in recursive mode.

I am linking this issue as a reference..Our ZFS drive on which we had the filer ldb,s and volume files got corrupt and we recovered it using python implementation of leveldb..
#576

Now I run this command on it for deletion:

curl -X DELETE "http://IP:8888/irish-life-mall/snapshots/recordings/2017/10/?recursive=true"

It deletes many files in that directory 10 but at a certain point it fails.

System Setup

  • List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount". = "/opt/go/bin/weed -v=0 server -filer=true -ip=IP -dir=/storage -volume.max=2370 -volume.images.fix.orientation=false -pulseSeconds=5"
  • OS version Ubuntu 17.10
  • output of weed version = version 0.76 linux amd64

Expected behavior
It should delete all files within a directory.

@chrislusf
Copy link
Collaborator

Does the volume 924 really exist or not?

I can add an option to "ignore errors" during deletion to current branch tip.

@ijunaid8989
Copy link
Author

Is there any workaround if, the listing in filer is available... but the consecutive volume files are not present then we can clean the filer entries?

So there will be only those filer listings whom data is present?

@ijunaid8989
Copy link
Author

Does the volume 924 really exist or not?

I can add an option to "ignore errors" during deletion to current branch tip.

Volume does not exist as well as, we are on 0.76 version on those filer 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