What is the problem you are having with rclone?
cannot rename or move files inside an Union rclone mount.
mv a b
mv: cannot move 'a' to 'b': Input/output error
Is there a way move work inside a Union mount?
What is your rclone version (output from rclone version
)
v1.56.1
ubuntu 20.04 lts server
Which cloud storage system are you using? (eg Google Drive)
union of google cloud storage and local
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
mv a b
The rclone config contents with secrets removed.
[remote]
type = google cloud storage
service_account_file = ***
[union]
type = union
action_policy = all
create_policy = all
search_policy = ff
A log from the command with the -vv
flag
2021/09/22 13:05:13 DEBUG : /: Attr:
2021/09/22 13:05:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
2021/09/22 13:05:13 DEBUG : /: Lookup: name="a"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=a, err=<nil>
2021/09/22 13:05:13 DEBUG : a: Attr:
2021/09/22 13:05:13 DEBUG : a: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=<nil>
2021/09/22 13:05:13 DEBUG : /: Lookup: name="b"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/09/22 13:05:13 DEBUG : /: Lookup: name="b"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/09/22 13:05:13 DEBUG : /: Lookup: name="b"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/09/22 13:05:13 DEBUG : /: Rename: oldName="a", newName="b", newDir=/
2021/09/22 13:05:13 ERROR : a: Dir.Rename error: Fs "union root ''" can't rename files (no server-side Move or Copy)
2021/09/22 13:05:13 ERROR : a: Dir.Rename error: Fs "union root ''" can't rename files (no server-side Move or Copy)
2021/09/22 13:05:13 DEBUG : /: >Rename: err=Fs "union root ''" can't rename files (no server-side Move or Copy)
2021/09/22 13:05:13 DEBUG : /: Lookup: name="b"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2021/09/22 13:05:13 DEBUG : /: Lookup: name="b"
2021/09/22 13:05:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory