[unraid] rclone Permission and writefilehandle.write Issue

Hello! I am using rclone (1.53.3) in unraid (6.8.3) but I am facing certain issues with the rclone and Google Drive.

I have made this post with my explanation format and rclone's official format too so that I could mention the issue in my words too for easy explanation and rclone's format too for easy understanding.

Mounted Location: /mnt/disks/ua_hdd1/gdrive (ua_hdd1 is an unassigned disk/drive).

Command: rclone mount --allow-other --buffer-size 256M --dir-cache-time 96h --timeout 1h --default-permissions --uid 99 --gid 100 --umask 002 -vv gdrive: /mnt/disks/ua_hdd1/gdrive &

Now, I have actually mapped a network drive directly to this mounted location onto my Windows PC.

Issue: If I try to copy or do any action on this drive, it gives me a permission error “You need permission to perform this action”.

Screenshot: https://i.imgur.com/sAnLaeu.png

Error Log:

2020/12/26 23:07:09 ERROR : 100MB.bin: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2020/12/26 23:07:10 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/26 23:07:12 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/26 23:07:13 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
(Log with -vv is shared below)

Solution: --vfs-cache-mode writes

But, this issue is only happening when I am doing the copy or any other action via. Windows SMB Share of this Folder.

If I submit a command root@unraid:/mnt/disks/ua_hdd1/test# cp 100MB.bin /mnt/disks/ua_hdd1/gdrive/Test1

It doesn’t throw the error as mentioned above and it directly uploads the file to Google Drive. Issue is only happening inside the Windows Share and it is perfectly working fine when, I am copying the file inside the unraid using the terminal/console.

So, Please assist me, how could I do the same when I’m using the smb share mapped network drive of this folder on the Windows OS.

unraid login user: root
Windows Mapped Drive user: adi (this is the user I have created in the unraid)

Screenshot: https://i.imgur.com/6PMNzZQ.png

Thanks.

Below is rclone forum's official format:

What is the problem you are having with rclone?

If I try to copy or do any action on this drive, it gives me a permission error “You need permission to perform this action”.

Screenshot: https://i.imgur.com/sAnLaeu.png

What is your rclone version (output from rclone version)

1.53.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

rclone is installed on unraid and I am using Mapped Network Drive to the Mounted Location of Google Drive on my Windows 10 OS 64Bit.

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount --allow-other --buffer-size 256M --dir-cache-time 96h --timeout 1h --default-permissions --uid 99 --gid 100 --umask 002 -vv gdrive: /mnt/disks/ua_hdd1/gdrive &

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = xxxx.apps.googleusercontent.com
client_secret = xxxx
scope = drive
token = {"access_token":"xxxxx","token_type":"Bearer","refresh_token":"xxxx","expiry":"2020-12-27T01:28:04.435079521+05:30"}
team_drive =xxxx
root_folder_id = 

A log from the command with the -vv flag

