seaweedfs: 1.70/FUSE: Cannot close target file I/O error 5

I’m trying to copy file using FUSE client. Writing of file seemingly progresses to 100% when the error “Cannot close target file; I/O error (5)” is thrown.

Mount logs the following:

I0403 17:30:22 32276 dirty_page.go:133] /test/{FILENAME} saveToStorage [319627264,322379776): filerGrpcAddress assign volume: assign volume failure count:1 parent_path:"/test" : assign volume: failed to parse master grpc : server should have hostname:port format:
E0403 17:30:22 32276 filehandle.go:119] /test/{FILENAME} write fh 0: [322248704,322379776): filerGrpcAddress assign volume: assign volume failure count:1 parent_path:"/test" : assign volume: failed to parse master grpc : server should have hostname:port format:

As many Seaweedfs issues, this one is probably have something to do with configuration but ambiguous error messages like the above at the end of long operation that is clearly failed make SeaweedFS so difficult even to begin using…

I have no idea what is wrong but the created file is empty (filled with zeroes) which should not be.

Any advise? Why did file copy not abort with “out of space” or “read-only file system”? Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 25

Most upvoted comments

Added a temporary fix to increase the message size limit to 1GB.

Later release will add another level of indirection for much larger or unlimited file size.

I will address this. This is because the gRPC has a message size limit of 4MB. The meta data for the 350GB file is 98MB.

Added a fix to fail fast if wrong master is configured, rather than very late.

Please follow issue template and show your mount command, and command for filer, master, etc.