# Volume is mounted inside the pod successfully, I can see it with a terminal, but when using a ipython kernel, data is not there

**URL:** <https://discourse.jupyter.org/t/volume-is-mounted-inside-the-pod-successfully-i-can-see-it-with-a-terminal-but-when-using-a-ipython-kernel-data-is-not-there/8107>\
**Category:** JupyterHub\
**Created:** [February 25, 2021, 9:01am UTC](https://discourse.jupyter.org/t/volume-is-mounted-inside-the-pod-successfully-i-can-see-it-with-a-terminal-but-when-using-a-ipython-kernel-data-is-not-there/8107 "2021-02-25T09:01:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dummys](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/dummys/32/3125_2.png) [@dummys](https://discourse.jupyter.org/u/dummys)\
**Post date:** [February 25, 2021, 9:01am UTC](https://discourse.jupyter.org/t/volume-is-mounted-inside-the-pod-successfully-i-can-see-it-with-a-terminal-but-when-using-a-ipython-kernel-data-is-not-there/8107/1 "2021-02-25T09:01:01Z")

</div>

Hi, Im using hostpath to mount an extra volume to the user pod. The shared folder is in the /lab gui. I can see it when I use a Terminal kernel, but when using a python kernel, there is nothing in the environement.  
I use jupyter-gateway for the kernel python. so It must be something inside Enterprise-Gateway. I tried to set the mirrorworkingdirs but did not change anything. I’m using containerd as my container manager in my k8s one node cluster.

And also how to pass the KERNEL\_USERNAME to the kernel pod generated by Enterprise gateway ?

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [March 1, 2021, 3:07pm UTC](https://discourse.jupyter.org/t/volume-is-mounted-inside-the-pod-successfully-i-can-see-it-with-a-terminal-but-when-using-a-ipython-kernel-data-is-not-there/8107/2 "2021-03-01T15:07:24Z")

</div>

Can you provide more information about your gateway setup? In general, gateway means the kernels are running in a totally separate environment from the notebook server, which would be why terminals and Python kernels see different things.