2020/12/27 00:56:51 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "mount" "--allow-other" "--buffer-size" "256M" "--dir-cache-time" "96h" "--timeout" "1h" "--default-permissions" "--uid" "99" "--gid" "100" "--umask" "002" "-vv" "gdrive:" "/mnt/disks/ua_hdd1/gdrive"]
2020/12/27 00:56:51 DEBUG : Creating backend with remote "gdrive:"
2020/12/27 00:56:51 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2020/12/27 00:56:51 DEBUG : Google drive root '': Mounting on "/mnt/disks/ua_hdd1/gdrive"
2020/12/27 00:56:51 DEBUG : : Root:
2020/12/27 00:56:51 DEBUG : : >Root: node=/, err=
2020/12/27 00:56:57 DEBUG : /: Attr:
2020/12/27 00:56:57 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:56:57 DEBUG : : Statfs:
2020/12/27 00:56:58 DEBUG : Google drive root '': read info from team drive "AlexJohn1"
2020/12/27 00:56:58 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:56:58 DEBUG : /: Attr:
2020/12/27 00:56:58 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:56:58 DEBUG : : Statfs:
2020/12/27 00:56:58 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:57:51 DEBUG : /: Attr:
2020/12/27 00:57:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:51 DEBUG : /: Lookup: name="Desktop.ini"
2020/12/27 00:57:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: Lookup: name="Desktop.ini"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: ReadDirAll:
2020/12/27 00:57:51 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:57:51 DEBUG : /: Attr:
2020/12/27 00:57:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:51 DEBUG : /: Lookup: name="AutoRun.inf"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: Lookup: name="AutoRun.inf"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: ReadDirAll:
2020/12/27 00:57:51 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:57:53 DEBUG : /: Attr:
2020/12/27 00:57:53 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:53 DEBUG : : Statfs:
2020/12/27 00:57:53 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:57:53 DEBUG : : Statfs:
2020/12/27 00:57:53 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="desktop.ini"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:01 DEBUG : /: Lookup: name="desktop.ini"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:01 DEBUG : /: ReadDirAll:
2020/12/27 00:58:01 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: ReadDirAll:
2020/12/27 00:58:01 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="5GB1.bin"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=5GB1.bin, err=
2020/12/27 00:58:01 DEBUG : 5GB1.bin: Attr:
2020/12/27 00:58:01 DEBUG : 5GB1.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="P"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=P/, err=
2020/12/27 00:58:01 DEBUG : P/: Attr:
2020/12/27 00:58:01 DEBUG : P/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="Test1"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=Test1/, err=
2020/12/27 00:58:01 DEBUG : Test1/: Attr:
2020/12/27 00:58:01 DEBUG : Test1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="bu"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=bu/, err=
2020/12/27 00:58:01 DEBUG : bu/: Attr:
2020/12/27 00:58:01 DEBUG : bu/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="media"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=media/, err=
2020/12/27 00:58:01 DEBUG : media/: Attr:
2020/12/27 00:58:01 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="media_swizzin"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=media_swizzin/, err=
2020/12/27 00:58:01 DEBUG : media_swizzin/: Attr:
2020/12/27 00:58:01 DEBUG : media_swizzin/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="nzb"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=nzb/, err=
2020/12/27 00:58:01 DEBUG : nzb/: Attr:
2020/12/27 00:58:01 DEBUG : nzb/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="test"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=test/, err=
2020/12/27 00:58:01 DEBUG : test/: Attr:
2020/12/27 00:58:01 DEBUG : test/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="torrent"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=torrent/, err=
2020/12/27 00:58:01 DEBUG : torrent/: Attr:
2020/12/27 00:58:01 DEBUG : torrent/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="youtube"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=youtube/, err=
2020/12/27 00:58:01 DEBUG : youtube/: Attr:
2020/12/27 00:58:01 DEBUG : youtube/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:01 DEBUG : yt/: Attr:
2020/12/27 00:58:01 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: ReadDirAll:
2020/12/27 00:58:02 DEBUG : yt/: >ReadDirAll: item=1, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: Lookup: name="1"
2020/12/27 00:58:02 DEBUG : yt/: >Lookup: node=yt/1/, err=
2020/12/27 00:58:02 DEBUG : yt/1/: Attr:
2020/12/27 00:58:02 DEBUG : yt/1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : /: Attr:
2020/12/27 00:58:02 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:02 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/1/: ReadDirAll:
2020/12/27 00:58:03 DEBUG : yt/1/: >ReadDirAll: item=0, err=
2020/12/27 00:58:03 DEBUG : yt/1/: Attr:
2020/12/27 00:58:03 DEBUG : yt/1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : : Statfs:
2020/12/27 00:58:05 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:05 DEBUG : /: ReadDirAll:
2020/12/27 00:58:05 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="5GB1.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=5GB1.bin, err=
2020/12/27 00:58:05 DEBUG : 5GB1.bin: Attr:
2020/12/27 00:58:05 DEBUG : 5GB1.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="P"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=P/, err=
2020/12/27 00:58:05 DEBUG : P/: Attr:
2020/12/27 00:58:05 DEBUG : P/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="Test1"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=Test1/, err=
2020/12/27 00:58:05 DEBUG : Test1/: Attr:
2020/12/27 00:58:05 DEBUG : Test1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="bu"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=bu/, err=
2020/12/27 00:58:05 DEBUG : bu/: Attr:
2020/12/27 00:58:05 DEBUG : bu/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="media"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=media/, err=
2020/12/27 00:58:05 DEBUG : media/: Attr:
2020/12/27 00:58:05 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="media_swizzin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=media_swizzin/, err=
2020/12/27 00:58:05 DEBUG : media_swizzin/: Attr:
2020/12/27 00:58:05 DEBUG : media_swizzin/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="nzb"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=nzb/, err=
2020/12/27 00:58:05 DEBUG : nzb/: Attr:
2020/12/27 00:58:05 DEBUG : nzb/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="test"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=test/, err=
2020/12/27 00:58:05 DEBUG : test/: Attr:
2020/12/27 00:58:05 DEBUG : test/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="torrent"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=torrent/, err=
2020/12/27 00:58:05 DEBUG : torrent/: Attr:
2020/12/27 00:58:05 DEBUG : torrent/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="youtube"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=youtube/, err=
2020/12/27 00:58:05 DEBUG : youtube/: Attr:
2020/12/27 00:58:05 DEBUG : youtube/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:05 DEBUG : yt/: Attr:
2020/12/27 00:58:05 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: ReadDirAll:
2020/12/27 00:58:05 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: Create: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : 100MB.bin: Open: flags=O_RDWR|O_CREATE|O_EXCL
2020/12/27 00:58:05 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Open: fd=100MB.bin (w), err=
2020/12/27 00:58:05 DEBUG : /: >Create: node=100MB.bin, handle=&{100MB.bin (w)}, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xbf Node=0xe Uid=99 Gid=100 Pid=610] mode=-rw-rw-rw- handle=INVALID-0x0
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Setattr: err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xc0 Node=0xe Uid=99 Gid=100 Pid=610] size=104857600 handle=0x2 lockowner
2020/12/27 00:58:05 DEBUG : 100MB.bin: Truncating 1 file handles
2020/12/27 00:58:05 ERROR : 100MB.bin: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Setattr: err=operation not permitted
2020/12/27 00:58:05 DEBUG : &{100MB.bin (w)}: Write: len=1, offset=104857599
2020/12/27 00:58:05 DEBUG : 100MB.bin: waiting for in-sequence write to 104857599 for 1s
2020/12/27 00:58:06 DEBUG : 100MB.bin: aborting in-sequence write wait, off=104857599
2020/12/27 00:58:06 DEBUG : 100MB.bin: failed to wait for in-sequence write to 104857599
2020/12/27 00:58:06 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: Write: len=1, offset=0
2020/12/27 00:58:06 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: >Write: written=1, err=
2020/12/27 00:58:06 DEBUG : /: Attr:
2020/12/27 00:58:06 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:06 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xc4 Node=0xe Uid=99 Gid=100 Pid=610] atime=2020-12-27 00:58:05.376145022 +0530 IST mtime=2020-12-27 00:58:06.380347038 +0530 IST handle=INVALID-0x0
2020/12/27 00:58:06 DEBUG : 100MB.bin: >Setattr: err=
2020/12/27 00:58:06 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:06 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=0
2020/12/27 00:58:06 DEBUG : 100MB.bin: waiting for in-sequence write to 0 for 1s
2020/12/27 00:58:07 DEBUG : 100MB.bin: aborting in-sequence write wait, off=0
2020/12/27 00:58:07 DEBUG : 100MB.bin: failed to wait for in-sequence write to 0
2020/12/27 00:58:07 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=1048576
2020/12/27 00:58:07 DEBUG : 100MB.bin: waiting for in-sequence write to 1048576 for 1s
2020/12/27 00:58:07 DEBUG : /: Attr:
2020/12/27 00:58:07 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:08 DEBUG : 100MB.bin: aborting in-sequence write wait, off=1048576
2020/12/27 00:58:08 DEBUG : 100MB.bin: failed to wait for in-sequence write to 1048576
2020/12/27 00:58:08 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=2097152
2020/12/27 00:58:08 DEBUG : 100MB.bin: waiting for in-sequence write to 2097152 for 1s
2020/12/27 00:58:09 DEBUG : 100MB.bin: aborting in-sequence write wait, off=2097152
2020/12/27 00:58:09 DEBUG : 100MB.bin: failed to wait for in-sequence write to 2097152
2020/12/27 00:58:09 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:09 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:09 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=3145728
2020/12/27 00:58:09 DEBUG : 100MB.bin: waiting for in-sequence write to 3145728 for 1s
2020/12/27 00:58:10 DEBUG : 100MB.bin: aborting in-sequence write wait, off=3145728
2020/12/27 00:58:10 DEBUG : 100MB.bin: failed to wait for in-sequence write to 3145728
2020/12/27 00:58:10 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:10 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:10 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=4194304
2020/12/27 00:58:10 DEBUG : 100MB.bin: waiting for in-sequence write to 4194304 for 1s
2020/12/27 00:58:11 DEBUG : 100MB.bin: aborting in-sequence write wait, off=4194304
2020/12/27 00:58:11 DEBUG : 100MB.bin: failed to wait for in-sequence write to 4194304
2020/12/27 00:58:11 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:11 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:11 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=5242880
2020/12/27 00:58:11 DEBUG : 100MB.bin: waiting for in-sequence write to 5242880 for 1s
2020/12/27 00:58:12 DEBUG : 100MB.bin: aborting in-sequence write wait, off=5242880
2020/12/27 00:58:12 DEBUG : 100MB.bin: failed to wait for in-sequence write to 5242880
2020/12/27 00:58:12 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:12 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:12 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=6291456
2020/12/27 00:58:12 DEBUG : 100MB.bin: waiting for in-sequence write to 6291456 for 1s
2020/12/27 00:58:13 DEBUG : 100MB.bin: aborting in-sequence write wait, off=6291456
2020/12/27 00:58:13 DEBUG : 100MB.bin: failed to wait for in-sequence write to 6291456
2020/12/27 00:58:13 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:13 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:13 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=7340032
2020/12/27 00:58:13 DEBUG : 100MB.bin: waiting for in-sequence write to 7340032 for 1s
2020/12/27 00:58:14 DEBUG : 100MB.bin: aborting in-sequence write wait, off=7340032
2020/12/27 00:58:14 DEBUG : 100MB.bin: failed to wait for in-sequence write to 7340032
2020/12/27 00:58:14 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:14 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:14 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:14 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:14 DEBUG : /: Attr:
2020/12/27 00:58:14 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:14 DEBUG : /: Remove: name="100MB.bin"
2020/12/27 00:58:14 DEBUG : 100MB.bin: Remove:
2020/12/27 00:58:14 DEBUG : : Added virtual directory entry vDel: "100MB.bin"
2020/12/27 00:58:14 DEBUG : 100MB.bin: >Remove: err=
2020/12/27 00:58:14 DEBUG : /: >Remove: err=
2020/12/27 00:58:14 DEBUG : &{100MB.bin (w)}: Flush:
2020/12/27 00:58:14 DEBUG : Google drive root '': File to upload is small (1 bytes), uploading instead of streaming
2020/12/27 00:58:16 DEBUG : 100MB.bin: MD5 = 93b885adfe0da089cdf634904fd59f71 OK
2020/12/27 00:58:16 INFO : 100MB.bin: Copied (new)
2020/12/27 00:58:17 DEBUG : 100MB.bin: Applied pending mod time 2020-12-27 00:58:06.380347038 +0530 IST OK
2020/12/27 00:58:17 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: >Flush: err=
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: Release:
2020/12/27 00:58:17 DEBUG : 100MB.bin: WriteFileHandle.Release nothing to do
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: >Release: err=
2020/12/27 00:58:17 DEBUG : /: Attr:
2020/12/27 00:58:17 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:17 DEBUG : : Statfs:
2020/12/27 00:58:17 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:17 DEBUG : : Statfs:
2020/12/27 00:58:17 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:24 DEBUG : /: Attr:
2020/12/27 00:58:24 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:47 DEBUG : /: Attr:
2020/12/27 00:58:47 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 00:58:51 DEBUG : : changeNotify: relativePath="100MB.bin", type=3
2020/12/27 00:58:51 DEBUG : : invalidating directory cache
2020/12/27 00:58:51 DEBUG : : >changeNotify:
2020/12/27 00:59:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 01:00:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 01:01:02 DEBUG : /: Attr:
2020/12/27 01:01:02 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=

