# RKE prefix\_path option not working

**URL:** <https://forums.suse.com/t/rke-prefix-path-option-not-working/15770>\
**Category:** General\
**Created:** [November 8, 2019, 9:51am UTC](https://forums.suse.com/t/rke-prefix-path-option-not-working/15770 "2019-11-08T09:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laep](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@laep](https://forums.suse.com/u/laep)\
**Post date:** [November 8, 2019, 9:51am UTC](https://forums.suse.com/t/rke-prefix-path-option-not-working/15770/1 "2019-11-08T09:51:59Z")

</div>

Good day,

I had installed rancher cluster several times before. I was faced with the problem that both /var/lib/docker and /var/lib/rancher get filled up rather quickly so I remade my installation to avoid those folders. /var on my machines only have 7gb and its something i cant change.

Fortunately when setting up a cluster i can tell rancher to store everything on a different folder:

On my rke file i have the option:

prefix\_path: “/apps/rancher”

RKE gives me the error:

DEBU[0075] Failed to get /health for host [10.11.209.107]: Get [https://10.11.209.107:2379/health:](https://10.11.209.107:2379/health:) Unable to access the service on 10.11.209.107:2379. The service might be still starting up. Error: ssh: rejected: connect failed (Connection refused)

So I check docker etcd logs cause thats the etcd health check and it keeps giving me the same error while trying to restart:

2019-11-08 09:47:42.524998 C | etcdmain: error listing data dir: /var/lib/rancher/etcd/  
2019-11-08 09:47:46.017514 W | pkg/flags: unrecognized environment variable ETCD\_UNSUPPORTED\_ARCH=x86\_64  
2019-11-08 09:47:46.017606 I | etcdmain: etcd Version: 3.3.10  
2019-11-08 09:47:46.017611 I | etcdmain: Git SHA: 27fc7e2  
2019-11-08 09:47:46.017615 I | etcdmain: Go Version: go1.10.4  
2019-11-08 09:47:46.017619 I | etcdmain: Go OS/Arch: linux/amd64  
2019-11-08 09:47:46.017623 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2  
2019-11-08 09:47:46.017652 C | etcdmain: error listing data dir: /var/lib/rancher/etcd/  
2019-11-08 09:47:52.680546 W | pkg/flags: unrecognized environment variable ETCD\_UNSUPPORTED\_ARCH=x86\_64  
2019-11-08 09:47:52.680642 I | etcdmain: etcd Version: 3.3.10  
2019-11-08 09:47:52.680647 I | etcdmain: Git SHA: 27fc7e2  
2019-11-08 09:47:52.680651 I | etcdmain: Go Version: go1.10.4  
2019-11-08 09:47:52.680655 I | etcdmain: Go OS/Arch: linux/amd64  
2019-11-08 09:47:52.680659 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2  
2019-11-08 09:47:52.680684 C | etcdmain: error listing data dir: /var/lib/rancher/etcd/  
2019-11-08 09:48:05.729604 W | pkg/flags: unrecognized environment variable ETCD\_UNSUPPORTED\_ARCH=x86\_64  
2019-11-08 09:48:05.729697 I | etcdmain: etcd Version: 3.3.10  
2019-11-08 09:48:05.729703 I | etcdmain: Git SHA: 27fc7e2  
2019-11-08 09:48:05.729706 I | etcdmain: Go Version: go1.10.4  
2019-11-08 09:48:05.729710 I | etcdmain: Go OS/Arch: linux/amd64  
2019-11-08 09:48:05.729715 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2  
2019-11-08 09:48:05.729742 C | etcdmain: error listing data dir: /var/lib/rancher/etcd/  
…

Cause i am using the prefix path there isnt a /var/lib/rancher.  
The etcd folder was created under my prefix path but the docker container is trying to reach the wrong folder.
