OpenVZ Forum


Home » General » Support » *SOLVED* Mounting directory within a VE
Re: Mounting directory within a VE [message #10793 is a reply to message #10791] Fri, 02 March 2007 07:25 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

after start of VE do:
# mount -n -o bind /pub /vz/root/101/pub
where 101 is an ID of VE in question.

If you want to do it automatically on VE start create a /etc/vz/conf/101.mount file with the following content:
#! /bin/sh
mount -n -o bind /mnt /vz/root/101/pub
and add executable bit to this file.

HTH,
Vasily.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Success: Nagios and Hyperic on OpenVZ VEs
Next Topic: *SOLVED* Typical Mem/HD/CPU settings
Goto Forum:
  


Current Time: Mon Aug 25 15:26:53 GMT 2025

Total time taken to generate the page: 0.10403 seconds