seems like a samba issue.

perhaps this post will have useful info.
*Solved* Is it possible to access my Rclone mount as a Samba share? - #14 by asdffdsa

Hello, Thanks for the reply. I'm unclear because, I'm already using --allow-other if that is what you are meaning?

rclone mount --allow-other --buffer-size 256M --dir-cache-time 96h --timeout 1h --default-permissions --uid 99 --gid 100 --umask 002 -vv gdrive: /mnt/disks/ua_hdd1/gdrive &

Please if you could re-check and see what could be the issue?

Thanks.

not a linux expert, but i was able to get samba to share a rclone mount.

that post shows the rclone mount command i used
rclone mount gcrypt: /home/pi/rclone/mounts/gcrypt --allow-other
and
a weblink that i used to set up samba.

I'm still unable to understand, What solution are you referring to. Please if you could tag someone who might know what's wrong with my setup?

Thanks.

Hello @ncw, @thestigma and @Animosity022,

I have read like 10-20 threads of the similar issues but none of them are facing the exact same issue as I'm. But, I did notice that you all were able to somehow help all of them to fix the issue. Hence, I'm tagging you.

I have mentioned each and everything in the opening thread (opening post) with my own format and rclone's offical format. So that you can understand the issue properly.

Please don't mind but I've been figuring this issue for more than 2 months now and I couldn't find any solution. I have read so many threads on Reddit, rclone forum, unraid forum, multiple discord server that I'm forced to ask here and tag you all.

