What is the problem you are having with rclone?
I'm using rclone on a raspberry 4 and I've successfully mounted a Google Drive partition on /mnt/GDrive (I can see files on raspberry), my issues start when I try to access that folder using nfs on my pc, I see it empty on pc.
Run the command 'rclone version' and share the full output of the command.
Here is my rclone version:
rclone v1.61.1
- os/version: debian 11.6 (64 bit)
- os/kernel: 6.1.19-v8+ (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
I'm using Google Drive storage system.
Raspberry configuration:
I've mounted it on my raspberry using systemd (I'm new to these things not even sure if I chose best settings for mount the drive)
[Unit]
Description=Mount GDrive1Crypt
AssertPathIsDirectory=/mnt/GDrive
After=networking.service
[Service]
Type=simple
ExecStart=rclone mount --config=/root/.config/rclone/rclone.conf encrypted_gdrive: /mnt/GDrive --allow-other --cache-db-purge --fast-list --poll-interval 20m
ExecStop=/bin/fusermount -u /mnt/GDrive
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
export file:
/mnt *(rw,async,insecure,no_root_squash,fsid=0,crossmnt,no_subtree_check)
running ls -l on /mnt folders:
drwxr-xr-x 1 root root 0 Mar 21 11:29 GDrive
drwxrwsrwx+ 21 dietpi dietpi 4096 Mar 15 13:31 Toshiba
tried to chown / chmod but as soon as it mounts the folder owner gets changed to root, not sure if that's the issue
my rclone config file:
[GDrive]
type = drive
client_id = x
client_secret = x
scope = drive
token = {"access_token":"x","expiry":"x"}
team_drive = x
root_folder_id =
[encrypted_gdrive]
type = crypt
remote = GDrive:backup
password = x
password2 = x
Pc configuration:
fstab looks like this:
# This is a disk (not related to rclone) attached to the raspberry and it works correctly
192.168.50.99:/Toshiba /mnt/Toshiba nfs defaults 0 0
# This is the rclone fstab entry but it's not working
192.168.50.99:/GDrive /mnt/GDrive nfs defaults 0 0