# Problem with autofs

**URL:** <https://forum.rclone.org/t/problem-with-autofs/22053>\
**Category:** Help and Support\
**Created:** [February 2, 2021, 5:31pm UTC](https://forum.rclone.org/t/problem-with-autofs/22053 "2021-02-02T17:31:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cxhamilton](https://forum.rclone.org/user_avatar/forum.rclone.org/cxhamilton/32/8526_2.png) [@cxhamilton](https://forum.rclone.org/u/cxhamilton)\
**Post date:** [February 2, 2021, 5:31pm UTC](https://forum.rclone.org/t/problem-with-autofs/22053/1 "2021-02-02T17:31:31Z")

</div>

Hi. I'm trying to set up rclone with autofs on Ubuntu 20.04 and I'm running into a snag. More appropriately, a hang. Here is what I have:

**/etc/auto.master.d**

```auto
/- auto.googledrive -_netdev

```

**/etc/auto.googledrive**

```auto
/volume1/media -fstype=fuse.rclonefs,config=/root/.config/rclone/rclone.conf,allow-non-empty,allow-other,daemon,default-permissions,uid=1025,gid=100 drive:/Pensieve/media

```

I am using the [rclone mount helper script](https://github.com/rclone/rclone/wiki/rclone-mount-helper-script). For the purposes of debugging, I added _--syslog_ and _-vvv_ to the script.

**Here is what happens**

```auto
root@gigabyte:/volume1# cd media
Feb 2 11:27:38 gigabyte rclone[726911]: rclone: Version "v1.50.2" starting with parameters ["rclone" "mount" "--syslog" "-vvv" "--config=/root/.config/rclone/rclone.conf" "--allow-non-empty" "--allow-other" "--daemon" "--default-permissions" "--uid=1025" "--gid=100" "drive:/Pensieve/media" "/volume1/media"]
Feb 2 11:27:38 gigabyte rclone[726911]: Using config file from "/root/.config/rclone/rclone.conf"
Feb 2 11:27:38 gigabyte rclone[726911]: rclone: Version "v1.50.2" finishing with parameters ["rclone" "mount" "--syslog" "-vvv" "--config=/root/.config/rclone/rclone.conf" "--allow-non-empty" "--allow-other" "--daemon" "--default-permissions" "--uid=1025" "--gid=100" "drive:/Pensieve/media" "/volume1/media"]
Feb 2 11:27:39 gigabyte rclone[726932]: rclone: Version "v1.50.2" starting with parameters ["rclone" "mount" "--syslog" "-vvv" "--config=/root/.config/rclone/rclone.conf" "--allow-non-empty" "--allow-other" "--daemon" "--default-permissions" "--uid=1025" "--gid=100" "drive:/Pensieve/media" "/volume1/media"]
Feb 2 11:27:39 gigabyte rclone[726932]: Using config file from "/root/.config/rclone/rclone.conf"
Feb 2 11:27:39 gigabyte rclone[726932]: Google drive root 'Pensieve/media': Mounting on "/volume1/media"

```

From here, the _cd_ command hangs, as does _ls -l /volume1/media_.

**Output of ps**

```auto
root /bin/mount -t fuse.rclonefs -o _netdev,config=/root/.config/rclone/rclone.conf,allow-non-empty,allow-other,daemon,default-permissions,uid=1025,gid=100 drive:/Pensieve/media /volume1/media
root /bin/sh -c 'rclonefs' 'drive:/Pensieve/media' '/volume1/media' '-o' 'rw,config=/root/.config/rclone/rclone.conf,allow-non-empty,allow-other,daemon,default-permissions,uid=1025,gid=100,dev,suid'
root /bin/bash /usr/local/bin/rclonefs drive:/Pensieve/media /volume1/media -o rw,config=/root/.config/rclone/rclone.conf,allow-non-empty,allow-other,daemon,default-permissions,uid=1025,gid=100,dev,suid
root rclone mount --syslog -vvv --config=/root/.config/rclone/rclone.conf --allow-non-empty --allow-other --daemon --default-permissions --uid=1025 --gid=100 drive:/Pensieve/media /volume1/media
root fusermount -o subtype=rclone,fsname=drive:Pensieve/media,nonempty,allow_other,default_permissions -- /volume1/media

```

It is important to note that I can run the same rclone command, with the same command-line arguments and everything works perfectly.

Thoughts?

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [February 2, 2021, 5:40pm UTC](https://forum.rclone.org/t/problem-with-autofs/22053/2 "2021-02-02T17:40:27Z")

</div>

hello and welcome to the forum,

that is a very old version of rclone, that latest stable is v1.54.0.  
you can update here  
[https://rclone.org/downloads/#script-download-and-install](https://rclone.org/downloads/#script-download-and-install)

perhaps use a rclone debug log file.

i do not have the answer to your problem.  
just wanted to share that is what most rcloners use  
[https://github.com/animosity22/homescripts/blob/master/systemd/rclone.service](https://github.com/animosity22/homescripts/blob/master/systemd/rclone.service)

---

<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:** [April 4, 2021, 1:40pm UTC](https://forum.rclone.org/t/problem-with-autofs/22053/3 "2021-04-04T13:40:32Z")

</div>

Closed on April 4, 2021, 1:40pm UTC

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