Input/Output Error with GDRIVE

What is the problem you are having with rclone?

I have Input/Output Error like this one:


cp -r IMDB.Top.100.German.DL.1080p.BluRay.x264/ /home/GDRIVE/DATA/MOVIEZ/
cp: error copying 'IMDB.Top.100.German.DL.1080p.BluRay.x264/047-Gladiator.2000.EXTENDED.REMASTERED.German.DL.1080p.BluRay.x264.PROPER-DETAiLS/d-gladiatorrem-1080p.mkv' to '/home/GDRIVE/DATA/MOVIEZ/IMDB.Top.100.German.DL.1080p.BluRay.x264/047-Gladiator.2000.EXTENDED.REMASTERED.German.DL.1080p.BluRay.x264.PROPER-DETAiLS/d-gladiatorrem-1080p.mkv': Eingabe-/Ausgabefehler

What is your rclone version (output from rclone version)

"v1.57.0"

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)

 cat /etc/systemd/system/rclone.service 
[Unit]
Description=rClone Google Drive 
Wants=network-online.target
After=network.target network-online.target mutli-user.target

[Service]
Type=simple
User=morta
ExecStartPre=/bin/sleep 30	
ExecStart=/usr/bin/rclone mount --allow-non-empty GDRIVE:  "/home/GDRIVE" --config "/home/morta/.config/rclone/rclone.conf" --vfs-cache-mode=writes --max-read-ahead "200M" --dir-cache-time "5m" --acd-templink-threshold "0" --bwlimit "0" --checkers "32" --low-level-retries "1" --quiet --stats "0" --timeout "30s"

ExecStop=fusermount -uz /home/GDRIVE
Restart=on-abort

The rclone config contents with secrets removed.

[GDRIVE]
type = drive
client_id = xxx.apps.googleusercontent.com
client_secret = xxx
scope = drive
token = {"access_token":"xxx","expiry":"2021-12-22T14:57:24.747120652+01:00"}
team_drive = 

A log from the command with the -vv flag

 rclone mount --allow-non-empty GDRIVE:  "/home/GDRIVE" --config "/home/morta/.config/rclone/rclone.conf" --vfs-cache-mode=writes --max-read-ahead "200M" --dir-cache-time "5m" --acd-templink-threshold "0" --bwlimit "0" --checkers "32" --low-level-retries "1"  --timeout "30s" -vv
<7>DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "mount" "--allow-non-empty" "GDRIVE:" "/home/GDRIVE" "--config" "/home/morta/.config/rclone/rclone.conf" "--vfs-cache-mode=writes" "--max-read-ahead" "200M" "--dir-cache-time" "5m" "--acd-templink-threshold" "0" "--bwlimit" "0" "--checkers" "32" "--low-level-retries" "1" "--timeout" "30s" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "GDRIVE:"
<7>DEBUG : Using config file from "/home/morta/.config/rclone/rclone.conf"
<7>DEBUG : Google drive root '': 'root_folder_id = XXXX' - save this in the config to speed up startup
<7>DEBUG : vfs cache: root is "/home/morta/.cache/rclone"
<7>DEBUG : vfs cache: data root is "/home/morta/.cache/rclone/vfs/GDRIVE"
<7>DEBUG : vfs cache: metadata root is "/home/morta/.cache/rclone/vfsMeta/GDRIVE"
<7>DEBUG : Creating backend with remote "/home/morta/.cache/rclone/vfs/GDRIVE/"
<7>DEBUG : Creating backend with remote "/home/morta/.cache/rclone/vfsMeta/GDRIVE/"
<7>DEBUG : DATA/MP3/ziAY8g8G: vfs cache: truncate to size=49941950679
<7>DEBUG : DATA/MP3/ziAY8g8G: vfs cache: setting modification time to 2021-12-22 14:02:35.013897495 +0100 CET
<6>INFO  : DATA/MP3/ziAY8g8G: vfs cache: queuing for upload in 5s
<7>DEBUG : DATA/MP3: Added virtual directory entry vAddFile: "ziAY8g8G"
<7>DEBUG : Google drive root '': Mounting on "/home/GDRIVE"
<7>DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item DATA/MP3/ziAY8g8G not removed, freed 0 bytes
<6>INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 0 (was 0)
mount helper error: fusermount: failed to access mountpoint /home/GDRIVE: Permission denied
Fatal error: failed to mount FUSE fs: fusermount: exit status 1

Looks like you have a permissions issue.

mount helper error: fusermount: failed to access mountpoint /home/GDRIVE: Permission denied

Does the user you are running as have access to that area? Doesn't seem they do.

No this is only i already mounted GDRIVE and I can't unmount because is in use...

That's not an in use error as it's a permission error.

Run

ls -al /home

And share the output.

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