my setup is rclone 1.5.4 (beta) running in raspberrypi 3 docker, host os is ubuntu 20.04 64bit
What is your rclone version (output from
- os/arch: linux/arm64
- go version: go1.15.2
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg
rclone copy /tmp remote:tmp)
rclone mount --allow-non-empty --allow-other \
--dir-cache-time=1000h --cache-workers=5 \
--buffer-size 256M --cache-chunk-size=8M \
--cache-workers=5 --cache-tmp-wait-time=60m --attr-timeout=60s \
--use-mmap --max-read-ahead=512k \
--volname=q --drive-use-trash --checkers=10 \
--umask=000 -vv --vfs-cache-mode writes \
--cache-tmp-upload-path=/cache/upload --cache-tmp-wait-time=20s q:/ /mnt/q \
--rc --rc-serve --rc-web-gui --rc-addr :5572 --rc-user abc --rc-pass 123 --rc-web-gui-no-open-browser --rc-web-gui-update
path = /media/rclone/
comment = Rclone Mount
browsable = true
writable = true
kernel oplocks = false
kernel share modes = false
posix locking = false
read only = false
valid users = @users, @sudo
force user = root
force group = root
The rclone config contents with secrets removed.
type = drive
client_id = 4l7q.apps.googleusercontent.com
client_secret = zlnacQgC
scope = drive
A log from the command with the
pi3# cd rclone/Data/tmp
pi3# ls -asl
0 -rw-rw-rw- 1 root root 0 May 31 01:54 'upload copy.sh'
2 -rw-rw-rw- 1 root root 1347 Apr 17 16:10 upload.sh
What happens when you try to remove stuff? Do you get an error?
Can you check the smb log to see if there is anything in there?
I didn't see anything out of the ordinary in the rclone log.
thanks for the reply, I'm trying to get the samba logs as you asked. funny thing is, I realized I can create file no problem but I can't modify it.
I have absolutely no idea wth is going on, but it seems to be working now. I did make changes but the changes are for getting the logs.
firstly, my /var/log was mounted on a usb drive, and the folder /var/log/samba wasn't created before, so I created the folder
in the smb.conf:
I added to the specific share:
vfs objects = full_audit
full_audit:prefix = %u|%I|%m|%S
full_audit:failure = none
full_audit:success = mkdir rmdir open read pread write pwrite sendfile rename unlink lock
full_audit:facility = local5
full_audit:priority = debug
log level = 0 vfs:2
I have rebooted /reloaded smbd a few times (via systemctl and smbcontrol)
I didn't think it was relevant before, but I had
vfs objects = catia fruit streams_xattr , in my smb.conf [global] before. now I have write permission after I override it with
vfs objects = full_audit, which i suspect was the cause. I'll attach the whole file now. (this is after adding those audit lines at the end)
TimeMachine share has always been working
this is the log when I tried (and failed) to backup time machine to a rclone mount
this is related samba log:
Oct 02 14:08:21 pi3 smbd_audit: derek|**my ip emitted**|derek-work-mac|TimeMachineQzhu496|open|fail (Input/output error)|r|/media/smb/tm_qzhu496/tm/.com.apple.timemachine.supported-d229f2cb-8744-4295-b7e1-3ae47590e91
have you searched the forum, lots of posts.
for example, here is a link
So I moved the rclone mount and chucked it in the /media/data directory as firstly that's a far more logical place to have it and secondly because that is the same location I have my backups folder, which I can share via Samba without issues....
It still doesn't work
The only obvious difference I can see is that the backup folder is owned by root and my mount is owned by my user. I'm reluctant to change my mount user and group to root as I feel like that could be opening a can of worms,…
The IO error should correspond to an ERROR in the rclone log, but I can't see it. Can you see an ERROR in your logs?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.