Please assist me with this.

Thanks

Sorry as I don't use Samba as I wouldn't mount a network drive to share it out as seems to complicate things are you have noticed.

I would just mount the drive on Windows and avoid the step all together.

Hi, Thanks for the reply. But, still if anyone could help me troubleshoot this.

Because even if I use --vfs-cache-mode writes after 7 or 8GB, it stops copying and restarts. So if any file which is more than 7GB is not able to copy to the destination.

If you know someone over here could help me? Please tag.

Also, How can I ask @ncw to check this thread so that maybe he could find something?

Thanks.

try to simply the command.
as i mentioned, i posted the command that i used and it work fine.
did you try that?

using that rclone mount command, i was able to setup samba so my windows computer could access that rclone mount.

Command: rclone mount --allow-other --buffer-size 256M --dir-cache-time 96h --timeout 1h --default-permissions --uid 99 --gid 100 --umask 002 -vv gdrive: /mnt/disks/ua_hdd1/gdrive &

  1. I am able to access the Google Drive Content.
  2. I am able to make the Samba on my Windows Computer.
  3. I am able to browser the Google Drive Content on Windows Computer.

Issue: If I am copying anything from Windows to Samba Share, it is giving me permission error.

It makes the 0-1 KB File and says "You need permission to perform this action".

Screenshot: https://i.imgur.com/sAnLaeu.png

Please help!

Log:

