OpenVZ Forum


Home » General » Support » share tmpfs volume between VEs
Re: share tmpfs volume between VEs [message #39775 is a reply to message #39748] Mon, 31 May 2010 17:03 Go to previous messageGo to previous message
consultorpc is currently offline  consultorpc
Messages: 10
Registered: May 2006
Junior Member
I'm running these commands on HN:


mount -t tmpfs -o nodev,noexec,nosuid -osize=1024M tmpfs /test/
mount --bind /test/ /var/lib/vz/private/100/test/


Them, if i access VE and create a file at /test/, i won't be able to see it on HN.

Example:

# vzctl enter 100
entered into CT 100
[root@mta /]# cd /test/
[root@mta test]# touch test
[root@mta test]# ls -lh
total 0
-rw-r--r-- 1 root root 0 May 31 19:00 test
[root@mta test]# exit
logout

[root@vz test]# cd /test/
[root@vz test]# ls -lh
total 0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About Network Configuration
Next Topic: how to install yum on VPS
Goto Forum:
  


Current Time: Sun Jul 14 16:14:57 GMT 2024

Total time taken to generate the page: 0.02293 seconds