# Ranchre NFS volume getting created with extra characters

**URL:** <https://forums.suse.com/t/ranchre-nfs-volume-getting-created-with-extra-characters/7231>\
**Category:** Rancher 1.x\
**Created:** [September 1, 2017, 5:50am UTC](https://forums.suse.com/t/ranchre-nfs-volume-getting-created-with-extra-characters/7231 "2017-09-01T05:50:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvpotty](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vishnuvpotty/32/2738_2.png) [@vishnuvpotty](https://forums.suse.com/u/vishnuvpotty)\
**Post date:** [September 1, 2017, 5:50am UTC](https://forums.suse.com/t/ranchre-nfs-volume-getting-created-with-extra-characters/7231/1 "2017-09-01T05:50:34Z")

</div>

Hello Everyone,

I am using below docker-compose.yml to create a volume and then attaching to my jenkins image.

> ```
> version: '2'
> services:
> Jenkins:
> ports:
> - 8080:8080
> image: jenkins/jenkins:lts
> stdin_open: true
> volumes:
> - jenkinsdata:/data
> volumes:
> jenkinsdata:
> driver: rancher-nfs
> external: true
> driver_opts:
> onRemove: retain
> 
> ```

However, in the Storage pools, I am seeing volume name as Jenkins\_jenkinsdata\_079e7 instead of jenkinsdata

 ![rancherpools](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/c/c01eb64c2f87f31cc69695ab8b650b06f67fed79.JPG)

Is this the expected behaviour for stack scoped volumes?

Thanks,  
Vishnu

---

<div class="post-metadata">

**Author:** ![jrosengren](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jrosengren/32/2831_2.png) [@jrosengren](https://forums.suse.com/u/jrosengren)\
**Post date:** [September 1, 2017, 12:44pm UTC](https://forums.suse.com/t/ranchre-nfs-volume-getting-created-with-extra-characters/7231/2 "2017-09-01T12:44:19Z")

</div>

> In Rancher, stack scoped volumes are named with the stack name as a prefix to indicate which stack the volume is scoped to and suffixed with a random number to guarantee no duplication. When referencing the volume, you still use the original volume name. For example, if you create a volume called foo in stackA, the volume name in the UI and on your hosts will be stackA\_foo\_, but to use the same volume in your service, you would use the name foo.

[http://rancher.com/docs/rancher/v1.6/en/cattle/volumes/](http://rancher.com/docs/rancher/v1.6/en/cattle/volumes/)

---

<div class="post-metadata">

**Author:** ![vishnuvpotty](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vishnuvpotty/32/2738_2.png) [@vishnuvpotty](https://forums.suse.com/u/vishnuvpotty)\
**Post date:** [September 4, 2017, 12:35am UTC](https://forums.suse.com/t/ranchre-nfs-volume-getting-created-with-extra-characters/7231/3 "2017-09-04T00:35:44Z")

</div>

> [@jrosengren](#):
>
> prefix

@jrosengren  
Thank you. It makes sense. I somehow overlooked this particular section in the document.
