StorJ / Tardigrade: Cannot rename or edit in mounted remote

What is the problem you are having with rclone?

I cannot rename a folder or file, or edit a file, in mounted StorJ / Tardigrade remote.

It works fine to configure and connect to the remote, and copy stuff into it using rclone copy. Mount works in the sense that the remote gets mounted. But then I cannot rename or edit anything in the mounted remote from my desktop file manager. Get error message saying "...error renaming file ... Input/output error". Rclone logs something like
ERROR : ..... : Dir.Rename error: Fs "FS sj://" can't rename files (no server-side Move or Copy)

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: linuxmint 20.1 (64 bit)
  • os/kernel: 5.4.0-58-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2

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

Tardigrade

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

Mount like this:
rclone mount StorJP1B1: /home/lennart/StorJ1 --vfs-cache-mode writes -v

The actual problem occurs when i for example rename a folder using my file manager Nemo.

The rclone config contents with secrets removed.

[StorJP1B1]
type = tardigrade
satellite_address = 12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs@europe-west-1.tardigrade.io:7777
api_key = XXXX
passphrase = XXXX
access_grant = XXXX

A log from the command with the -vv flag


Part of log when rename a folder in mounted StorJ remote


2022/02/19 19:48:25 DEBUG : /: Lookup: name="Testfolder2"
2022/02/19 19:48:25 DEBUG : /: >Lookup: node=Testfolder2/, err=
2022/02/19 19:48:25 DEBUG : Testfolder2/: Attr:
2022/02/19 19:48:25 DEBUG : Testfolder2/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:25 DEBUG : : Statfs:
2022/02/19 19:48:25 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2022/02/19 19:48:27 DEBUG : /: Attr:
2022/02/19 19:48:27 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:28 DEBUG : : Statfs:
2022/02/19 19:48:28 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2022/02/19 19:48:28 DEBUG : /: Lookup: name="Testfolder2"
2022/02/19 19:48:28 DEBUG : /: >Lookup: node=Testfolder2/, err=
2022/02/19 19:48:28 DEBUG : Testfolder2/: Attr:
2022/02/19 19:48:28 DEBUG : Testfolder2/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:30 DEBUG : /: Attr:
2022/02/19 19:48:30 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:33 DEBUG : /: Attr:
2022/02/19 19:48:33 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:36 DEBUG : /: Lookup: name="Testfolder2_renamed"
2022/02/19 19:48:36 DEBUG : /: >Lookup: node=, err=no such file or directory
2022/02/19 19:48:36 DEBUG : /: Lookup: name="Testfolder2"
2022/02/19 19:48:36 DEBUG : /: >Lookup: node=Testfolder2/, err=
2022/02/19 19:48:36 DEBUG : Testfolder2/: Attr:
2022/02/19 19:48:36 DEBUG : Testfolder2/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2022/02/19 19:48:36 DEBUG : /: Lookup: name="Testfolder2_renamed"
2022/02/19 19:48:36 DEBUG : /: >Lookup: node=, err=no such file or directory
2022/02/19 19:48:36 DEBUG : /: Rename: oldName="Testfolder2", newName="Testfolder2_renamed", newDir=/
2022/02/19 19:48:36 ERROR : Testfolder2: Dir.Rename error: Fs "FS sj://testbucket1" can't rename directories (no DirMove, Move or Copy)
2022/02/19 19:48:36 DEBUG : /: >Rename: err=Fs "FS sj://testbucket1" can't rename directories (no DirMove, Move or Copy)
2022/02/19 19:48:36 DEBUG : : Statfs:
2022/02/19 19:48:36 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=


Part of log when edit a file in mounted StorJ remote


2022/02/19 20:01:32 DEBUG : &{Testfile001.txt (rw)}: Flush:
2022/02/19 20:01:32 DEBUG : Testfile001.txt(0xc000562780): RWFileHandle.Flush
2022/02/19 20:01:32 DEBUG : &{Testfile001.txt (rw)}: >Flush: err=
2022/02/19 20:01:32 DEBUG : &{.goutputstream-WFLBI1 (rw)}: Write: len=19, offset=0
2022/02/19 20:01:32 DEBUG : &{Testfile001.txt (rw)}: Release:
2022/02/19 20:01:32 DEBUG : .goutputstream-WFLBI1(0xc0005628c0): _writeAt: size=19, off=0
2022/02/19 20:01:32 DEBUG : Testfile001.txt(0xc000562780): RWFileHandle.Release
2022/02/19 20:01:32 DEBUG : Testfile001.txt(0xc000562780): close:
2022/02/19 20:01:32 DEBUG : Testfile001.txt(0xc000562780): >close: err=
2022/02/19 20:01:32 DEBUG : .goutputstream-WFLBI1(0xc0005628c0): >_writeAt: n=19, err=
2022/02/19 20:01:32 DEBUG : &{Testfile001.txt (rw)}: >Release: err=
2022/02/19 20:01:32 DEBUG : &{.goutputstream-WFLBI1 (rw)}: >Write: written=19, err=
2022/02/19 20:01:32 DEBUG : .goutputstream-WFLBI1: Fsync:
2022/02/19 20:01:32 DEBUG : .goutputstream-WFLBI1: >Fsync: err=
2022/02/19 20:01:32 DEBUG : /: Rename: oldName=".goutputstream-WFLBI1", newName="Testfile001.txt", newDir=/
2022/02/19 20:01:32 ERROR : .goutputstream-WFLBI1: Dir.Rename error: Fs "FS sj://testbucket1" can't rename files (no server-side Move or Copy)
2022/02/19 20:01:32 ERROR : .goutputstream-WFLBI1: Dir.Rename error: Fs "FS sj://testbucket1" can't rename files (no server-side Move or Copy)
2022/02/19 20:01:32 DEBUG : /: >Rename: err=Fs "FS sj://testbucket1" can't rename files (no server-side Move or Copy)
2022/02/19 20:01:32 DEBUG : &{.goutputstream-WFLBI1 (rw)}: Flush:

Known issue here:

Remote-to-remote moving/renaming does not work on Storj (but Storj cli 'uplink' supports it) · Issue #5961 · rclone/rclone (github.com)

This support for this is coming soon hopefully, but is not there yet.

Storj has only recently gained support for renames - we just need to add this into the backend.

Thanks for prompt response.
Then I'll just wait until it is supported.
And thanks for the good work you do.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.