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

Some files are corrupted when I copy from local to weed mount directory #774

Closed
JaviCT opened this issue Nov 21, 2018 · 15 comments
Closed

Comments

@JaviCT
Copy link

JaviCT commented Nov 21, 2018

Describe the bug
Almost all files are copied good but some of them are not completed. This is happening with the new release 1.08

System Setup
Ubuntu 18.04
Weed 1.08 amd64
Weed startup command:
./weed -v=0 server -filer=true -dir=storage -pulseSeconds=1 -volume.images.fix.orientation=false

Weed mount command:
./weed mount -filer=localhost:8888 -dirListLimit=1000 -dir=./assets/media -filer.path=/some-folder

Copy command:
sudo cp -r assets/images assets/media

Expected behavior
Before the update, I was working with the release v0.97 and the files were copied good, now some of them are corrupted.

Screenshots
Image to copy:
1532944873

Image copied:
1532944873

@chrislusf
Copy link
Collaborator

Is it always reproduceable? Need to reproduce. It'll be good to have the images. If not, the file paths and sizes.

@JaviCT
Copy link
Author

JaviCT commented Nov 21, 2018

Here is the link to the images that I am using:
https://drive.google.com/file/d/1WyTHQDNkhaK7WSirpsNAIWTPTxxjptVF/view?usp=sharing

@chrislusf
Copy link
Collaborator

chrislusf commented Nov 21, 2018 via email

@JaviCT
Copy link
Author

JaviCT commented Nov 21, 2018

Yes, I tried a few times and with different images.

I get the same issue with different images and also with the same folder but not always with the same images on that folder.

@chrislusf
Copy link
Collaborator

Thanks for all the details! Found the bug that was introduced 3 days ago. It is only in 1.08 for "weed mount".

@chrislusf
Copy link
Collaborator

released 1.09 with the fix

@JaviCT
Copy link
Author

JaviCT commented Nov 22, 2018

The new release is working fine for me, thanks @chrislusf

@ijunaid8989
Copy link

new release https://github.com/chrislusf/seaweedfs/releases/download/1.09/linux_amd64.tar.gz..

still says,

version 1.08 linux amd64

@chrislusf
Copy link
Collaborator

chrislusf commented Nov 23, 2018 via email

@jevi061
Copy link

jevi061 commented Apr 3, 2020

Hi @chrislusf ,I encoutered the same problem in some of my nodes.

System Info

OS: CentOS Linux release 7.7.1908 (Core)
Kernel: Linux 3.10.0-957.el7.x86_64
Fuse: fuse-2.9.2-11.el7.x86_64

How to reproduce

In my cluster,there are many nodes with different OS version and kernel verion. the bug is reproduceable in above configuation.

seaweedfs version

I test this bug with seaweedfs version 1.55 and 1.70.

I found no error info in seaweedfs log ,But if you need some other info that may help to conque this bug,just leave me a message.

@chrislusf
Copy link
Collaborator

@Jevi06 There has been a lot of improvement for weed mount recently. There are no known bugs for FUSE in 1.70. Please make it reproducible if you can. A docker image would be ideal.

@jevi061
Copy link

jevi061 commented Apr 3, 2020

,I encoutered the same problem in some of my nodes.

Some test result here:

  • Not all files corrupted when do copy operation.
  • Videos always corrupted in my test.
  • After mount filer to some point in my local filesystem tree,
    cp some/video/not/in/filer path/under/buckets md5 changed,but size keep the same
    cp path/under/buckets some/video/not/in/filer md5 changed,size changed

@jevi061
Copy link

jevi061 commented Apr 3, 2020

n. A docker image would be ideal.

the image I use is pulled from docker hub,the full signature is chrislusf/seaweedfs:1.70,but for mounting,I install a fuse which version is fuse-2.9.8-r2 x86_64 {fuse} (GPL-2.0-only LGPL-2.1-only) in it.

@chrislusf
Copy link
Collaborator

chrislusf commented Apr 3, 2020

Could you please create a new issue with detailed steps similar to this? #1182

The bug seems a bit complicated, file format, file size, fuse version, etc. All may have some effect on this.

@jevi061
Copy link

jevi061 commented Apr 3, 2020

Could you please create a new issue with detailed steps similar to this? #1182

The bug seems a bit complicated, file format, file size, fuse version, etc. All may have some effect on this.

ok ,I make a issue with more detail steps now.

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

4 participants