Subject: Re: [vserver] Sharing files across vservers
From: Guenther Fuchs <vserver@muh.at>
Date: Mon, 30 Jul 2007 13:59:37 +0200

 Mon, 30 Jul 2007 13:59:37 +0200
Hi there,

on Monday, July 30, 2007 at 1:54:27 PM there was posted:

CL> * Using bind mounts on the host system to make the files available to
CL> the second and third vserver. This did not work as expected, as the
CL> first vserver set it's own xid on new files which makes them
CL> inaccessible in the other servers

Use the /etc/vservers/[vserver-name]/fstab with bind mount entries,
this works fine for me.

Example entry line:
/var/public/lib /usr/local/lib  auto    rbind           0 0

This mounts the "/var/public/lib" directory (off the host) into the
vserver local /usr/local/lib directory and shares it over all such
mounted guests on the same host.

-- 
regards 'n greez,

Guenther Fuchs
(aka "muh" and "powerfox")