[GH-ISSUE #1625] Size of large file becomes zero after long write #855

Closed
opened 2026-03-04 01:49:22 +03:00 by kerem · 2 comments
Owner

Originally created by @valdisvi on GitHub (Apr 19, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1625

Additional Information

After long write of file (e.g. using dar disk achiver) size of file becomes zero. Please look at recorded video here.

Version of s3fs being used (s3fs --version)

Standard package of Ubuntu 20.04
Amazon Simple Storage Service File System V1.86 (commit:unknown) with GnuTLS(gcrypt)

Version of fuse being used (pkg-config --modversion fuse)

2.9.9

Kernel information (uname -a)

Linux tools 5.4.0-1045-aws #47-Ubuntu SMP Tue Apr 13 07:04:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

GNU/Linux Distribution, if applicable (cat /etc/os-release)

Ubuntu 20.04.2 LTS

s3fs command line used, if applicable

dar -Q -c /home/s3/tools/valdis.dar -w -asecu -aSI -s 2G -D -R /home/valdis

/etc/fstab entry, if applicable

s3fs#bucket:/ /home/s3 fuse _netdev,rw,nosuid,nodev,uid=root,gid=root      0 0
Originally created by @valdisvi on GitHub (Apr 19, 2021). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1625 ### Additional Information After long write of file (e.g. using [dar disk achiver](http://dar.linux.free.fr/)) size of file becomes zero. Please look at [recorded video here](https://github.com/Edrusb/DAR/issues/25#issuecomment-780754553). #### Version of s3fs being used (s3fs --version) [Standard package of Ubuntu 20.04](https://packages.ubuntu.com/focal/dar) Amazon Simple Storage Service File System V1.86 (commit:unknown) with GnuTLS(gcrypt) #### Version of fuse being used (pkg-config --modversion fuse) 2.9.9 #### Kernel information (uname -a) Linux tools 5.4.0-1045-aws #47-Ubuntu SMP Tue Apr 13 07:04:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux #### GNU/Linux Distribution, if applicable (cat /etc/os-release) Ubuntu 20.04.2 LTS #### s3fs command line used, if applicable ``` dar -Q -c /home/s3/tools/valdis.dar -w -asecu -aSI -s 2G -D -R /home/valdis ``` #### /etc/fstab entry, if applicable ``` s3fs#bucket:/ /home/s3 fuse _netdev,rw,nosuid,nodev,uid=root,gid=root 0 0 ```
kerem 2026-03-04 01:49:22 +03:00
Author
Owner

@gaul commented on GitHub (Apr 20, 2021):

s3fs 1.86 is several years old -- try with the latest 1.89 which fixes several data corruption bugs. If this still does not work, please correlate your application behavior with the s3fs debug logs via the -f -d flags. You should be able to observe individual system calls this way. Also, video is not a good way to report bugs since it is not searchable.

<!-- gh-comment-id:822871822 --> @gaul commented on GitHub (Apr 20, 2021): s3fs 1.86 is several years old -- try with the latest 1.89 which fixes several data corruption bugs. If this still does not work, please correlate your application behavior with the s3fs debug logs via the `-f -d` flags. You should be able to observe individual system calls this way. Also, video is not a good way to report bugs since it is not searchable.
Author
Owner

@valdisvi commented on GitHub (Apr 20, 2021):

Thanks! I couldn't install newer prebuilt version due too many dependencies, but compilation and installation of version 1.89 from source code solved this issue.

<!-- gh-comment-id:823204262 --> @valdisvi commented on GitHub (Apr 20, 2021): Thanks! I couldn't install [newer prebuilt](https://launchpad.net/ubuntu/+source/s3fs-fuse) version due too many dependencies, but compilation and installation of [version 1.89](https://github.com/s3fs-fuse/s3fs-fuse/releases/tag/v1.89) from [source code](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes) solved this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#855
No description provided.