-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ipfs add -r --nocopy Error: Failed to get block for zb2rh... The system cannot find the path specified. #4260
Comments
When adding content with the experimental filestore and the --nocopy option, moving files after you have added them will break things. cc @kevina whats the recovery strategy here? |
@whyrusleeping we don't have one, in the short to mid term I would like to see several things
Note that (1) is useful because it can fix existing entries without having to worry about pinning. (2) is another way to manually clean up and is a prerequisite of (3). In the long term I would like to allow multiple filestore entries per block. I have implemented this in my own implementation but will likely require a decent degree of work to get into your implementation. |
Note that if |
Hitting this as well and it seems that you can; Is that correct? Is there any better way until |
Try |
That does indeed remove the error What I however did discover is that Update: This only helps to get |
Make sure your files are pinned. If they aren't, a GC may fix this issue because it may delete references to the problematic blocks. |
Hello! I'm currently looking into using IPFS for publishing videos through DTube. Organizing my videos in the regular filesystem and adding them to IPFS using --nocopy seems to be a natural thing to me. Since it has been a year since plans to add functions like moving and removing files in filestore have popped up, I wanted to ask if there is any progress. I also have two related questions:
|
Version information:
go-ipfs version: 0.4.11-rc2-
Repo version: 6
System version: amd64/windows
Golang version: go1.9
Type: Bug
Severity: High
Description:
I try to add folder with --nocopy folder and get error.
Reproduce:
some_folder\test.txt
ipfs add -r -nocopy some_folder
rename "some_folder" to "some_folder_renamed"
ipfs add -r -nocopy some_folder_renamed
Error: Failed to get block for zb2rh...: open C:...\some_folder\test.txt: The system cannot find the path specified.
The text was updated successfully, but these errors were encountered: