Skip to content

Instantly share code, notes, and snippets.

@SomebodyOdd
Created December 13, 2021 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SomebodyOdd/62c913abae1870783e74e54e0a7a00af to your computer and use it in GitHub Desktop.
Save SomebodyOdd/62c913abae1870783e74e54e0a7a00af to your computer and use it in GitHub Desktop.
RClone log write then seek
PS C:\Users\igord\Desktop\rclone-v1.57.0-windows-amd64> ./rclone mount :memory:/ Y:\ -vv --vfs-cache-mode=off --bwlimit=10M
2021/12/13 16:36:47 INFO : Starting bandwidth limiter at 10Mi Byte/s
2021/12/13 16:36:47 DEBUG : rclone: Version "v1.57.0" starting with parameters ["C:\\Users\\igord\\Desktop\\rclone-v1.57.0-windows-amd64\\rclone.exe" "mount" ":memory:/" "Y:\\" "-vv" "--vfs-cache-mode=off" "--bwlimit=10M"]
2021/12/13 16:36:47 DEBUG : Creating backend with remote ":memory:/"
2021/12/13 16:36:47 DEBUG : fs cache: renaming cache item ":memory:/" to be canonical ":memory:"
2021/12/13 16:36:47 INFO : Memory root '': poll-interval is not supported by this remote
2021/12/13 16:36:47 DEBUG : Network mode mounting is disabled
2021/12/13 16:36:47 DEBUG : Mounting on "Y:" ("memory")
2021/12/13 16:36:47 DEBUG : Memory root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=memory"]
2021/12/13 16:36:47 DEBUG : Memory root '': Init:
2021/12/13 16:36:47 DEBUG : Memory root '': >Init:
2021/12/13 16:36:47 DEBUG : /: Statfs:
2021/12/13 16:36:47 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Readlink:
2021/12/13 16:36:47 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2021/12/13 16:36:47 DEBUG : /: Statfs:
2021/12/13 16:36:47 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Opendir:
2021/12/13 16:36:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/12/13 16:36:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/12/13 16:36:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Releasedir: fh=0x0
2021/12/13 16:36:47 DEBUG : /: >Releasedir: errc=0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Opendir:
2021/12/13 16:36:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/12/13 16:36:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/12/13 16:36:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/12/13 16:36:47 DEBUG : /: Releasedir: fh=0x0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: >Releasedir: errc=0
2021/12/13 16:36:47 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:47 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:47 DEBUG : /: Opendir:
2021/12/13 16:36:47 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/12/13 16:36:47 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/12/13 16:36:47 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/12/13 16:36:47 DEBUG : /: Releasedir: fh=0x0
2021/12/13 16:36:47 DEBUG : /: >Releasedir: errc=0
2021/12/13 16:36:50 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/12/13 16:36:50 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/12/13 16:36:50 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /autorun.inf: >Getattr: errc=-2
2021/12/13 16:36:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:50 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:50 DEBUG : /: Opendir:
2021/12/13 16:36:50 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/12/13 16:36:50 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/12/13 16:36:50 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/12/13 16:36:50 DEBUG : /: Releasedir: fh=0x0
2021/12/13 16:36:50 DEBUG : /: >Releasedir: errc=0
2021/12/13 16:36:50 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:50 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=-2
2021/12/13 16:36:55 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/12/13 16:36:55 DEBUG : /: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: CreateEx: flags=0x502, mode=0770
2021/12/13 16:36:55 DEBUG : test.bin: Open: flags=O_RDWR|O_CREATE|O_EXCL
2021/12/13 16:36:55 DEBUG : : Added virtual directory entry vAddFile: "test.bin"
2021/12/13 16:36:55 DEBUG : test.bin: >Open: fd=test.bin (w), err=<nil>
2021/12/13 16:36:55 DEBUG : /test.bin: >CreateEx: errc=0, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=0, fh=0x0
2021/12/13 16:36:55 DEBUG : : Added virtual directory entry vAddFile: "test.bin"
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=131072, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=262144, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=393216, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=524288, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=655360, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=786432, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:55 DEBUG : /test.bin: Write: ofst=917504, fh=0x0
2021/12/13 16:36:55 DEBUG : /test.bin: >Write: n=131072
2021/12/13 16:36:55 DEBUG : /test.bin: Read: ofst=0, fh=0x0
2021/12/13 16:36:55 ERROR : test.bin: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal
2021/12/13 16:36:55 DEBUG : /test.bin: >Read: n=-1
2021/12/13 16:36:58 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:58 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:58 DEBUG : /test.bin: Getattr: fh=0x0
2021/12/13 16:36:58 DEBUG : /test.bin: >Getattr: errc=0
2021/12/13 16:36:58 DEBUG : /test.bin: Read: ofst=0, fh=0x0
2021/12/13 16:36:58 ERROR : test.bin: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal
2021/12/13 16:36:58 DEBUG : /test.bin: >Read: n=-1
2021/12/13 16:36:58 DEBUG : /test.bin: Flush: fh=0x0
2021/12/13 16:36:58 DEBUG : test.bin: Size and modification time the same (differ by 0s, within tolerance 1ns)
2021/12/13 16:36:58 DEBUG : : Added virtual directory entry vAddFile: "test.bin"
2021/12/13 16:36:58 DEBUG : /test.bin: >Flush: errc=0
2021/12/13 16:36:58 DEBUG : /test.bin: Release: fh=0x0
2021/12/13 16:36:58 DEBUG : test.bin: WriteFileHandle.Release nothing to do
2021/12/13 16:36:58 DEBUG : /test.bin: >Release: errc=0
The service rclone has been stopped.
2021/12/13 16:37:50 DEBUG : Memory root '': Destroy:
2021/12/13 16:37:50 DEBUG : Memory root '': >Destroy:
2021/12/13 16:37:50 DEBUG : Not calling host.Unmount as mount already Destroyed
2021/12/13 16:37:50 DEBUG : Unmounted successfully
2021/12/13 16:37:50 ERROR : Y:\: Unmounted rclone mount
2021/12/13 16:37:50 DEBUG : rclone: Version "v1.57.0" finishing with parameters ["C:\\Users\\igord\\Desktop\\rclone-v1.57.0-windows-amd64\\rclone.exe" "mount" ":memory:/" "Y:\\" "-vv" "--vfs-cache-mode=off" "--bwlimit=10M"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment