jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.92k stars 96 forks source link

Files with a file size of 100MB or more will be destroyed if manipulated via OneDriver. #235

Open motococonv opened 2 years ago

motococonv commented 2 years ago

I'm using Google Translate. log.txt

root@csproxy:/var/od# systemctl start od-conv01 root@csproxy:/var/od# ps aux |grep conv01 root 10243 0.5 0.7 3498840 60128 ? Ssl 12:07 0:00 /usr/bin/onedriver -d -l debug -c /var/od/conv01/cache /var/od/conv01/od

root@csproxy:/var/od/conv01/od# ls -la -rw-r--r-- 1 root root 232580537 2月 2 11:29 file00.txt -rw-r--r-- 1 root root 103300001 2月 2 11:30 file01.txt -rw-r--r-- 1 root root 106254000 2月 2 11:30 file02.txt


For the above three files, we performed the following operations.

root@csproxy:/var/od/conv01/od# cp file01.txt file01-01.txt root@csproxy:/var/od/conv01/od# cp file02.txt file02-01.txt root@csproxy:/var/od/conv01/od# cp file00.txt file00-01.txt

root@csproxy:/var/od/conv01/od# ls -la file* -rw-r--r-- 1 root root 46030797 2月 2 12:18 file00-01.txt -rw-r--r-- 1 root root 46030797 2月 2 11:29 file00.txt -rw-r--r-- 1 root root 103300001 2月 2 12:15 file01-01.txt -rw-r--r-- 1 root root 103300001 2月 2 11:30 file01.txt -rw-r--r-- 1 root root 63796587 2月 2 12:17 file02-01.txt -rw-r--r-- 1 root root 63796587 2月 2 11:30 file02.txt

root@csproxy:/var/od/conv01/od# systemctl stop od-conv01 user@csproxy:~$ journalctl -u od-conv01 --since="2022-2-2 12:05:00" --until="2022-2-2 12:20:00" --no-pager > log.txt

The process for file01.txt is completed without any problem.

The files copied locally and the files from which they are read are destroyed (file reading is interrupted in the process).

There is no problem with the file on the Cloud side of the source file. The files in the copy destination are synced to the Cloud side up to the middle of the copy. Log the above operation to log.txt.

We believe the problem is similar to #200.

jstaf commented 2 years ago

I think your assessment of the situation is correct, I'll need to add a test for this and see if I can fix this.

motococonv commented 2 years ago

@jstaf I hope this problem can be solved soon. If there is any additional information needed I am ready to provide. If the problem can be solved by changing the settings, I have the environment to test it.

Oxalin commented 1 year ago

Issue 200 was closed since version 1.3 fixed it for the user. Is it still an issue with latest version for you @motococonv?