2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=0
2020/12/27 00:58:06 DEBUG : 100MB.bin: waiting for in-sequence write to 0 for 1s
2020/12/27 00:58:07 DEBUG : 100MB.bin: aborting in-sequence write wait, off=0
2020/12/27 00:58:07 DEBUG : 100MB.bin: failed to wait for in-sequence write to 0
2020/12/27 00:58:07 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=1048576
2020/12/27 00:58:07 DEBUG : 100MB.bin: waiting for in-sequence write to 1048576 for 1s
2020/12/27 00:58:07 DEBUG : /: Attr:
2020/12/27 00:58:07 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:08 DEBUG : 100MB.bin: aborting in-sequence write wait, off=1048576
2020/12/27 00:58:08 DEBUG : 100MB.bin: failed to wait for in-sequence write to 1048576
2020/12/27 00:58:08 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=2097152
2020/12/27 00:58:08 DEBUG : 100MB.bin: waiting for in-sequence write to 2097152 for 1s
2020/12/27 00:58:09 DEBUG : 100MB.bin: aborting in-sequence write wait, off=2097152
2020/12/27 00:58:09 DEBUG : 100MB.bin: failed to wait for in-sequence write to 2097152
2020/12/27 00:58:09 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes```

--vfs-cache-mode >= writes
that implies the mode is not set correctly.
that log file is missing the top part, with the command and other start-up stuff, can you post it?

When I copy anything from Samba Share to Windows: It is copying fine. Everything is working as expected.

When I copy anything from Windows to Samba Share: It is throwing the above mentioned error.

you command is missing --vfs-cache-mode, thus that error

This Post has full log file in the end: [unraid] rclone Permission and writefilehandle.write Issue

But, I have mentioned it here again:

2020/12/27 00:56:51 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "mount" "--allow-other" "--buffer-size" "256M" "--dir-cache-time" "96h" "--timeout" "1h" "--default-permissions" "--uid" "99" "--gid" "100" "--umask" "002" "-vv" "gdrive:" "/mnt/disks/ua_hdd1/gdrive"]
2020/12/27 00:56:51 DEBUG : Creating backend with remote "gdrive:"
2020/12/27 00:56:51 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2020/12/27 00:56:51 DEBUG : Google drive root '': Mounting on "/mnt/disks/ua_hdd1/gdrive"
2020/12/27 00:56:51 DEBUG : : Root:
2020/12/27 00:56:51 DEBUG : : >Root: node=/, err=
2020/12/27 00:56:57 DEBUG : /: Attr:
2020/12/27 00:56:57 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:56:57 DEBUG : : Statfs:
2020/12/27 00:56:58 DEBUG : Google drive root '': read info from team drive "AlexJohn1"
2020/12/27 00:56:58 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:56:58 DEBUG : /: Attr:
2020/12/27 00:56:58 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:56:58 DEBUG : : Statfs:
2020/12/27 00:56:58 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:57:51 DEBUG : /: Attr:
2020/12/27 00:57:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:51 DEBUG : /: Lookup: name="Desktop.ini"
2020/12/27 00:57:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: Lookup: name="Desktop.ini"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: ReadDirAll:
2020/12/27 00:57:51 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:57:51 DEBUG : /: Attr:
2020/12/27 00:57:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:51 DEBUG : /: Lookup: name="AutoRun.inf"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: Lookup: name="AutoRun.inf"
2020/12/27 00:57:51 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:57:51 DEBUG : /: ReadDirAll:
2020/12/27 00:57:51 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:57:53 DEBUG : /: Attr:
2020/12/27 00:57:53 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:57:53 DEBUG : : Statfs:
2020/12/27 00:57:53 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:57:53 DEBUG : : Statfs:
2020/12/27 00:57:53 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="desktop.ini"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:01 DEBUG : /: Lookup: name="desktop.ini"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:01 DEBUG : /: ReadDirAll:
2020/12/27 00:58:01 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: ReadDirAll:
2020/12/27 00:58:01 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="5GB1.bin"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=5GB1.bin, err=
2020/12/27 00:58:01 DEBUG : 5GB1.bin: Attr:
2020/12/27 00:58:01 DEBUG : 5GB1.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="P"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=P/, err=
2020/12/27 00:58:01 DEBUG : P/: Attr:
2020/12/27 00:58:01 DEBUG : P/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="Test1"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=Test1/, err=
2020/12/27 00:58:01 DEBUG : Test1/: Attr:
2020/12/27 00:58:01 DEBUG : Test1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="bu"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=bu/, err=
2020/12/27 00:58:01 DEBUG : bu/: Attr:
2020/12/27 00:58:01 DEBUG : bu/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="media"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=media/, err=
2020/12/27 00:58:01 DEBUG : media/: Attr:
2020/12/27 00:58:01 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="media_swizzin"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=media_swizzin/, err=
2020/12/27 00:58:01 DEBUG : media_swizzin/: Attr:
2020/12/27 00:58:01 DEBUG : media_swizzin/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="nzb"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=nzb/, err=
2020/12/27 00:58:01 DEBUG : nzb/: Attr:
2020/12/27 00:58:01 DEBUG : nzb/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="test"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=test/, err=
2020/12/27 00:58:01 DEBUG : test/: Attr:
2020/12/27 00:58:01 DEBUG : test/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="torrent"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=torrent/, err=
2020/12/27 00:58:01 DEBUG : torrent/: Attr:
2020/12/27 00:58:01 DEBUG : torrent/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="youtube"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=youtube/, err=
2020/12/27 00:58:01 DEBUG : youtube/: Attr:
2020/12/27 00:58:01 DEBUG : youtube/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:01 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:01 DEBUG : yt/: Attr:
2020/12/27 00:58:01 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:01 DEBUG : /: Attr:
2020/12/27 00:58:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: ReadDirAll:
2020/12/27 00:58:02 DEBUG : yt/: >ReadDirAll: item=1, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: Lookup: name="1"
2020/12/27 00:58:02 DEBUG : yt/: >Lookup: node=yt/1/, err=
2020/12/27 00:58:02 DEBUG : yt/1/: Attr:
2020/12/27 00:58:02 DEBUG : yt/1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : /: Attr:
2020/12/27 00:58:02 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:02 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/: Attr:
2020/12/27 00:58:02 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:02 DEBUG : yt/1/: ReadDirAll:
2020/12/27 00:58:03 DEBUG : yt/1/: >ReadDirAll: item=0, err=
2020/12/27 00:58:03 DEBUG : yt/1/: Attr:
2020/12/27 00:58:03 DEBUG : yt/1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : : Statfs:
2020/12/27 00:58:05 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:05 DEBUG : /: ReadDirAll:
2020/12/27 00:58:05 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="5GB1.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=5GB1.bin, err=
2020/12/27 00:58:05 DEBUG : 5GB1.bin: Attr:
2020/12/27 00:58:05 DEBUG : 5GB1.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="P"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=P/, err=
2020/12/27 00:58:05 DEBUG : P/: Attr:
2020/12/27 00:58:05 DEBUG : P/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="Test1"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=Test1/, err=
2020/12/27 00:58:05 DEBUG : Test1/: Attr:
2020/12/27 00:58:05 DEBUG : Test1/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="bu"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=bu/, err=
2020/12/27 00:58:05 DEBUG : bu/: Attr:
2020/12/27 00:58:05 DEBUG : bu/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="media"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=media/, err=
2020/12/27 00:58:05 DEBUG : media/: Attr:
2020/12/27 00:58:05 DEBUG : media/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="media_swizzin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=media_swizzin/, err=
2020/12/27 00:58:05 DEBUG : media_swizzin/: Attr:
2020/12/27 00:58:05 DEBUG : media_swizzin/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="nzb"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=nzb/, err=
2020/12/27 00:58:05 DEBUG : nzb/: Attr:
2020/12/27 00:58:05 DEBUG : nzb/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="test"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=test/, err=
2020/12/27 00:58:05 DEBUG : test/: Attr:
2020/12/27 00:58:05 DEBUG : test/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="torrent"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=torrent/, err=
2020/12/27 00:58:05 DEBUG : torrent/: Attr:
2020/12/27 00:58:05 DEBUG : torrent/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="youtube"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=youtube/, err=
2020/12/27 00:58:05 DEBUG : youtube/: Attr:
2020/12/27 00:58:05 DEBUG : youtube/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="yt"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=yt/, err=
2020/12/27 00:58:05 DEBUG : yt/: Attr:
2020/12/27 00:58:05 DEBUG : yt/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: ReadDirAll:
2020/12/27 00:58:05 DEBUG : /: >ReadDirAll: item=11, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : /: Lookup: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : /: >Lookup: node=, err=no such file or directory
2020/12/27 00:58:05 DEBUG : /: Create: name="100MB.bin"
2020/12/27 00:58:05 DEBUG : 100MB.bin: Open: flags=O_RDWR|O_CREATE|O_EXCL
2020/12/27 00:58:05 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Open: fd=100MB.bin (w), err=
2020/12/27 00:58:05 DEBUG : /: >Create: node=100MB.bin, handle=&{100MB.bin (w)}, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : /: Attr:
2020/12/27 00:58:05 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xbf Node=0xe Uid=99 Gid=100 Pid=610] mode=-rw-rw-rw- handle=INVALID-0x0
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Setattr: err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=
2020/12/27 00:58:05 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xc0 Node=0xe Uid=99 Gid=100 Pid=610] size=104857600 handle=0x2 lockowner
2020/12/27 00:58:05 DEBUG : 100MB.bin: Truncating 1 file handles
2020/12/27 00:58:05 ERROR : 100MB.bin: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2020/12/27 00:58:05 DEBUG : 100MB.bin: >Setattr: err=operation not permitted
2020/12/27 00:58:05 DEBUG : &{100MB.bin (w)}: Write: len=1, offset=104857599
2020/12/27 00:58:05 DEBUG : 100MB.bin: waiting for in-sequence write to 104857599 for 1s
2020/12/27 00:58:06 DEBUG : 100MB.bin: aborting in-sequence write wait, off=104857599
2020/12/27 00:58:06 DEBUG : 100MB.bin: failed to wait for in-sequence write to 104857599
2020/12/27 00:58:06 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: Write: len=1, offset=0
2020/12/27 00:58:06 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: >Write: written=1, err=
2020/12/27 00:58:06 DEBUG : /: Attr:
2020/12/27 00:58:06 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:06 DEBUG : 100MB.bin: Setattr: a=Setattr [ID=0xc4 Node=0xe Uid=99 Gid=100 Pid=610] atime=2020-12-27 00:58:05.376145022 +0530 IST mtime=2020-12-27 00:58:06.380347038 +0530 IST handle=INVALID-0x0
2020/12/27 00:58:06 DEBUG : 100MB.bin: >Setattr: err=
2020/12/27 00:58:06 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:06 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:06 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=0
2020/12/27 00:58:06 DEBUG : 100MB.bin: waiting for in-sequence write to 0 for 1s
2020/12/27 00:58:07 DEBUG : 100MB.bin: aborting in-sequence write wait, off=0
2020/12/27 00:58:07 DEBUG : 100MB.bin: failed to wait for in-sequence write to 0
2020/12/27 00:58:07 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=1048576
2020/12/27 00:58:07 DEBUG : 100MB.bin: waiting for in-sequence write to 1048576 for 1s
2020/12/27 00:58:07 DEBUG : /: Attr:
2020/12/27 00:58:07 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:07 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:07 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:08 DEBUG : 100MB.bin: aborting in-sequence write wait, off=1048576
2020/12/27 00:58:08 DEBUG : 100MB.bin: failed to wait for in-sequence write to 1048576
2020/12/27 00:58:08 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:08 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=2097152
2020/12/27 00:58:08 DEBUG : 100MB.bin: waiting for in-sequence write to 2097152 for 1s
2020/12/27 00:58:09 DEBUG : 100MB.bin: aborting in-sequence write wait, off=2097152
2020/12/27 00:58:09 DEBUG : 100MB.bin: failed to wait for in-sequence write to 2097152
2020/12/27 00:58:09 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:09 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:09 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=3145728
2020/12/27 00:58:09 DEBUG : 100MB.bin: waiting for in-sequence write to 3145728 for 1s
2020/12/27 00:58:10 DEBUG : 100MB.bin: aborting in-sequence write wait, off=3145728
2020/12/27 00:58:10 DEBUG : 100MB.bin: failed to wait for in-sequence write to 3145728
2020/12/27 00:58:10 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:10 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:10 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=4194304
2020/12/27 00:58:10 DEBUG : 100MB.bin: waiting for in-sequence write to 4194304 for 1s
2020/12/27 00:58:11 DEBUG : 100MB.bin: aborting in-sequence write wait, off=4194304
2020/12/27 00:58:11 DEBUG : 100MB.bin: failed to wait for in-sequence write to 4194304
2020/12/27 00:58:11 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:11 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:11 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=5242880
2020/12/27 00:58:11 DEBUG : 100MB.bin: waiting for in-sequence write to 5242880 for 1s
2020/12/27 00:58:12 DEBUG : 100MB.bin: aborting in-sequence write wait, off=5242880
2020/12/27 00:58:12 DEBUG : 100MB.bin: failed to wait for in-sequence write to 5242880
2020/12/27 00:58:12 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:12 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:12 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=6291456
2020/12/27 00:58:12 DEBUG : 100MB.bin: waiting for in-sequence write to 6291456 for 1s
2020/12/27 00:58:13 DEBUG : 100MB.bin: aborting in-sequence write wait, off=6291456
2020/12/27 00:58:13 DEBUG : 100MB.bin: failed to wait for in-sequence write to 6291456
2020/12/27 00:58:13 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:13 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:13 DEBUG : &{100MB.bin (w)}: Write: len=131072, offset=7340032
2020/12/27 00:58:13 DEBUG : 100MB.bin: waiting for in-sequence write to 7340032 for 1s
2020/12/27 00:58:14 DEBUG : 100MB.bin: aborting in-sequence write wait, off=7340032
2020/12/27 00:58:14 DEBUG : 100MB.bin: failed to wait for in-sequence write to 7340032
2020/12/27 00:58:14 ERROR : 100MB.bin: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/12/27 00:58:14 DEBUG : &{100MB.bin (w)}: >Write: written=0, err=illegal seek
2020/12/27 00:58:14 DEBUG : 100MB.bin: Attr:
2020/12/27 00:58:14 DEBUG : 100MB.bin: >Attr: a=valid=1s ino=0 size=1 mode=-rw-rw-r--, err=
2020/12/27 00:58:14 DEBUG : /: Attr:
2020/12/27 00:58:14 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:14 DEBUG : /: Remove: name="100MB.bin"
2020/12/27 00:58:14 DEBUG : 100MB.bin: Remove:
2020/12/27 00:58:14 DEBUG : : Added virtual directory entry vDel: "100MB.bin"
2020/12/27 00:58:14 DEBUG : 100MB.bin: >Remove: err=
2020/12/27 00:58:14 DEBUG : /: >Remove: err=
2020/12/27 00:58:14 DEBUG : &{100MB.bin (w)}: Flush:
2020/12/27 00:58:14 DEBUG : Google drive root '': File to upload is small (1 bytes), uploading instead of streaming
2020/12/27 00:58:16 DEBUG : 100MB.bin: MD5 = 93b885adfe0da089cdf634904fd59f71 OK
2020/12/27 00:58:16 INFO : 100MB.bin: Copied (new)
2020/12/27 00:58:17 DEBUG : 100MB.bin: Applied pending mod time 2020-12-27 00:58:06.380347038 +0530 IST OK
2020/12/27 00:58:17 DEBUG : : Added virtual directory entry vAdd: "100MB.bin"
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: >Flush: err=
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: Release:
2020/12/27 00:58:17 DEBUG : 100MB.bin: WriteFileHandle.Release nothing to do
2020/12/27 00:58:17 DEBUG : &{100MB.bin (w)}: >Release: err=
2020/12/27 00:58:17 DEBUG : /: Attr:
2020/12/27 00:58:17 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:17 DEBUG : : Statfs:
2020/12/27 00:58:17 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:17 DEBUG : : Statfs:
2020/12/27 00:58:17 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2020/12/27 00:58:24 DEBUG : /: Attr:
2020/12/27 00:58:24 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:47 DEBUG : /: Attr:
2020/12/27 00:58:47 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2020/12/27 00:58:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 00:58:51 DEBUG : : changeNotify: relativePath="100MB.bin", type=3
2020/12/27 00:58:51 DEBUG : : invalidating directory cache
2020/12/27 00:58:51 DEBUG : : >changeNotify:
2020/12/27 00:59:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 01:00:51 DEBUG : Google drive root '': Checking for changes on remote
2020/12/27 01:01:02 DEBUG : /: Attr:
2020/12/27 01:01:02 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=

Yes, I have mentioned this also into my first post. But it has one issue as well which I wanted to bring to @ncw and others.

It only works if the file size is less than 7GB, anything more than 7GB and it fails to work. It stops the process.

If there is some solution for this, let me know.

Let's suppose. If the file size is 100MB, it will work fine.

But if the file size is 10GB, it will copy the file upto the 7GB and then stops it and deletes the file.

windows cannot write to the rclone mount as the command is missing --vfs-cache-mode, thus that error.
so add --vfs-cache-mode=full to your command and test again

I just told you, Please read : [unraid] rclone Permission and writefilehandle.write Issue - #15 by alexjohn

Yes, I have mentioned this also into my first post. But it has one issue as well which I wanted to bring to @ncw and others.

It only works if the file size is less than 7GB, anything more than 7GB and it fails to work. It stops the process.

If there is some solution for this, let me know.

Let's suppose. If the file size is 100MB, it will work fine.

But if the file size is 10GB, it will copy the file upto the 7GB and then stops it and deletes the file.

You are telling me something which I already know. But with --vfs-cache-mode=full I am facing the issue as mentioned in the quote above.

It only works for the files which are less than 7GB. It doesn't work for the files which are more than 7GB.

As I mentioned a few posts above, putting Samba on put of rclone is just not a great idea as you have to understand how Samba works as well.

If it's writing a larger file, it requires vfs-cache-mode writes. There is nothing rclone can do to fix that other than enable vfs-cache-mode writes.

It isn't a bug/problem/deficiency with rclone as it's just how Samba works when writing a file.

There is no other setting to change or adjust in rclone to fix this.

1 Like

But it is partially fixing. With --vfs-cache-mode writes

Any file more than 7GB in size, fails to copy and just stops copying. Is that normal?

Like, If the file size is 10GB, it will copy the file till 7GB and once it reaches 7GB, it stops copying and deletes the file.

This is happening outside of SAMBA also. It is the same thing happening in Linux environment also.

Anything more than 7GB, it fails.

If you can reproduce the issue with a debug log file on Linux without Samba, please share the full debug log and the steps you executed to recreate the issue as it works fine with any of the other modes and you only enable full or writes if the program/process writing requires it which is noted by the debug log.

felix@gemini:~$ cd /data
felix@gemini:/data$ fallocate -l 10G test.out
felix@gemini:/data$ du -sh test.out
10G     test.out
felix@gemini:/data$ cp test.out /GD
felix@gemini:/data$ cd /GD
felix@gemini:/GD$ ls -al
total 10485761
-rw-rw-r-- 1 felix felix 10737418240 Dec 27 11:23 test.out
felix@gemini:/GD$ du -sh test.out
10G     test.out
felix@gemini:/GD$ ps -ef | grep rclone | grep GD
felix        880       1  9 Dec23 ?        09:04:33 /usr/bin/rclone mount gcrypt: /GD --allow-other --dir-cache-time 1000h --log-level NOTICE --log-file /opt/rclone/logs/rclone.log --poll-interval 15s --umask 002 --user-agent randomappname101 --rc --rc-addr :5572 --rc-no-auth --cache-dir=/cache --vfs-cache-mode full --vfs-cache-max-size 500G --vfs-cache-max-age 336h --bwlimit-file 16M

There's a 10GB file copied with no issues.

1 Like