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 rclone version
)
rclone --version
rclone v1.54.0-beta.4792.e7fbdac8e
- 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)
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 \
--drive-acknowledge-abuse \
--cache-info-age=6h \
--cache-dir=/cache \
--cache-workers=5 --cache-tmp-wait-time=60m --attr-timeout=60s \
--use-mmap --max-read-ahead=512k \
--poll-interval=15s \
--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
samba mount
[qzhu496]
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.
[q]
type = drive
client_id = 4l7q.apps.googleusercontent.com
client_secret = zlnacQgC
scope = drive
root_folder_id =
token =
sh_token":
team_drive =
A log from the command with the -vv
flag
pi3# cd rclone/Data/tmp
pi3# ls -asl
total 2
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
ncw
(Nick Craig-Wood)
September 30, 2020, 5:20pm
2
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
local5.debug -/var/log/samba/audit.log
[global]
log level = 0 vfs:2
I have rebooted /reloaded smbd a few times (via systemctl and smbcontrol)
======== update:
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)
============ update2:
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[8124]: 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
rclone log:
asdffdsa
(jojothehumanmonkey)
October 2, 2020, 1:03pm
6
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,…
ncw
(Nick Craig-Wood)
October 3, 2020, 9:10am
7
Good!
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?
system
(system)
Closed
December 3, 2020, 5:10am
8
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.