[PVE-User] VE 1.9 - OpenVZ && mount --bind auto

Charles Bijon charles at bijon.fr
Wed Nov 2 17:32:38 CET 2011


Hi,

I am configuring a new cluster and i need to share a directory from 
master to the contener.
I found some documentation but it didn't work.

I only need to make automaticaly a mount with something like that :

cat /etc/vz/conf/101.mount

#!/bin/bash
source /etc/vz/vz.conf
source ${VE_CONFFILE}
mount -n --bind /directory /vz/root/101/directory

This file is executable.

The variable "VE_CONFFILE" is missing in the vz.conf i think. When i try 
manual, nothing works too.

Do you have some informations to make this workable ?

PS : sorry for my english

Regards,

Charles Bijon




More information about the pve-user mailing list