You are not logged in.

#1 2022-07-07 15:44:17

tomax
Member
Registered: 2022-07-02
Posts: 9

[Solved] Usb flash disk - progress bar not synced with file transfer

Hello, when I transfer some big files to my usb flash disk (videos), the progress bar arrives at 100% and the file transfer window closes itself, but when I try to eject volume it tells me that the file transfer is still in progress , and to not eject the volume still. Here's a screen of it.
Is it a bug? How can I solve this problem?

Thanks

file.jpg

Last edited by tomax (2022-07-09 08:05:51)

Offline

#2 2022-07-07 18:52:30

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

Its not a bug. There's a 'cache' involved. Thus the progress bar is too fast. You can omit that behavior by mounting with 'sync' option but its not recommended for general usage.


sys2064

Offline

#3 2022-07-07 19:02:50

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

Maniaxx wrote:

Its not a bug. There's a 'cache' involved. Thus the progress bar is too fast. You can omit that behavior by mounting with 'sync' option but its not recommended for general usage.

Ok thanks

Offline

#4 2022-07-08 01:19:56

jonno2002
Member
Registered: 2016-11-21
Posts: 875

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

https://wiki.archlinux.org/title/Sysctl#Virtual_memory

this is what i do:

cat /etc/sysctl.d/99.sysctl.conf 
vm.dirty_bytes=50331648
vm.dirty_background_bytes=16777216

Offline

#5 2022-07-08 06:31:45

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

jonno2002 wrote:

https://wiki.archlinux.org/title/Sysctl#Virtual_memory

this is what i do:

cat /etc/sysctl.d/99.sysctl.conf 
vm.dirty_bytes=50331648
vm.dirty_background_bytes=16777216

Thanks, is it normal that I don't have the file 99.sysctl.conf ? Do I need to create it and add those commands to the file?

Offline

#6 2022-07-08 07:26:21

jonno2002
Member
Registered: 2016-11-21
Posts: 875

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

yea sorry that info is at the top of the page i posted:
https://wiki.archlinux.org/title/Sysctl

so yes you create that file and set those values, be sure to read the virtual memory section including the linked info so you understand what your doing

Offline

#7 2022-07-08 08:18:52

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [Solved] Usb flash disk - progress bar not synced with file transfer

jonno2002 wrote:

yea sorry that info is at the top of the page i posted:
https://wiki.archlinux.org/title/Sysctl

so yes you create that file and set those values, be sure to read the virtual memory section including the linked info so you understand what your doing

Ok thanks a lot !

Last edited by tomax (2022-07-08 08:19:04)

Offline

Board footer

Powered by FluxBB