! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Broken files when copy from sshfs to USB disk
Status:
RESOLVED: INVALID

Comments

Description Sergey 2015-09-13 19:00:23 CEST
I am trying to copy several files from my remote storage over the home LAN.
The remote storage is mounted with sshfs

$ sshfs -V
SSHFS version 2.5
FUSE library version: 2.9.4
fusermount version: 2.9.4
using FUSE kernel interface version 7.19

Files are as follows:
$ du -k ./*
55628	./100.65_forceware_winvista_32bit_international_whql.exe
152120	./307.83-desktop-winxp-32bit-international-whql.exe
62888	./93.71_forceware_winxp2k_international_whql.exe

I opened a new tab in Thunar, and opened the mounted USB drive.
It was mounted with uduskie. I am not using the built-in disk management in Thunar.

Disk mounted as follows:
/dev/sdf on /media/USB DISK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)

$ udiskie -V
udiskie 1.2.0

I am using UDisks1 dbus service.


So, I copied files. The copy dialog disapper. Next, I clicked the "eject" icon in the left pane of Thunar.

Ejected the USB flash drive from PC.

Connected once again. Files are corrupted:
$ du -k ./*
0	./100.65_forceware_winvista_32bit_international_whql.exe
0	./307.83-desktop-winxp-32bit-international-whql.exe
0	./93.71_forceware_winxp2k_international_whql.exe

If you will not eject the USB disk drive immediately and wait few mins, files will be copied properly.
It looks like Thunar does not perform "sync" or something like that.

When I copy the same files to the same location using Midnight Commander, there is no copy issue happen.

My operating system is Arch Linux x64
$ uname -a
Linux main 4.1.5-1-ARCH #1 SMP PREEMPT Tue Aug 11 15:41:14 CEST 2015 x86_64 GNU/Linux
Thunar 1.6.10
Comment 1 Sergey 2016-09-21 16:55:48 CEST
Works as expected with enabled volume management.
Not a bug.

Bug #12213

Reported by:
Sergey
Reported on: 2015-09-13
Last modified on: 2016-09-21

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information