On 11/29/06, <b class="gmail_sendername">Kir Kolyshkin</b> <<a href="mailto:kir@openvz.org">kir@openvz.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Vasily Tarasov wrote:<br>> Alastair Neil wrote:<br>><br>>> I would like to have some directories mounted within a VPS from the<br>>> host node. I can do this using a bind mount from the host, however I<br>
>> have not found any configurable way to achieve this automatically.<br>>> Ideally these mounts should be mounted before the VPS starts any<br>>> services. Anyone have any suggestions?<br>>><br>> You can create script /etc/vz/conf/101.mount
<br>> This script will be executed before VE start, so you can add mounts there.<br>><br>> Typical content of 101.mount:<br>> #! /bin/sh<br>> mount -n -o bind,ro /shared/directory /vz/root/101/shared<br>>
<br>More details are in OpenVZ User's Guide, around page 100 or so.<br>The guide itself is at <a href="http://download.openvz.org/doc/">http://download.openvz.org/doc/</a> (in case you<br>missed it).<br><br>Regards,<br> Kir.
<br></blockquote></div><br>Ahh I see it it is on page 88 in the pdf I have. Thanks for the pointer.<br><br>