# Rancher-NFS problem

**URL:** <https://forums.suse.com/t/rancher-nfs-problem/8037>\
**Category:** Rancher 1.x\
**Created:** [December 13, 2017, 10:31am UTC](https://forums.suse.com/t/rancher-nfs-problem/8037 "2017-12-13T10:31:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![geom](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/geom/32/3049_2.png) [@geom](https://forums.suse.com/u/geom)\
**Post date:** [December 13, 2017, 10:31am UTC](https://forums.suse.com/t/rancher-nfs-problem/8037/1 "2017-12-13T10:31:10Z")

</div>

Hi,  
there seems to be a problem with rancher-nfs in v 1.6.12

Starting a Service like this fails:

```
version: '2'
volumes:
  example:
    driver: rancher-nfs
    external: true
services:
  nginx-1:
    image: nginx
    volumes:
    - example:/etc/nginx/conf.d
    - example:/var/www/
    ports:
    - 8081:8081/tcp
    - 8443:8443/tcp

```

Workaround:  
version: ‘2’

```
services:
  nginx-psxf:
    image: nginx
    volumes:
    - /etc/nginx/conf.d:/etc/nginx/conf.d
    - /var/www/:/var/www/
    ports:
    - 8081:8081/tcp
    - 8443:8443/tcp

```

The service is created. Next upgrading the Volume via Frontend to the desired configuration works!?

---

<div class="post-metadata">

**Author:** ![cjellick](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/cjellick/32/2876_2.png) [@cjellick](https://forums.suse.com/u/cjellick)\
**Post date:** [December 13, 2017, 5:38pm UTC](https://forums.suse.com/t/rancher-nfs-problem/8037/2 "2017-12-13T17:38:26Z")

</div>

You have this in your volume definition:

> [@geom](#):
>
> external: true

did you precreate the volume on the storage page? That flag tells rancher to not try to create the volume, that it should already exist. Is that what you are expecting?

---

<div class="post-metadata">

**Author:** ![geom](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/geom/32/3049_2.png) [@geom](https://forums.suse.com/u/geom)\
**Post date:** [December 13, 2017, 6:56pm UTC](https://forums.suse.com/t/rancher-nfs-problem/8037/3 "2017-12-13T18:56:03Z")

</div>

Hi,  
yes I did. Actually, I cloned an other DIR with the “same” service and renamed only the main folder.

Sorry, it might be obvious, but is there a way to get detailed logs of the startup process?

---

<div class="post-metadata">

**Author:** ![Fraser\_Goffin](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/fraser_goffin/32/6608_2.png) [@Fraser\_Goffin](https://forums.suse.com/u/Fraser_Goffin)\
**Post date:** [December 18, 2017, 12:14am UTC](https://forums.suse.com/t/rancher-nfs-problem/8037/4 "2017-12-18T00:14:31Z")

</div>

It would be nice if Rancher fixed what according to the docker-compose spec is invalid syntax (would save a lot of confusion at the very least) :

external cannot be used in conjunction with other volume configuration keys (driver, driver\_opts).
