Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170583

Problem with "mount --bind"

$
0
0
Good morning,
I'm writing because I have a problem that I can't fix following the istructions I found on this forum.

I installed a CT (debian7.0-x86_64) and I can find the file system:

root@proxmox:/var/lib/vz/private/102# ls
bin
boot
dev
...

I mounted a NAS file system in /tmp/nas, and it works

root@proxmox:/var/lib/vz/private/102# ls /tmp/nas
file1
file2

I tried to mount that directory inside le CT:

root@proxmox:/var/lib/vz/private/102# mount --bind /tmp/nas/ /var/lib/vz/private/102/nas

root@proxmox:/var/lib/vz/private/102# ls var/lib/vz/private/102/nas
file1
file2

When I try to look inside /nas from the OS installed in CT I can find any files inside the folder:

amicobromo@julia:~$ ls /nas
[empty folder]

Where is the error?

Thank you very much!

Francesco

Viewing all articles
Browse latest Browse all 170583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>