# Input/Output Error with GDRIVE

**URL:** <https://forum.rclone.org/t/input-output-error-with-gdrive/28158>\
**Category:** Help and Support\
**Created:** [December 22, 2021, 1:43pm UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158 "2021-12-22T13:43:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morta](https://forum.rclone.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Morta](https://forum.rclone.org/u/Morta)\
**Post date:** [December 22, 2021, 1:43pm UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158/1 "2021-12-22T13:43:41Z")

</div>

#### What is the problem you are having with rclone?

I have Input/Output Error like this one:

```auto

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`)

```auto
"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`)

```auto
 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.

```auto
[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

```auto
 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

```

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 22, 2021, 1:47pm UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158/2 "2021-12-22T13:47:31Z")

</div>

Looks like you have a permissions issue.

```auto
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.

---

<div class="post-metadata">

**Author:** ![Morta](https://forum.rclone.org/letter_avatar_proxy/v4/letter/m/f05b48/32.png) [@Morta](https://forum.rclone.org/u/Morta)\
**Post date:** [December 23, 2021, 7:00am UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158/3 "2021-12-23T07:00:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [December 23, 2021, 12:46pm UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158/4 "2021-12-23T12:46:28Z")

</div>

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

Run

```auto
ls -al /home

```

And share the output.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [January 22, 2022, 12:46pm UTC](https://forum.rclone.org/t/input-output-error-with-gdrive/28158/5 "2022-01-22T12:46:47Z")

</div>

Closed on January 22, 2022, 12:46pm UTC

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